Collapsible Nav - Horizontal, no clue |
Collapsible Nav - Horizontal, no clue |
![]()
Post
#1
|
|
![]() Sucker for Caramel ![]() ![]() ![]() ![]() Group: Member Posts: 162 Joined: Sep 2004 Member No: 47,875 ![]() |
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: |
|
|
![]() |
![]()
Post
#2
|
|
![]() We are the cure. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 4,936 Joined: Jan 2004 Member No: 1,456 ![]() |
The only thing I can think of is to increase the size of your div.
|
|
|
![]()
Post
#3
|
|
![]() Happy Person ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,729 Joined: Feb 2004 Member No: 4,674 ![]() |
hmmm use a visibility toggler and then absolute position 2 divs to give and illusion of a menu i guess
|
|
|
![]()
Post
#4
|
|
![]() Sucker for Caramel ![]() ![]() ![]() ![]() Group: Member Posts: 162 Joined: Sep 2004 Member No: 47,875 ![]() |
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. |
|
|
![]()
Post
#5
|
|
![]() Happy Person ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,729 Joined: Feb 2004 Member No: 4,674 ![]() |
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>
|
|
|
![]()
Post
#6
|
|
![]() Sucker for Caramel ![]() ![]() ![]() ![]() Group: Member Posts: 162 Joined: Sep 2004 Member No: 47,875 ![]() |
Oh, I get it! I gotta go, but I'm gonna try that!
|
|
|
![]()
Post
#7
|
|
![]() Happy Person ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,729 Joined: Feb 2004 Member No: 4,674 ![]() |
heh good luck don't get frustrated
|
|
|
![]()
Post
#8
|
|
![]() Sucker for Caramel ![]() ![]() ![]() ![]() Group: Member Posts: 162 Joined: Sep 2004 Member No: 47,875 ![]() |
It worked! It was really easy, too. I never knew that code existed. Heh. I like it a lot. :D
|
|
|
![]()
Post
#9
|
|
![]() mmm hmmm ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,591 Joined: Sep 2004 Member No: 47,325 ![]() |
|
|
|
![]() ![]() |