Help - Search - Members - Calendar
Full Version: Collapsible Nav - Horizontal
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
TheKnell
Okay, I'm using the collapsible module code for my navigation, but I want it to be displayed horizontally instead of vertically. I'm not good with javascript at all, so could someone help? :)

Xanga: http://www.xanga.com/home.aspx?user=TinksieBelle

Code:
waccoon
The only thing I can think of is to increase the size of your div.
largosama
hmmm use a visibility toggler and then absolute position 2 divs to give and illusion of a menu i guess
TheKnell
Hrrrmm...I tried increasing the size of the submenu, but it just moved the whole thing to the left. What do you the size of the div? I'm not seeing how that would help. It's not that the submenu is too wider or anything. I need to change the script, but I have no clue how to javascript works. Lol.

hmmm use a visibility toggler and then absolute position 2 divs to give and illusion of a menu i guess

^^??? Very lost on that. Sorry.
largosama
well you have your script that goes in website stats:



Then you position a div
CODE
<div style="position:static;margin-left:###px; margin-top:###px; width:###px; height:###px; background:#fff;"><a href="#" onClick="toggle('Navigation')">Navigation>></a></div>

which will have the link to enable the second div, which will be invisible and next to the first, meaning the margin-left number will be greater

CODE
<div id="Navigation" style="position:static;margin-left:###px; margin-top:###px; width:###px; height:###px; background:#fff; visibility:hidden;">NAVIGATION LINKS</div>
TheKnell
Oh, I get it! I gotta go, but I'm gonna try that!
largosama
heh good luck don't get frustrated
TheKnell
It worked! It was really easy, too. I never knew that code existed. Heh. I like it a lot. :D
souldreamers
QUOTE(TheKnell @ Mar 10 2005, 1:42 PM)
It worked! It was really easy, too. I never knew that code existed. Heh. I like it a lot. :D
*


- Topic Closed -
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.