JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 24th, 2001, 02:21 PM
explore explore is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: TX
Posts: 38 explore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Send a message via AIM to explore
Question

Situation:
-I have created an dhtml page that other than the menu the contents are hidden untill you click a menu item.
-The menu is like that on www.microsoft.com.

My delima:
-I want the menu item's contents to do the following when clicked
-display the hidden contents within the specificed div location within the html document.


Any ideas on this or a reference you can point me to?

Thanks, Explore

Reply With Quote
  #2  
Old March 27th, 2001, 04:56 PM
prkarpi prkarpi is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 3 prkarpi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking i hope this helps

URL

Reply With Quote
  #3  
Old March 30th, 2001, 05:13 PM
sbozicevic sbozicevic is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 6 sbozicevic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to sbozicevic
Just have a function that is called by the buttons that accepts a parameter (div ID) and let the function control the rest.

ie;

<a href="javascript:void(0)" onClick="showDiv('aboutUs')">


the script would look something like:

function showDiv(divID){
eval(theDiv).visibility = "visible";
}

you gotta do the other logic that will hide the other divs, and make it work for netscape and so on, but thats how you would go about that.

Reply With Quote
  #4  
Old April 2nd, 2001, 10:14 AM
explore explore is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: TX
Posts: 38 explore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Send a message via AIM to explore
Smile

Thanks all! I got it

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Dhtml Menu / Div Id Location

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap