Fod
11-15-2003, 11:44 AM
Ok, this guy over at Dev Shed is having a bit of a problem with this scroller on his page.
I think i have a way to fix it. But i don't know Javascript all-to-well. but i've heard with JavaScript you can display diffrent contect depending on the brower you are viewing the page with.
So what i would like some one to do is make him a script an despalys :
<DIV class=content>
<H1>Welcome!</H1>
<P>
<table width="100%" cellpadding="0" cellspacing="0"><tr><td align="center">
<SCRIPT src="scroller.js" type=text/javascript></SCRIPT>
</td></tr></table>
</P></DIV>
if viewed with NetScape and
<DIV class=content>
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td colspan="2">
<H1>Welcome!</H1>
</td></tr>
<tr><td width="343"></td><td align="center">
<SCRIPT src="scroller.js" type=text/javascript></SCRIPT>
</td></tr></table>
</DIV>
If viewed with Internet Explorer.
I think i have a way to fix it. But i don't know Javascript all-to-well. but i've heard with JavaScript you can display diffrent contect depending on the brower you are viewing the page with.
So what i would like some one to do is make him a script an despalys :
<DIV class=content>
<H1>Welcome!</H1>
<P>
<table width="100%" cellpadding="0" cellspacing="0"><tr><td align="center">
<SCRIPT src="scroller.js" type=text/javascript></SCRIPT>
</td></tr></table>
</P></DIV>
if viewed with NetScape and
<DIV class=content>
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td colspan="2">
<H1>Welcome!</H1>
</td></tr>
<tr><td width="343"></td><td align="center">
<SCRIPT src="scroller.js" type=text/javascript></SCRIPT>
</td></tr></table>
</DIV>
If viewed with Internet Explorer.