remonkal — 2011-02-13T14:12:38-05:00 — #1
I need to redirect the user to another url in 5 seconds without the "click" sound.
you'll notice that this:
produces a "click" sound (maybe only in IE).
I want to avoid this sound in my code (I know this can be changed in windows in the user's computer).
can it be done?
paul_wilkins — 2011-02-13T18:30:43-05:00 — #2
remonkal — 2011-02-14T03:11:41-05:00 — #3
paul_wilkins — 2011-02-14T03:12:41-05:00 — #4
The click sound is from the web browser as it loads a new page.
You do not have the power to change that.
It might be possible to replace page content using Ajax, but that's normally for small sections. It's kind of drastic to use it to load the entire contents of some different web page.
However, you could use an iframe, and point that iframe at a different web address. That would work.
remonkal — 2011-02-14T03:14:56-05:00 — #5
iframe method: the following makes a "click" sound as well:
<iframe src="http://google.com/" id="iframeA"></iframe>
paul_wilkins — 2011-02-14T03:16:19-05:00 — #6
That's right. See the previous post regarding Ajax and iframes