Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2004
    Location
    Oklahoma
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Using no right click with refresh script for webcam pop-up

    I am having issues with CoffeeCup pop-up webcam script. My refresh is set for 16 seconds but during traffic it is only refreshing every 2 minutes. I have checked with my ISP (cable) and there is not a problem with the images loading every 16 seconds to the host. I checked with the host, BlueDomino, and there is not an issue with my bandwidth. The CoffeeCup support agent said that it may be a conflict with the no right click script that I was told to add and that I need an onload script. I reviewed the FAQs and previous topics here, but I do not understand how to use it. Could someone explain it in laymans terms? Is it really necessary to have the no right click script to prevent WCW? Thanks!

    Pop-up Webcam Window

    <script language="Javascript">
    <!--
    function refreshCam(){
    rfsh = new Date() ; rfsh = "?"+rfsh.getTime()
    document.images["webcam"].src = "webcam.jpg"+rfsh
    setTimeout("refreshCam()", 16000) // 16 Secs
    }
    //-->
    </script>

    <script language="Javascript1.2">
    am = "No WCW, please!";
    bV = parseInt (navigator.appVersion)
    bNS = navigator.appName=="Netscape"
    bIE = navigator.appName=="Microsoft Internet Explorer"
    function nrc(e) {
    if (bNS && e.which > 1) {
    alert(am)
    return false
    } else if (bIE && (event.button >1)) {
    alert(am)
    return false;
    }
    }
    document.onmousedown = nrc;
    if (document.layers) window.captureEvents(Event.MOUSEDOWN);
    if (bNS && bV<5) window.onmousedown = nrc;
    </script>

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    No need for the right click script. See discussions on the "block source codes" link in my sig for details.
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #3
    New to the CF scene
    Join Date
    May 2004
    Location
    Oklahoma
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for your help. I'll remove the no right click script until I figure something else out. Learning Java is too much for my sleep deprived brain right now ... have to wait until breeding season is over. But, I am making it a priority this summer.


  •  

    Posting Permissions

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