yhyu1220 / reallysimplehistory

Automatically exported from code.google.com/p/reallysimplehistory
Other
0 stars 0 forks source link

Audible Click/Bell on Location Change in IE #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
RSH version 0.6 final
Internet Explorer only

IE will produce an audible click/bell every time the window location changes. 
This also happens 
when changing the src of an iframe. Every time a dhtlHistory.add is run both 
the window location 
and the iframe src are updated. This produces two clicks.

Brad Neuburg apparently said (have not read his blog to look for it) that a 
hidden form tag could 
be used instead of an iframe. That would reduce the number of clicks to 1 per 
'add'.

Is there a way of eliminating the clicks even more?

I am currently using RSH to only remember the last page state and reuse the 
same hash every 
time. I modified the RSH code to not change the window location or iframe src 
when the new 
hash is the same as the existing hash. Maybe this principle can be added to 
RSH. I would 
appreciate if you do. See the attached file, I have clearly commented where I 
modified (or rather 
hacked) the code.

Thank you.

Original issue reported on code.google.com by mrniggle...@gmail.com on 6 Apr 2008 at 9:52

Attachments: