Hello everybody,
Since a few years I'm fooling around a little bit trýing to make a website
for my husbands' oldmobils. One of the idea's is to let a car 'drive'
through the screen, make it 'drive back' through the screen en stand still
somewhere in the middle or at the right side (doesn't matter). I've been
trying to establish this with just the marquee-element, but this didn't
work, both images came through the screen at the same time , which wasn't
the main idea. Now I've got a javascript from someone, which shóuld do right
trick, but I'm affraid I'm missing something somewhere... the right place in
the document or a mark or something like that. Although the images dó move
at the same spot, they still move at the same tíme, same place... what I
want is the images to move one after another, so first the image of the car
driving from the right to the left and thén at the same alinea the car
'driving back' through the screen. What I've got is this script:
<div id="MARQ" style="position:absolute; left:0px; top:15px; border:1px
none #000000">
<MARQUEE id=m1 direction=right LOOP=1>
to the right
</MARQUEE>
</div>
<div id="MARQ" style="position:absolute; left:0px; top:15px; border:1px
none #000000">
<MARQUEE id=m2 direction=left LOOP=1>
to the left
</MARQUEE>
</div>
<SCRIPT LANGUAGE="JavaScript">
m2.stop();
setInterval('m2.start()',15000);
</SCRIPT>
The last part <scriptlanguage etc> I've put in the head of my document... is
that right? Can somebody tell me what's going wrong here?
Greetings, Rebecca.