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 8th, 2013, 09:17 AM
jenisan jenisan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 9 jenisan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 36 m 12 sec
Reputation Power: 0
Sub menu modification assistance

I think I might have found the answer, I am going to play around with some of the stuff from this site and see...there are some suggestions as to how to get this effect, modifying my code modifying my code to make it work is another. Anyway, think it will work.
http://stackoverflow.com/questions/11774554/auto-expand-jquery-nested-menu-depending-on-url

Hello,
I have a menu on our web pages at www.nctt.net that functions like so: when you mouse over the main category link, sub categories appear under them horizontally. It is a simple sub menu configuration however if you click on either the main category or one of the links under that category when you are brought to the page the secondary menu doesn't stay within that category, it goes back to the 'Homepage' categories. I would like all pages to show the sub menu links they are connected with...I hope I am explaining this so people understand...
I do not know how to make this happen, the javascript associated with the menu is,
Code:
<link href="styleContent.css" rel="stylesheet" type="text/css"> 
<script type="text/javascript"> 
function showsubmenu(id)
{ 
submenu = document.getElementById('s'+id); 
for(i=1;i<=6;i++)
{ 
if(i==id){ submenu.style.display="block"; 
} 
else { document.getElementById('s'+i).style.display="none";
} 
} 
} </script>

Can anyone assist?
Thank you very much!
Jennifer

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Sub menu modification assistance

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