I have been doing fairly well with authoring a cybermall that will be
for the purpose of inviting successful exotic wood companies to each
have their own store in my mall to sell a wide variety of exotic
woods. I will include the URL to the home page that I am working on
---- but please
understand this is NOT at all any attempt to do so to promote
anything. Instead, it is far easier to understand my objectives in
making part of the page have a background slide show since it is all
very graphic:
http://www.exoticwoodmall.com/index2.php
Note the reddish wood pattern background behind the cream coloured
section in front that has a title of "Exotic Wood Mall". It occurred to me
that it might be possible to have not a usual slide show but one that
runs in the background instead. I searched around the Net and found an
appropriate Javascript. Using different wood scans, I made a separate
page just to prove they could run in circulating manner (ie. slideshow)
and was successful;
http://www.exoticwoodmall.com/index2.php
This simple page loads the images into memory and rotates the active
picture after each set time-out. It is started by this tag:
<body onload="runBGSlideShow()">
Ie. it takes a body tag to get it going. This may be a common way of
starting such scripts but it will not
work on the home page where I want it (see above). I would rather
have this background slide action
happening only in the background area that is red. It is defined by a
div statement. I tried attaching the onload statement to the div with
no success. That area, also, is part of an include file, so there is
no <body .... statement on which to hang the onload blah blah in
traditional manner.
I looked around on the Net to see more what "onload" will work with.
The closest I came to was perhaps some
comments on using "readystate" which I am totally unfamiliar with. It
is well beyond any knowledge I have had for using Javascript.
So... Is there any solution or solutions to making this work that any
of you know? If we can get it to work,it could make for some really
neat theme making eye candy for many websites, my Exotic Wood Mall
included :-) :-). It does not have to be Javascript even if something
else works better.
.... I can include code from the page if really needed but it would
be better to attack the solution in a
more general way of how to start the script outright.
.... for all those Canadians out there, a slightly belated Thanksgiving!
Much thanks for all efforts,
Bill Mudry