SitePoint Sponsor

User Tag List

Results 1 to 19 of 19
  1. #1
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Clicking on iFrames

    Anyone know if there's a way, without using any js, to get rid of the clicking in all vers of IE when iFrames are changing please ?

    Any help appreciated.

    Dez.

  2. #2
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,881
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    Any browser sounds are controlled by settings on your computer, and are nothing to do with the web pages at all.

  3. #3
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Stevie, that's a shame, I thought there might have been some adjustment to the coding that I could make ?

    Interesting that the clicks don't happen in FF ?

  4. #4
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    This guy seems to think he's found a solution :

    http://www.webmaster-talk.com/coding...ick-sound.html

  5. #5
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,881
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Dez View Post
    Interesting that the clicks don't happen in FF ?
    It's usually set at the browser level rather than OS-level - you could set different or no sound for each action in each different browser you have. IE is the only one that is likely to default to making noises all the time, because its authors were sociopaths

  6. #6
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Stevie - back to the drawing board !

  7. #7
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Why don't you just turn it off on your machine manually?

    Start > Control Panel > Sounds > Sound Events > Windows Explorer (Section) > "Start Navigation" option (Disable the sound).

  8. #8
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Alex, but trying to organise the coding so that the users don't have to do that.

  9. #9
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,272
    Mentioned
    50 Post(s)
    Tagged
    2 Thread(s)
    Thanks Alex, but trying to organise the coding so that the users don't have to do that.
    That's like trying to code so their screens don't flicker. If they hate the sound, they're either not using IE or they've turned it off.

  10. #10
    Non-Member
    Join Date
    Jun 2010
    Location
    4727′35″N 2618′0″E
    Posts
    1,789
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    or get rid of iframes... organizing code strategy maybe use the <object> element.

  11. #11
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    Quote Originally Posted by noonnope View Post
    or get rid of iframes... organizing code strategy maybe use the <object> element.
    This is sounding helpful - can you expand on that a little please ?

  12. #12
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Dez View Post
    Thanks Alex, but trying to organise the coding so that the users don't have to do that.
    What you're trying to-do is go beyond the browser layer and take administrator level control over the end-users machine. If such an ability were possible it would allow hackers to violate someone's computer and do all sorts of nasty stuff to the registry (which is where sound settings are stored). The browser is a sandboxed device which only allows you to interface with the window itself, anything at the OS layer (such as system sounds) is beyond the reach of scripting for a good reason. The only way you could prevent the navigation clicking occurring is to not to have any kind of content being loaded in the window, which could mean using AJAX, nothing but Flash (for your site) or just have a single page design. As it stands, for the sake of a noise you find annoying (but others may find useful - such as if they have accessibility needs) you are SERIOUSLY overthinking the problem (and trying to over-engineer it). Quit trying to manipulate your visitors PC and let them turn it off if they find it annoying, using the object element (in preference to Iframe) will NOT prevent the navigation click as it's still accessing a non-page external resource.

  13. #13
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never trying to manipulate anything on the users pc, but no problem, will approach this from another direction.

  14. #14
    Non-Member
    Join Date
    Jun 2010
    Location
    4727′35″N 2618′0″E
    Posts
    1,789
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dez View Post
    This is sounding helpful - can you expand on that a little please ?
    <object data="yourpage.html" type="text/html" width="500" height="200"></object>

  15. #15
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    I'm just saying Dez, the sounds and how to disable them are stored within the registry, so editing the value would require manipulating their PC's settings.

    You're best bet to avoid it would be to use AJAX in preference to frames or objects (as it calls the data within the background).

  16. #16
    Non-Member
    Join Date
    Jun 2010
    Location
    4727′35″N 2618′0″E
    Posts
    1,789
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i guess his best bet it is not js. his best bet is to display all data when there is no js on the client side, using objects, or divs. then, for those cases where client side agrees to js scripting, to make a more appropriate use of these objects or divs using ajax.

  17. #17
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,272
    Mentioned
    50 Post(s)
    Tagged
    2 Thread(s)
    ^Amen. Give me server-side refreshes, unless I haz scripts; then hijack those refreshes instead.
    Hijax++

  18. #18
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by AlexDawson View Post
    I'm just saying Dez, the sounds and how to disable them are stored within the registry, so editing the value would require manipulating their PC's settings.

    You're best bet to avoid it would be to use AJAX in preference to frames or objects (as it calls the data within the background).
    Thanks Alex, but am not trying to manipulate the users pc settings, just the coding in the website.

  19. #19
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by noonnope View Post
    i guess his best bet it is not js. his best bet is to display all data when there is no js on the client side, using objects, or divs. then, for those cases where client side agrees to js scripting, to make a more appropriate use of these objects or divs using ajax.
    Thanks to noonnope and Alex for the recent helpful replies. It's appreciated.

    Seeing your answers above, and seeing the scenario on the link below, which would you recommend please ? Especially to not be a resource/memory hogger.

    http://www.sitepoint.com/forums/showthread.php?t=686757


Bookmarks

Posting Permissions

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