| | #1 |
| Active Warrior War Room Member Join Date: 2011 Location: Toronto Area, Canada
Posts: 77
Thanks: 2
Thanked 2 Times in 2 Posts
|
I have a bunch of images in the body each in it's own row in a table. Right now, I have a main title image, and a content image for each feature. I want it so only the title images show when page is loaded, and when you click the title image, the content image displays under it, and when you click it again, it disappears. Can anybody help me out? The link is here: My Company Website |
| |
| | #2 |
| Advanced Warrior War Room Member Join Date: 2006 Location: USA
Posts: 1,907
Thanks: 236
Thanked 1,377 Times in 676 Posts
|
So you want to expand and contract specific sections using Javascript? If so, check this out... Dynamic Drive DHTML Scripts- Animated Collapsible DIV v2.4 Or if you prefer jQuery... http://api.jquery.com/slideToggle/ Of course, having all of your content displayed as images (instead of real text) is about the worst thing you could do from an SEO standpoint, but that's a whole 'nother topic. |
| | |
| |
| The Following User Says Thank You to Brandon Tanner For This Useful Post: |
| | #3 |
| Active Warrior War Room Member Join Date: 2011 Location: Toronto Area, Canada
Posts: 77
Thanks: 2
Thanked 2 Times in 2 Posts
|
Thanks a lot! got it all working
|
| |
|
| Bookmarks |
| Tags |
| javascript or jquery, onclick |
| |