NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Help with Collapsing Div - CSS/Javascript

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
4 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 05-24-2006, 04:19 AM THREAD STARTER               #1 (permalink)
NamePros Regular
 
SB_GEMINI's Avatar
Join Date: Mar 2005
Location: Newport, UK
Posts: 930
SB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to behold
 



Help with Collapsing Div - CSS/Javascript


Im trying to make and expanding/collapsing DIV, i have got it working, the only problem is i cant work out how to have the divs collapesd by default on page load.

The author of the site i mention below trys to explain it but i dont think hes gone into detail enough, as other users are confused but the author hasnt seemed to answer the questions being posted

Would be great if any one can help, thxs

Site in question here:
http://www.dustindiaz.com/dhtml-expa...apse-div-menu/
SB_GEMINI is offline  
Old 05-24-2006, 05:27 AM   #2 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,792
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
Give all the DIV's a CSS class which has display: none;

Then when they click it or whatever to expand it, change it to display: block;
Dan is offline  
Old 05-24-2006, 06:44 AM THREAD STARTER               #3 (permalink)
NamePros Regular
 
SB_GEMINI's Avatar
Join Date: Mar 2005
Location: Newport, UK
Posts: 930
SB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to beholdSB_GEMINI is a splendid one to behold
 



works briliantly, thxs alot
SB_GEMINI is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:13 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger