jamesf4218
12-12-2002, 06:16 AM
Hello,
Is it possible to have live text on a page and when you roll over it, a graphic changes?
Regards,
Is it possible to have live text on a page and when you roll over it, a graphic changes?
Regards,
|
Click to See Complete Forum and Search --> : Can you roll over text and a graphic changes? jamesf4218 12-12-2002, 06:16 AM Hello, Is it possible to have live text on a page and when you roll over it, a graphic changes? Regards, Charles 12-12-2002, 06:26 AM According to the 4.01 Spec ONMOUSEOVER is valid for "[a]ll elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE [and] TITLE". (http://www.w3.org/TR/html4/index/attributes.html) I don't know about browser support, but as it certainly won't work for the 1 or so in 10 of us that do not use JavaScript give it a try with the SPAN element. But as with all JavaScript, make sure your page makes sense without it. jamesf4218 12-12-2002, 08:24 AM ok thanks Paul O'B 12-12-2002, 09:29 AM Hi, You might be interested to see an example of image swapping using CSS (no javascript). http://www.meyerweb.com/eric/css/edge/popups/demo2.html It won't work in all browsers, but it's worth a look. Paul webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |