Log In · Register

 
Collapsible Nav - Horizontal, no clue
TheKnell
post Mar 9 2005, 06:45 PM
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:
 
 
Start new topic
Replies
largosama
post Mar 9 2005, 07:19 PM
Post #2


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>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: