About Hoverbuttons
If I was to set up hoverbuttons like this page: http://pageresource.com/jscript/jhover.htm recommends, would it error if the image that is called in the line that says:
pic1off= new Image(100,25);
pic1off.src="shoes1.gif";
didn't actually exist? If it would error, is there a way that it wouldn't?
John Pollock posted this at 18:25 — 22nd November 1999.
He has: 628 posts
Joined: Mar 1999
You would get broken images, but probably not a script error. If you don't want the chance of an error, use an image that exists in its place.
------------------
John Pollock
http://www.pageresource.com
http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
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.