www.webdeveloper.com
Results 1 to 2 of 2

Thread: Java in Mozilla

  1. #1
    Join Date
    Dec 2004
    Posts
    1

    Unhappy Java in Mozilla

    We have the script seen below to disable others from
    downloading images from our site. It works great in
    IE but after trying to do some research I cannot
    figure out what needs to be done so that it works
    in Mozilla.

    Any ideas? The Script can been seen in the source
    of this page,
    http://www.switchhits.com/switchplates_architectural_light_switch_plates_covers_s.html[/url]

    Thanks in advance.

    cpaige16

    <SCRIPT LANGUAGE=JavaScript1.2>

    <!--
    //
    var companyName = "SwitchHits.com"
    var copyDates = "1996 - 2004"
    var message="Copyright " + copyDates + " " + companyName + "\r\n\r\n" +
    "All Content: Images and Text are \r\n" +
    "protected under law and cannot be copied\r\n" +
    "or used without the expressed written\r\n" +
    "permission of " + companyName + "";

    if (event.button == 2) {
    alert(message);
    return false;
    }
    }
    if (document.layers) {
    if (evt.which == 3) {
    alert(message);
    return false;
    }
    }
    }

    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown=click;
    //-->
    </SCRIPT>

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,119
    wrong forum to ask this question in....
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles