Does any one have the javascript code for formatting an Image to the size of the browser when resized? I found one code on a website, but it had a huge advertisement stuck in the javascript that I couldn't figure how to remove. I just want my image graphic on my index page to fit the browser when resized.

Hope someone can help!

Thanks so much in advance.

-distortureddoll

boxer_1

08-03-2002, 02:44 AM

Hi, here's a script you may be interested in having a look at:

http://www.dhtmlshock.com/image-effects/resizeimage/default.asp

Is that what you were looking for?

distortureddoll

08-03-2002, 04:54 AM

Well, that would be perfect...but the image that i want to fit in the browser is a sliced image in tables.. so I can't add <img src="image.gif"> in the code line. Any suggestions?