Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link rollover highlight


skeedo

Recommended Posts

In your stylesheet.css edit the A:hover attribute to make your links have a highlighted background when you rollover them.

 

A:hover {

color: #FFFFFF;

background-color: #990000;

}

 

I think this definitely adds more style to osc, just another bell & whistle.

 

See it in action at the link below.

Link to comment
Share on other sites

Hey, i decided to open my mozilla browser ( a recent build) and see how it looked - does mozilla not handle the css very well ?? My site looks good, but the hover links to not light up at all like they do in IE6.

Link to comment
Share on other sites

  • 2 weeks later...

another option is to change the background color of a TD onMouseOver.

 

For example:

<td class="infoboxContents" onMouseOver="this.style.backgroundColor='#FFFF00'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="#CCCCFF">

At least that's how the TD mouseovers in this forum work. View source on the main index page for a closer look.

 

Also, I have just finished altering my categories.php to include highlighting. Working example here:

 

http://www.magshack.com

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...