50 users online (1 members and 49 guests)  

Thread: Netscape6


  Results 1 to 4 of 4
  1. #1
    brownfox's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2002
    Posts
    2

    Angry Netscape6

    Is it just me or does netscape 6 support less JavaScript than earlier versions? Even some supposed cross-browser scripts, that are fine with IE, don't work at all with Net6 (or is it my settings?)

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Strange, I have always found NS6 to have excellent JavaScript support.

    Try some simpler scripts to see exactly what functions/methods are not working, then have alook at www.netscape.com to see if they were depreciated.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    Capo's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Aug 2002
    Location
    USA
    Posts
    69
    I used to be a big netscape user myself. IMO, netscape was definitely the better browser "back in the day." However, since 4x or so, I've been an IE user. It's simply a better browser at present and one that will not cause you to run into as many problems.

  4. #4
    brownfox's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2002
    Posts
    2
    Let me give a couple of examples - this script from is from dynamicdrive.com and is purported to be a cross browser effect but for me only works in IE....

    <script language="JavaScript1.2">
    /*
    Cross browser marquee script-
    Dynamic Drive (www.dynamicdrive.com)
    For full source code, installation instructions,
    100's more DHTML scripts, and Terms Of
    Use, visit dynamicdrive.com
    */
    //Specify the marquee's width (in pixels)
    var marqueewidth=550
    //Specify the marquee's height (in pixels, pertains only to NS)
    var marqueeheight=25
    //Specify the marquee's scroll speed (larger is faster)
    var speed=6
    //Specify the marquee contents
    var marqueecontents='TEXT AND FORMATTING GOES HERE'

    if (document.all)
    document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>')

    function regenerate(){
    window.location.reload()
    }
    function regenerate2(){
    if (document.layers){
    setTimeout("window.onresize=regenerate",450)
    intializemarquee()
    }
    }

    function intializemarquee(){
    document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
    document.cmarquee01.document.cmarquee02.document.close()
    thelength=document.cmarquee01.document.cmarquee02.document.width
    scrollit()
    }

    function scrollit(){
    if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
    document.cmarquee01.document.cmarquee02.left-=speed
    setTimeout("scrollit()",100)
    }
    else{
    document.cmarquee01.document.cmarquee02.left=marqueewidth
    scrollit()
    }
    }

    window.onload=regenerate2
    </script>

    AND THIS I THINK IS A BOTH BROWSER, NO RIGHT CLICK, SCRIPT.....


    <SCRIPT LANGUAGE="JavaScript1.1">

    <!-- Begin
    function right(e) {
    if(navigator.appName=='Netscape'&&(e.which == 3||e.which==2))
    return false;
    else if(navigator.appName == 'Microsoft Internet Explorer'&&(event.button == 2||event.button == 3))
    {
    alert("Sorry, you do not have permission to right click.");
    return false;
    }
    return true;
    }

    document.onmousedown=right;
    document.onmouseup=right;
    if (document.layers) window.captureEvents(Event.MOUSEDOWN);
    if (document.layers) window.captureEvents(Event.MOUSEUP);
    window.onmousedown=right;
    window.onmouseup=right;
    // End -->
    </script>
    AGAIN THIS ONLY WORKS IN IE.(FOR ME ANYWAY)?



Tags for this Thread