Any way to supress clicking sound on window.location.href=''

Posted on 2004-10-27
Last Modified: 2012-06-27
Hi Experts

I'm experimenting with using self-submitting IFRAMES to monitor activity on a form by converting the form elements into a string and requesting, in the IFRAME (which is 0px by 0px, i.e., invisible), a server script which stores the state of the form, every 5 seconds.

However, when the IFRAME is updated, the browser makes a clicking sound, and the hour-glass cursor appears momentarily. Any way to stop that? If not, I shall have to resort to Remote Scripting, which is whole lot more complicated.
Question by:metalaureate
    LVL 33

    Expert Comment

    Turn off the sound volume ;-)
    Have you got ie sound pack installed ? if yes then these migth interest you
    LVL 1

    Expert Comment


    That appears to only work if altered locally and manually.  It doesn't seem that the sound can be altered on a client's machine without their sayso to alter the registry, or is there a silent way of altering the registry from a webpage.  If there is, I want to know how to block a website from messing around with my registry.

    LVL 1

    Expert Comment

    I've seen websites that alter the mouse look... you could do this to keep the hourglass mouse icon from showing... set it to a pointer.  (Sorry, don't have reference to them now.) The sound might be averted by having the page play a silent .wav file.  This might cover the click sound.
    LVL 31

    Expert Comment

    why not collect the results and send them back periodically say in sets of 20 or when the page unloads.

    Author Comment


    You can only alter the mouse-look via setting the style of what it is hovering over, and in this case it is not hovering over anything; I *am* already caching the results and then sending them back to the user every 5 seconds, which is as long as I can wait for the kind of data I am collecting. FYI, I'm writing a remote usability monitoring system, something I can temporarily bolt on to my website to analyse the behavior of test users on functionally complicated pages with heavy fall-off.

    To conclude then, the IFRAME method is simple and works great for infrequent, preferably user-initiated actions, such as selecting an item from a list (e.g., select item, this initiates a call to the server which then retrieves data needed to provide additinional options for this choice). However, if you cannot turn off the beep and the hour-glass, it's not a good solution for a monitoring-type application.
    LVL 1

    Expert Comment

    Here's a working solution that might work for you:

    Author Comment

    Alas, not; it relies on not having to pass new parameters to the IFRAME document for every refresh, much I must to do to log the visitor behavior data... back to the drawing board!
    LVL 3

    Accepted Solution

    >>You can only alter the mouse-look via setting the style of what it is hovering over, and in this case it is not hovering over anything;

    yes you can, i changed the mouse pointer on my band's music page to the devil horns and i've seen other sites that completely change your mouse even when it's an hourglass.

    for the devil horns on i did the following...

    BODY { cursor: url("")}

    you can also use
    a, a:hover {cursor:url("...

    i've done some searching and haven't found anything about the hourglass yet, but i may not be searching for the right thing.  I can probably image the cursor isn't your biggest problem but the *click* every 5 seconds from the browser window is.  Maybe you could create a 1px x 1px flash movie with a wav file in it and when the page loads set the volume to 0.  That should stop the *click* from sounding but if whomever is on your page is listening to a CD or mp3 then they may suddenly lose the volume of their music.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    A common challenge, or question, when working with two calendar dates is: What is the difference between the specified days? As is frequently the case, the answer is: It depends... What kind of difference do you want? Given two date obje…
    Article by: DanRollins
    This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (, we'll extend the program by adding a depth-…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now