lynn80
asked on
No click sound refresh
Hi all, I need help here.
Is there a page refresh script that will not cause a "click" sound every time it refresh?
Please kindly help me thank. I am using IE6.0
Is there a page refresh script that will not cause a "click" sound every time it refresh?
Please kindly help me thank. I am using IE6.0
Actually only way is to run a .reg file
Not something you users would want I bet
An alternative is to use an xml dataisland, get the data from there and use innerHTML to update
Not something you users would want I bet
An alternative is to use an xml dataisland, get the data from there and use innerHTML to update
ASKER
Sligowaths,
sorry I forgot to mention my page is auto refresh every 6 seconds, how to use your code for this?
<script>
function changePage(newURL) {
location.replace(newURL);
}
<script>
<a href="javascript:changePag e('http://www.example.com');">exa mple1</a>
<a href="#" onClick="javascript:change Page('http://www.example.com');"> example2</ a>
<a href="javascript:void(0);" onClick="javascript:change Page('http://www.example.com');"> example3</ a>
sorry I forgot to mention my page is auto refresh every 6 seconds, how to use your code for this?
<script>
function changePage(newURL) {
location.replace(newURL);
}
<script>
<a href="javascript:changePag
<a href="#" onClick="javascript:change
<a href="javascript:void(0);"
ASKER
mplungjan,
how? have any examples?
thanks
how? have any examples?
thanks
ASKER
hello? Help please
ASKER
Hello?? is it not possible to do it or can't help at all???
Due to security reasons, IE will now allow javascript to access the click sound in order to control it.
ASKER
how????
The click sound is a system setting and allowing access to it through a web scripting language would open up a whole new set of problems for Microsoft. The click sound is just something you will have to live with and if you think it will annoy your visitors to hear the click sound, kindly suggest that they turn down their speakers.
Cheers
Ken
Cheers
Ken
ASKER
Hi Ken,
But I saw some site do it without the click sound.. I wonder how script language they use?
But I saw some site do it without the click sound.. I wonder how script language they use?
If you can tell the address of the site, then I will take a look for you
ASKER
http://www.meetic.com
a dating site, free to join. When you go in notice the left panel of there menu where they stats how many users online.. every 6 second the iframe will refresh quietly.. Please take a look thanks.
a dating site, free to join. When you go in notice the left panel of there menu where they stats how many users online.. every 6 second the iframe will refresh quietly.. Please take a look thanks.
try
function reload() {
setTimeout("location.href= 'mypage.ph p'",6000);
}
or more simply
onload="setTimeout("locati on.href='m ypage.php' ",6000);"
in the body tag
function reload() {
setTimeout("location.href=
}
or more simply
onload="setTimeout("locati
in the body tag
ASKER
I tried:
<script>
function reload() {
setTimeout("location.href= 'mypage.ph p'",6000);
}
</script>
It doesn't refresh.
I tried this got syntax error.
<body onload="setTimeout("locati on.href=my page.php,6 000);">
<script>
function reload() {
setTimeout("location.href=
}
</script>
It doesn't refresh.
I tried this got syntax error.
<body onload="setTimeout("locati
You forgot a couple of quotes, try this;
<body onload="setTimeout("locati on.href='m ypage.php' ",6000);">
<body onload="setTimeout("locati
ASKER
I am still getting syntax error on this line
<body onload="setTimeout("locati
is it because of the 2 " " ?
Yup
<body onload=setTimeout("locatio n.href='my page.php'" ,6000)>
<body onload=setTimeout("locatio
ASKER
hmm.. no luck man.. it doesn't reload sliently, have you visited the site? What language are they using?
They are using javascript.
ASKER
oh.. so can you help with javascript?
ASKER
thats what I am here for.............
stmh = setTimeout('window.locatio n.reload() ',90000)
in an iframe
in an iframe
ASKER
Hi,
put this code in the function?
stmh = setTimeout('window.locatio n.reload() ',90000)
sorry, I don't know much about java I am a php programmer..
put this code in the function?
stmh = setTimeout('window.locatio
sorry, I don't know much about java I am a php programmer..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hey thank you, this works!!
Thanks alot~~!
Thanks alot~~!
ASKER
This work on non inframe also!! Totally slient refresh!
<script>
function changePage(newURL) {
location.replace(newURL);
}
<script>
<a href="javascript:changePag
<a href="#" onClick="javascript:change
<a href="javascript:void(0);"
Tiago Serafim