Log In · Register

 
 
Closed TopicStart new topic
Fancy Navigation, I cannot, for the love of God, figure out how to make nav like this.
Amanda-x
post Oct 22 2008, 06:53 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Aug 2008
Member No: 681,059



Hello! I have been battling my head going in circles trying to figure out how to make a navigation bar like this one:

http://www.createblog.com/layouts/code.php?id=15259

Who can help me out? :)


Thanks!

Amanda
 
manny-the-dino
post Oct 22 2008, 06:54 PM
Post #2


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



The navigation bar is simply text. huh.gif

Moved to Myspace Support
 
Amanda-x
post Oct 22 2008, 06:58 PM
Post #3


Newbie
*

Group: Member
Posts: 2
Joined: Aug 2008
Member No: 681,059



Well, not COMPLETELY only text. Haha. If you hover over it, the bars show up and stuff.

...I don't mean to sound stupid. Hahahaha.
 
manny-the-dino
post Oct 22 2008, 07:04 PM
Post #4


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Ohhhhhhh. I didn't hover over them lol.

They're probably rollovers. There are some tuts here:
http://www.createblog.com/tutorials/index.php?tag=rollovers

I'm not so sure about it so sorry if I'm wrong. pinch.gif
 
Smarmosaur
post Oct 22 2008, 07:51 PM
Post #5


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



as Nat(hope you don't mind me calling you that. please PM a bitchy message if you do mind. wink.gif) said, it's rollovers. you can either use images (which might be a little difficult if you're a beginner), or you can do it the normal way with CSS.

all you have to do is assign your links to a class (i'll use nav as an example), and go crazy with the CSS. here's the basics:
CODE
<a href="linkage" class="nav">Text</a>

<style type="text/css">
a.nav:link{
font-family:whatever;
font-size:number;
text-align:center;
color:000000;
text-decoration:none;}
</style>


that's your basic link and CSS. to add the awesome rollovers, just add in the hover and set a background color and left border, like this:
CODE
<style type="text/css">
a.nav:hover{
color:whatever;
background-color:whatever;
border-left-width:#px;
border-left-color:whatever;
border-left-style:solid;}
</style>
 
manny-the-dino
post Oct 22 2008, 08:02 PM
Post #6


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



^ laugh.gif No, it's totally fine if you call me Nat.

Thanks for helping out, Becka. flowers.gif
 
Mickey
post Oct 23 2008, 12:42 PM
Post #7


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



That kind of rollover requires a bit of experimentation, because you have to play around with padding and border size/color. Try this for the hover code:

CODE
<style type="text/css">
a.nav:hover{
color:000000;
background-color:999999;
border-left-width:12px;
border-left-color:CC0000;
border-left-style:solid;
padding-left:10px;
padding-right:10px;
padding-top:2px;
padding-bottom:2px;}
</style>

I also tried a few colors, so see if that works out for you.
 

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