[thelist] Netscape 6 loads page twice

Jacob Stetser lists at icongarden.com
Thu Dec 7 06:05:13 CST 2000


I tried to redo this in DOM, but I get errors working with forms in 
the DOM in Mac IE 5 for some reason. oh well :( Someday we'll have 
consistency!

Jake

>thanks for the response -
>I am using javascript below to write out the form:
>
>     document.writeln('<form name="suggest" method="post"
>action="/admin/feedback.php">');
>     document.writeln('<td valign="middle" class="magsmallstyle">');
>     document.writeln('<input type="hidden" name="refer_page"
>value="'+top.location.href+'">');
>     document.writeln('<input type="hidden" name="title"
>value="'+document.title+'">');
>     document.writeln('&nbsp;|&nbsp;<a href="#" onclick="commentit();return
>false;">Comment<\/a>&nbsp;|&nbsp;<\/td>');
>     document.writeln('<\/form>');
>
>which ain't working.. only in Netscape 6
>
>Actually, I am liking this browser more and more as I use it.
>
><tip type="Netscape 6">
>Netcape logo won't stop twirling? One thing to check that all your hidden
>form elements are within <td></td> tags
>
>     document.writeln('<input type="hidden" name="refer_page"
>value="'+top.location.href+'">');
>     document.writeln('<input type="hidden" name="title"
>value="'+document.title+'">');
>      document.writeln('<td valign="middle" class="magsmallstyle">');
>     document.writeln('&nbsp;|&nbsp;<a href="#" onclick="commentit();return
>false;">Comment<\/a>&nbsp;|&nbsp;<\/td>');
>
>The above will cause the logo to continue to twirl. Putting the first two
>lines after the third fixes it.
></tip>
>
>>  Netscape 6 does fire the onclick event on an anchor element, and a
>>  similar example that I wrote worked fine. Your script cites
>>  "document.suggest", which I assume is a form defined elsewhere on your page.
>>  If you don't solve it, try posting a more complete code sample.
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !

-- 
icongarden.com
Making good ideas grow || http://icongarden.com/






More information about the thelist mailing list