Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-05-2005, 11:34 AM   PM User | #1
richmoijn
New Coder

 
Join Date: Mar 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
richmoijn is an unknown quantity at this point
Show & Hide script (+-)

Hi!

I'm not good at css and javascripting but maybe there is a downloadable script that does the same as on www.phpfreaks.com/forums where you can - or + to see the content in each "forum-box"

I guess the're using css hide and show command, how realiable is this in different browsers?

//Rickard
richmoijn is offline   Reply With Quote
Old 03-05-2005, 11:40 AM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,292
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
it looks similar to this script found here, u can modify it i guess to use +/- sign images instead http://www.dynamicdrive.com/dynamici...switchmenu.htm
_Aerospace_Eng_ is offline   Reply With Quote
Old 03-05-2005, 12:00 PM   PM User | #3
rmedek
Senior Coder

 
Join Date: Nov 2003
Location: Minneapolis, MN
Posts: 2,879
Thanks: 2
Thanked 65 Times in 56 Posts
rmedek is on a distinguished road
Quote:
Originally Posted by richmoijn
I guess the're using css hide and show command, how realiable is this in different browsers?
Just to clarify, CSS doesn't have "commands" per se; it does have "display: none" and "visibility: hidden" and a few other tricks, though. In other words, you can simulate client-side programming by applying different visual formatting to certain states (like hover), but if you want something like you describe you'll need javascript or something similar.
__________________
drums | web
rmedek is offline   Reply With Quote
Old 03-05-2005, 05:32 PM   PM User | #4
richmoijn
New Coder

 
Join Date: Mar 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
richmoijn is an unknown quantity at this point
Thank you for the "dynamic drive" link, it's pretty much what I want except that I want every "menu-item" to be displayed and the option to close if I don't want to see them... The script on DD only displays one at a time...

Yes, of course it's the same thing as on this site, I missed that +- signs, sorry

//Rickard
richmoijn is offline   Reply With Quote
Old 03-05-2005, 07:31 PM   PM User | #5
rmedek
Senior Coder

 
Join Date: Nov 2003
Location: Minneapolis, MN
Posts: 2,879
Thanks: 2
Thanked 65 Times in 56 Posts
rmedek is on a distinguished road
Try this:

http://www.gazingus.org/html/menuExpandable.html
__________________
drums | web
rmedek is offline   Reply With Quote
Old 03-05-2005, 08:32 PM   PM User | #6
richmoijn
New Coder

 
Join Date: Mar 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
richmoijn is an unknown quantity at this point
That menu isn't expanded as its "normal" value neither...

//Rickard
richmoijn is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 03:06 AM.


Advertisement
Log in to turn off these ads.