Sign In | Sign Up

My Profile

Barkermn01
7709
.....
Points: 43
Country: UK
Gender: Male
Constellation: Cancer

Shortcuts

Categories

Post

HTML5 Support Building
Size: Large, Medium, Small Mon Oct 26, 09 10:47 AM | Category: All
5
Hi All this allow you to use onHashChange in all browsers

if (typeof window.onhashchange == "undefined") {
window.onhashchange = function(){}
function checkHash(){
if(hash != document.location.hash){
hash = document.location.hash;
window.onhashchange();
setTimeout('checkHash()', 1000);
}
setTimeout('checkHash()', 1000);
}
checkHash();
}
window.onhashchange = function(){
loadPage();
}

Link: http://blog.bitcomet.com/post/134834/ ©
Add to favorites | Quote Reads (43) | Comments (3)
Next: Chat System

CommentsReload

Nuduan_Plus3000 (David) Mon Oct 26, 09 03:01 PM

I voted.

Nuduan_Plus3000
Ursu_64 (Attila) Mon Oct 26, 09 04:05 PM

thanks for this info !

Lt.-Gen. Ursu
bartolo7 Tue Oct 27, 09 07:45 AM

…………………………………………………………………..

i´m your friend.never,well don´t forget that

TOP
You need to sign in before