Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
Hover a Rollover Navbar over an Image?
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-17-2011, 08:31 PM
Jut0z's Avatar
Forum Addict
 
Join Date: Jan 2010
Location: Anchorage, AK /// Ocala, FL
Posts: 356
Send a message via AIM to Jut0z Send a message via MSN to Jut0z Send a message via Yahoo to Jut0z
Default Hover a Rollover Navbar over an Image?

How would I hover a navbar, preferably rollover Over an image. I'll show the picture of the website atm. It's a final project for my web design class and i want to make it really pop. Im going for an original navbar and was wondering if it was possible to Put a rollover navbar over the image of the navbar I created in photoshop.




Hehe... I suppose the horrible paint job can explain what Im doing. I can upload the files if need be.
__________________



MSN: [email protected]
Click my Signature for my Vouches and Guides.


Reply With Quote
  #2  
Old 05-17-2011, 09:01 PM
Member
BANNED
 
Join Date: Dec 2010
Posts: 27
Default Re: Hover a Rollover Navbar over an Image?

Can you please upload it or can you give out your code? I'm very confused. I know how to do rollovers in both JS and CSS, but you need to give more information
Reply With Quote
  #3  
Old 05-17-2011, 09:06 PM
Winston's Avatar
Member
 
Join Date: Mar 2011
Posts: 59
Default Re: Hover a Rollover Navbar over an Image?

Add this to your CSS properties.

Code:
#menu
{
	Background-Image: Url('YourHeaderImageLocation');
	Background-Color: Transparent;
	Border: 0px;
	Width: [Image Width]px;
	Height: [Image Height]px;
	Margin: 0px Auto;
	Padding: 0px;
}

#menuformat
{
	Margin: 0px;
	Padding: 3px 0px 15px 15px;
	List-Style: None;
}

#menu ul
{
	Margin: 0px;
	Padding: 0px:
}

#menu li
{
	Float: Left;
	Margin: 0px:
	Padding: 0px;
}
Then in your index (Or where ever you keep your header code)

Add this

<div id="menu">
<ul id="menuformat">
<li><a href="http://example.com/">example</a></li> <!-- Sample normal link-->
<li><a href="http://images.com/"><img src="http://yoursite.com/image.png" width="300" height="40"></a></li> <!-- Sample Image link -->
</ul>
</div>

This will create links / images in your nav bar. You can add a hover affect to the image links by making a div for each link and assigning an a / a:hover property.
For example, a sample image link's CSS.

Code:
#link
{
   background-image: url('http://imagelocation/a.png');
}

#link a
{
   background-image: url('http://imagelocation/a.png'); // same location as before.
}

#link a:hover
{
   background-image: url('http://imagelocation/b.png'); // Your "Glow / Rollover" image.
}
__________________
4 Good Trades
2 failed scam attempts
0 Bad trades

Quote:
Originally Posted by dangelo View Post
A weird vouch for Winston. He sold me the account for $25. I went first. He then realised someone had changed the account password and refunded me straight away. This in my eyes proves hes LEGIT. Vouch.

Last edited by Winston : 06-10-2011 at 01:05 AM.
Reply With Quote
  #4  
Old 05-17-2011, 10:16 PM
Jut0z's Avatar
Forum Addict
 
Join Date: Jan 2010
Location: Anchorage, AK /// Ocala, FL
Posts: 356
Send a message via AIM to Jut0z Send a message via MSN to Jut0z Send a message via Yahoo to Jut0z
Default Re: Hover a Rollover Navbar over an Image?

http://www.mediafire.com/?csx5j3fhqifazpy.

I'm trying to get a Navbar, On top of the white part. I'm aware of how to make one Its just the positioning I need.
__________________



MSN: [email protected]
Click my Signature for my Vouches and Guides.


Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 09:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1