Forum Moderators: open

Message Too Old, No Replies

Getting scrolling marquee working

scrolling marquee

         

GueillaGrowers

3:17 pm on May 24, 2004 (gmt 0)

10+ Year Member



Any help with this script. I want to declare some variables to see them as changing objects in my webpage. These variables must change with the marquee option. Problem is that it doesn't recognise the variables.

--

<link href='incl/body.css' type='text/css' rel='stylesheet'>
<script ="JavaScript" type="JavaScript">
\

$sTekst[LoadInv] = "LoadInv"
$iFunctie[0] = "job1.jpg"
$iFunctie[1] = "job2.jpg"
$iFunctie[2] = "job3.jpg"

var iFunctie = 0
var arrFunctie=new Array($iFunctie[])

function loadDivs(){
FunctieScroll.innerHTML = arrFunctie[iFunctie]
iFunctie++
if (iFunctie > arrFunctie.length -1) iFunctie = 0
setTimeout("loadDivs()", 1000)
}

</SCRIPT>
<body bgcolor="7B92BD" leftmargin="0" topmargin="0" scroll="no" onload="loadDivs()">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="173" valign="top"><table width="173" height="110" cellspacing="0" cellpadding="2" align="left">
<tr style="height:20;">
<td>&nbsp;</td>
<td width="152" class="top"
onclick="MM_goToURL('parent.frames[\'left\']','left.php?action=wn');return document.MM_returnValue" onmouseover="this.className='MenuSelect'" onmouseout="this.className='top';">
<h1><font face="Times New Roman">WN</font></h1></td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="top" class="top"><div style="position:relative;top:-20;left:0;">Werknemers</div></td>
</tr>
<tr height="20">
<td>&nbsp;</td>
</tr>
</table></td>
<td><div align="center">
</div></td>
<td width="173">&nbsp;</td>
</tr>
</table>

</BODY>
</HTML>

<?php
if $sTekst(LoadInv);
echo "works";
?>
---

HELP!

MichaelBluejay

7:35 pm on May 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I would think long and hard about whether you really want a scrolling marquee on your site. Few things scream Unprofessional more than this. Users also find them more annoying than charming. I usually immediately click off any site that has one. And it's not just bias, it's that I can't concentrate on reading the actual content of the site when there's something whizzing around the screen.

Bigozzie

12:06 pm on May 27, 2004 (gmt 0)

10+ Year Member



i agree with the last poster, however why are you not just calling it up as <marquee scroll>33333</marquee>