VSD and jQuery menus - Post ID 231899

User 2132172 Photo


Registered User
23 posts

Erik,

I found the problem. My fault totally, hitting the keys too fast!

I accidentally put a space in the code here:

< /style>

and i removed it to make it:

</style>

And it works fine. I was hitting the keys too fast. Hey, at least I learned something!

Thanks,
Ryan
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

Great your having awesome success.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 283347 Photo


Registered User
388 posts

I know this is an old thread, but .... Eric...I need your help. (I tried to find an answer before posting but could not) On the accordion text is there a way to make it work with more than 3 headers? (I need 6)...I got it to almost work on a fourth, but it would not close (meaning #4 stayed open all the time)...and 5 and six where totally out of whack.

Your help is appreciated. And thanks for all you do to help so many on these boards!
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

Can you share a link to the page?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 283347 Photo


Registered User
388 posts

wow...you're fast!!:) well...nothing on the page now since I was in the process of starting over... I could get the 3 that work back up, but I dont suppose that would help?
User 283347 Photo


Registered User
388 posts

Hey Eric...new request for same thing...this is for a site for my wife...she would like 2 accordions with 3 headers each...rather than 6 is that possible? How know I have to change something in the jquery file or css, right? Otherwise it reads the same one?

Sorry to be high maintenance.
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

For each additional header add another block of code just above the last </div> tag. Then number as I did here to keep track of it.
<div class="header" id="four-header">Header Four</div>
<div class="content" id="four-content">
<div class="text">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris mollis cursus dolor. Vivamus sapien nunc, vestibulum eget, facilisis vel, luctus at, nunc. Nam ullamcorper volutpat elit. Vivamus sit amet velit eu sapien dignissim mattis.
</div>
</div>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 283347 Photo


Registered User
388 posts

YES!! Thanks...seems I was putting extra </divs>

But now they want me to put 2 sets of 3...they seem to cause conflict as when I put one on it works, but they do not seem to work together. I'm guessing I need to "name" them differently in the file I upload to the server, but I'm not sure what else I need to do. Any thoughts on that?

Thanks sssoooooo much for the help!
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

I redid the whole thing to make it easier to customize.;)
http://progrower.coffeecup.com/accordian.html
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.