Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

93 users online



TD onMouseOver question. :o

TD onMouseOver question. :o

Currently viewing this thread: 1 (0 members and 1 guests)


weylun

weylun

Status: Offline!

TD onMouseOver question. :o

Hey guys,
This is one of the codes in my website:

<td width="139" align="center" onMouseOver="this.bgColor='#333333'" onMouseOut="this.bgColor='#000000'"

I tried to make a Navigation Bar with CSS Textlinks and Color Change on the background when the mouse moves over the TD cell. Well, everything works fine except that I want more. Tongue

I've been to sites that when my mouse moves over the TD cell (which also includes the Textlinks), I can click on BOTH the Textlink and the Background. How can I make this happen? So far, my user has to mouse their mouses over the Textlink in order to click them but I want it that whenever their mouses move over the TD cell which contains the Textlink, they can click on both.

Is it something to do with CSS Styles? Or I can simply put something like onMouseClick="www.links.com" ?? I just made it up...oh well. lol

Any help will be appreciated. Thanks.

Jimmy K.

___________________

http://www.imahosting.com/sigs/weylunsig.jpg

fredmv

fredmv

Status: Offline!

Firstly, site navigation does not belong with in a table as it is not tabulated data. Site navigation is a list of links. Secondly, the effect you're looking for is acheieved via purely CSS by making links display as block-level elements. No JavaScript required. Check Taming Lists at A List Apart for more details.

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

weylun

weylun

Status: Offline!

Hey thanks. I think I got it now.

It's more simple but it works. Smile

Jimmy K.

___________________

http://www.imahosting.com/sigs/weylunsig.jpg

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0072 seconds.