View Full Version : New Mozilla Browser span write!

07-10-2002, 11:15 PM
I posted before regarding a problem I was having with the new Mozilla browser. The code below pastes to a span in every browser except Mozilla. Somebody asked that I post the entire script so they could get a better idea as to why it isn't working...

Can someone please tell me what I put in to detect mozilla and what code pastes to the span in Mozilla.

<script language="javascript">
function pasteit() {
if (document.layers) {
} else if (document.all) {
} else if (document.getElementById) {
} else {
<body onload="pasteit();">

<tD width="100%" style="padding:5px;" align="center">
<SPAN ID="news"></SPAN>


07-10-2002, 11:20 PM
You should really post this in the same thread and not start another one for the same question; http://www.codingforums.com/showthread.php?s=&threadid=1720

Second,whatever gave you the idea that it doesn't work in Mozilla?? It works fine.
Btw,it doesnt paste anything,it just changes the innerhtml of the span.Paste means that it get the content of the clipboard.

07-10-2002, 11:28 PM
fair enough,

just I'm in aus and it seems most activity on this forum happens at my night, when I return next day my posts are on the back end of a long list of current posts, so I figure the chance of reply will be minimal....

but okay.

I see your point with the mozilla browser thing... when I tested the code I posted here it worked as well... however I simplified it greatly for this forum... so my problem must be in another area of my code...

thanks for pointing out obvious.

07-10-2002, 11:51 PM
I didn't want to sound harsh,sorry if I did.
But if you reply to a thread,it automatically moves to the first page on the top of the list :thumbsup:

07-10-2002, 11:58 PM
Basically what Bosko said - don't start a new thread for the same topic, and don't worry about being behind other threads - if all the new threads when I visit span across more than one page, I make sure to at least look at all the titles. I'm sure that I'm not the only one either.

Closing thread.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum