Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
pictures as navbar buttons
Old 06-29-2006, 11:08 PM pictures as navbar buttons
Junior Talker

Posts: 1
Name: Aneal
Trades: 0
how do i make pictures as my navbar buttons? like here is my home page button:
sherwoodgames is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-30-2006, 02:02 AM Re: pictures as navbar buttons
Silent77's Avatar
Ultra Talker

Posts: 269
Name: Silent
Location: Ohio
Trades: 0
just make it a link.

HTML Code:
<a href="index.html"><img src="http://img439.imageshack.us/img439/3228/homepagebutton5yp.gif" border=0 width=94 height=27></a>
Hope This Helps
__________________
Firefox
rediscover the web

Please login or register to view this content. Registration is FREE
Down with internet explorer!
Silent77 is offline
Reply With Quote
View Public Profile Visit Silent77's homepage!
 
Old 06-30-2006, 10:39 AM Re: pictures as navbar buttons
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Or, you could do it with CSS using the images on the links or backgrounds on the <li> depending on whether or not you want a rollover effect.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-30-2006, 12:18 PM Re: pictures as navbar buttons
Average Talker

Posts: 16
Location: Seattle, WA
Trades: 0
Quote:
Originally Posted by LadynRed
Or, you could do it with CSS using the images on the links or backgrounds on the <li> depending on whether or not you want a rollover effect.
I've never seen anyone do an image rollover effect in CSS, I always did it in Javascript and assumed that was the best/only way. Now that I see this, I'm like... durrr!
vtechno42 is offline
Reply With Quote
View Public Profile Visit vtechno42's homepage!
 
Old 06-30-2006, 01:43 PM Re: pictures as navbar buttons
Moldarin's Avatar
Extreme Talker

Latest Blog Post:
Keyword Density and Title Tags
Posts: 201
Trades: 0
Remeber to add a alternative to the image. Like this:
HTML Code:
<a href="home.html"><img src="home.gif" alt="Home" /></a>
__________________
I do not share ad revenue.
Moldarin is offline
Reply With Quote
View Public Profile
 
Old 06-30-2006, 04:32 PM Re: pictures as navbar buttons
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It's easy to do image rollovers with CSS, I do it all the time: http://www.answers4gis.com
Zero javascript . It's a very simple example. A more complex example is this one: http://www.dallasmedicalspecialists.com
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 06-30-2006 at 04:34 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-30-2006, 04:49 PM Re: pictures as navbar buttons
Average Talker

Posts: 16
Location: Seattle, WA
Trades: 0
Quote:
Originally Posted by LadynRed
It's easy to do image rollovers with CSS, I do it all the time: http://www.answers4gis.com
Zero javascript . It's a very simple example. A more complex example is this one: http://www.dallasmedicalspecialists.com
whoa, that's quite slick... and since it's CSS, no worries about preloading the images. Thanks for sharing, LadynRed!
vtechno42 is offline
Reply With Quote
View Public Profile Visit vtechno42's homepage!
 
Old 07-01-2006, 01:34 PM Re: pictures as navbar buttons
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Thanks, and you're welcome
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-01-2006, 02:45 PM Re: pictures as navbar buttons
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
I use a rather easy method for image rollover with minimal javascript needed.

Code:
<a href="#">
  <img src="image.gif" border="0" width="xx" height="xx" alt="" onmouseover="this.src='image_over.gif';" onmouseout="this.src='image.gif';" />
</a>
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 07-01-2006, 02:54 PM Re: pictures as navbar buttons
rlineker's Avatar
Extreme Talker

Posts: 153
Name: Ryan
Location: UK
Trades: 0
if i were you i wouldnt use that button. it doesnt look very good
__________________
Directory R Us

Please login or register to view this content. Registration is FREE
rlineker is offline
Reply With Quote
View Public Profile Visit rlineker's homepage!
 
Old 07-02-2006, 12:52 PM Re: pictures as navbar buttons
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The point is, javascript isn't necessary
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to pictures as navbar buttons
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.55495 seconds with 12 queries