lukezweb
11-22-2003, 03:59 PM
THis is the code im usin i would like the links, for example <A>Computing</A>
to chnage the variable Affiliates to something different a html string how can i do that with this?
<SCRIPT>
var Affiliates = "Choose a category..."
</SCRIPT>
<TABLE align=center cellspacing=2 class=bordercolor width=700 valign=top bgcolor=#000000>
<TR><TD class="titlebg" colspan="4"><DIV ALIGN="CENTER"><FONT SIZE="+1">Affiliates</DIV></FONT></TD></TR>
<TR>
<TD class="windowbg2">
<TABLE WIDTH="100%" cellspacing="3">
<TR><TD class="catbg" colspan="8">By Category...</TD></TR>
<TR><TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Computing</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>General</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Sports</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Music</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Entertainment</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>News</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Communities</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Other</A></DIV></TD>
</TR>
<TR>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A onmousedown="document.getElementsByTagName('marquee')[0].start();document.getElementsByTagName('marquee')[0].direction='left';" onmouseup="document.getElementsByTagName('marquee')[0].stop()"><<<</A></DIV></TD>
<TD colspan="6" onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><marquee direction="left" scrolldelay="1" scrollamount="10"><SCRIPT>document.write(""+Affiliates+"");</SCRIPT></marquee></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A onmousedown="document.getElementsByTagName('marquee')[0].start();document.getElementsByTagName('marquee')[0].direction='right';" onmouseup="document.getElementsByTagName('marquee')[0].stop()">>>></A></DIV></TD></TR>
</TABLE>
</TD>
</TR>
</TABLE>
<script>setTimeout("document.getElementsByTagName('marquee')[0].stop()", 3000);</script>
to chnage the variable Affiliates to something different a html string how can i do that with this?
<SCRIPT>
var Affiliates = "Choose a category..."
</SCRIPT>
<TABLE align=center cellspacing=2 class=bordercolor width=700 valign=top bgcolor=#000000>
<TR><TD class="titlebg" colspan="4"><DIV ALIGN="CENTER"><FONT SIZE="+1">Affiliates</DIV></FONT></TD></TR>
<TR>
<TD class="windowbg2">
<TABLE WIDTH="100%" cellspacing="3">
<TR><TD class="catbg" colspan="8">By Category...</TD></TR>
<TR><TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Computing</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>General</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Sports</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Music</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Entertainment</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>News</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Communities</A></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A>Other</A></DIV></TD>
</TR>
<TR>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A onmousedown="document.getElementsByTagName('marquee')[0].start();document.getElementsByTagName('marquee')[0].direction='left';" onmouseup="document.getElementsByTagName('marquee')[0].stop()"><<<</A></DIV></TD>
<TD colspan="6" onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><marquee direction="left" scrolldelay="1" scrollamount="10"><SCRIPT>document.write(""+Affiliates+"");</SCRIPT></marquee></DIV></TD>
<TD onMouseOver="this.style.backgroundColor = '272727'; style.cursor='hand'" onMouseOut="this.style.backgroundColor ='';"><DIV ALIGN="CENTER"><A onmousedown="document.getElementsByTagName('marquee')[0].start();document.getElementsByTagName('marquee')[0].direction='right';" onmouseup="document.getElementsByTagName('marquee')[0].stop()">>>></A></DIV></TD></TR>
</TABLE>
</TD>
</TR>
</TABLE>
<script>setTimeout("document.getElementsByTagName('marquee')[0].stop()", 3000);</script>