Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
can anyone tell me why the code that i pasted and modified on my website will not show the scrolling news box on firefox or netscape but shows up on IE ?
fused glassware and stained glass windows website

Because not all code is cross-browser supported. If you were to post your code, perhaps someone could suggest changes to make it work in all browsers.
Michael J

this is in the head section.
<script language="JavaScript">
</script>
and this is in the body.
<ilayer name="slider1" width=260 height=140 visibility=hide bgcolor="#ffffff">
<layer name="slider2" onMouseOver="sspeed=0;" onMouseOut="sspeed=2"></layer>
</ilayer>
<span style="borderWidth:0; borderColor:#ffffff; width:300; height:70;">
<script language="JavaScript">
if (document.all){
document.writeln('<marquee id="ieslider" scrollAmount=2 width=260 height=140 direction=up style="border:0 solid grey;background-color:#ffffff">')
document.writeln(mymessage)
ieslider.onmouseover=new Function("ieslider.scrollAmount=0")
ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=2")
document.write('</marquee>')
}
if (document.getElementById&&!document.all){
document.write('<div style="position:relative;overflow:hidden;width:200;height:70;clip:rect(0 302 102 0); background-color:#ffffff;border:0px solid white;" onMouseover="sspeed=0;" onMouseout="sspeed=2">')
document.write('<div id="slider" style="position:relative;width:&{swidth};">')
document.write('</div></div>')
}
</script>
</span></td>
</tr>
</table>fused glassware and stained glass windows website

this is in the head section
<script language="JavaScript">
</script>
fused glassware and stained glass windows website

wont let me post script for whats in the head section,
fused glassware and stained glass windows website

copy and paste from http://javascript.internet.com
and I have modified it slightly to do what I want, it works fine in IE but does not even appear in firefox or netscape, am new to code as I have built my website on dreamweaver, design based but am just learning about code now, what is dynamicdrive?
fused glassware and stained glass windows website

oh yes dynamic drive website, am looking now
thanksfused glassware and stained glass windows website

Yea, look into it. I think that's the best resource for that kind of stuff.
They also tell you which script works for which browsers and so on.
---
Fubar

I need to display a scrolling .png file that has hot spots on images on it to link to other pages in my site, I have accomplished this but it only displays in IE and not in firefox and netscape. help please I am nearly at the end of my tether with this...
fused glassware and stained glass windows website

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |