Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Need help with Expandable lists
Old 08-25-2009, 04:09 PM Need help with Expandable lists
Junior Talker

Posts: 2
Trades: 0
I am looking to create a page similar to what is in the attached image.

So you would have + or -. clicking on the + will unfold whilst clicking on - will contract the appropriate underlying element.

Also clicking on - all or + all will do it for all sections .

Does anybody know how I would do this ?

thanks
Attached Images
File Type: gif Trainingsite.gif (14.4 KB, 7 views)
mooret is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-25-2009, 08:57 PM Re: Need help with Expandable lists
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You'll need some javascript for that. Check out jQuery plugins, I know there are several for that type of menu.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-26-2009, 02:24 PM Re: Need help with Expandable lists
marcopanichi's Avatar
Average Talker

Posts: 19
Name: marco panichi
Location: perugia - italy
Trades: 0
the instrument you need is a javascript function called TOGGLE(id). you can pass the id of a div and the toggle function will show or hide that div.

in this (good) article, you can find a good version of the toggle function:
http://www.dustindiaz.com/top-ten-javascript/

here you have a simple example:
http://snippets.dzone.com/posts/show/1721

and here, 7 ways to build the toggle function:
http://www.dustindiaz.com/seven-togglers/
marcopanichi is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need help with Expandable lists
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22561 seconds with 13 queries