0

Hello there!
im having problem on adding dropdown menu (like the nav in this site) in a dynamic site(templated)
which i cannot access the html (like ul, li or adding class)
and i was thinking is it possible to create a javascript dropdown menu
for this? which add drodown menu by getting just the text like "home" as base on getting like an ID
really hard to explain :)

Edited by Julia25: n/a

3
Contributors
6
Replies
7
Views
6 Years
Discussion Span
Last Post by Julia25
0

Yes, that should be possible (but if you can add javascript, why can't you add CSS?). But what did you try, what is the html you want to make a dropdown menu of, et cetera? We're not going to write the whole thing for you. There's a lot to find about it on the web, too.

0

Thanks a lot twiss! i cant add css class to the nav because the navs was done dynamically, but i can put the code in a certain "add to head" part of their template it will dynamically assign

0

heres the screenshot where to add the css or javascript
http://imageshack.us/photo/my-images/9/fffffco.jpg/

the active css right now is this

/* NAVIGATION STYLING */
.navigation {width:100%; margin:0; padding:0;}
.navtabs {font-size: 10px; padding: 0; margin:0; height: 40px;}
.activetab {background:url(http:/navactive.gif) top center no-repeat; color:#3f1e51; font-size:10px; height:40px; padding: 0 5px; line-height:25px; text-align:center;}
.inactivetab {background:url(/nav.gif) top center no-repeat;font-size:10px; height:40px; padding: 0 5px; line-height:25px; text-align:center;}
.hovertab {background:url(/navhover.gif) top center no-repeat;font-size:10px; height:40px; padding: 0 5px; line-height:27px; text-align:center;}
a.navlink {text-decoration:none; color:#7a508e; font-weight:bold;}
a.navlink:hover {text-decoration:none; color:#000;}
tabspacer {width:1px; background: #fff;}
.breadcrumb {font-size:11px; padding:10px; color:#333;}

heres the look it generates
http://imageshack.us/photo/my-images/683/hhhhhhcq.jpg/

like i mention
i wish to add dropdown on accessories nav but i cant access the html code to add class

Edited by pyTony: fixed formatting

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.