Log In · Register

 
Hover links?!?!?!?!?!, This is making me so frustrated -.-
emberfly
post Jul 13 2009, 03:41 AM
Post #1


kthxbai
******

Group: Official Designer
Posts: 2,832
Joined: Feb 2008
Member No: 621,203



I want links like the ones CB has. I have absolutely no idea what they're called. I think there used to be a script on here at some point in time, by I couldn't find it today... sad.gif

The links I'm talking about are the ones that say
"Layouts, Graphics, Scripts, Tutorials, Affiliates, Tracker, Members, Forums"

When you hover them, there is a drop down of even more links...

How do I do that? I did search Google, and I found some similar to that, but they only worked in Firefox sad.gif


Help would be appreciated biggrin.gif
 
 
Start new topic
Replies
fixtatik
post Jul 13 2009, 10:53 AM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



You mean like a purely CSS drop-down menu? This could work:
CODE
.navigation, .navigation * { margin:0; padding:0; list-style:none; }
.navigation { line-height:1em; }
.navigation ul { position:absolute; top:-999em; width:10em; }
.navigation li { float:left; position:relative; }
.navigation li:hover { visibility:inherit; }
.navigation li:hover ul { left:0; top:1em; z-index:99; }
.navigation li li { width:100%; }
.navigation a { display:block; position:relative; }

And the HTML:
CODE
<ul class="navigation">
  <li><a href="#">Link 1</a>
    <ul>
      <li><a href="#">Sub Link 1</a></li>
      <li><a href="#">Sub Link 2</a></li>
      <li><a href="#">Sub Link 3</a></li>
    </ul>
  </li>
  <li><a href="#">Link 2</a>
    <ul>
      <li><a href="#">Sub Link 1</a></li>
      <li><a href="#">Sub Link 2</a></li>
      <li><a href="#">Sub Link 3</a></li>
    </ul>
  </li>
</ul>
 

Posts in this topic


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