java script mouse overlay issue
I need to have a mouse overlay that changes a cell () from grey to blue. is this posible with out useing an image and just changing the cell background color?
The url is this:
http://www.hostultra.com/~Xweb/xwebnew65327/
I did it with images but it loads to slow so i want to do it with just java script. also i want it to work with netsacape/mozilla ect.
kb posted this at 02:17 — 15th February 2004.
He has: 1,380 posts
Joined: Feb 2002
I just went there, and there are no images at all.
Anyways, you can do this "rollover" with CSS...http://www.alistapart.com/articles/rollovers/
That should help.
amrod posted this at 03:14 — 15th February 2004.
They have: 26 posts
Joined: Jan 2004
sorry my web host went down... mabe it will be back up soon. ill check out that site:-)
Renegade posted this at 03:59 — 15th February 2004.
He has: 3,022 posts
Joined: Oct 2002
I created a piece of JavaScript that will do what I think you are talking about - it is generic so will work for (most) HTML elements.
kb posted this at 18:19 — 15th February 2004.
He has: 1,380 posts
Joined: Feb 2002
But why use javascript, when you can use simple css that doesn't have any load time at all?
Renegade posted this at 19:29 — 15th February 2004.
He has: 3,022 posts
Joined: Oct 2002
Yes, your right but on some browsers i.e. IE ( ) they don't support the :hover Psudo class on TDs or TRs so you have to use Javascript to get the same effect. For the best effect, use both Javascript and CSS.
kb posted this at 19:34 — 15th February 2004.
He has: 1,380 posts
Joined: Feb 2002
Alrighy then.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.