I would like to add a background image on my shop pages that "stretches." It is a nifty script so that no matter how you change the size of your window, the image is never cut off. The javascript code for this is shown at
http://www.oscmax.com/forums/oscmax-...fy-script.html

I found this site while researching how to add this script with php and Zen Cart. It is interesting that someone asked exactly the same question as to OScommerce some years ago. Unfortunately (at least for me) the answer given doesn't work.

I know that by putting jscript_[myfilename].js in my templateoverride/jscript directory it will automatically load the javascript portion of this that is within the <head> tag. My problem is with the portion that has to go in the body (i.e.) between <body> and </body>.

<SCRIPT LANGUAGE="JavaScript1.2">
<!--
makeIm();
//-->
</SCRIPT>


It is this that calls/invokes the Javascript and makes the thing work. I'm sure there is a syntax to do it, but I can't figure it out by trial and error. It doesn't work by trying it as an jscript/onload/on_load_[myname].js. I believe that if this can be made to work, then it should be easy (using an index or putting the image only inside one div) to keep the image from confusing anyone using the shopping cart.

It's a cosmetic thing, but any suggestions would be appreciated, and somebody else might want to try this effect.