NOn capisco perchè questa funziona mi da come risultato sempre 0.
E' stata disabilitata da IE?
NOn capisco perchè questa funziona mi da come risultato sempre 0.
E' stata disabilitata da IE?
Quello che non mi uccide mi rende più forte....
:master:![]()
Cavicchi Andrea
Problemi con javascript, jquery, ajax clicca qui
http://msdn.microsoft.com/library/de...ishomepage.aspOriginariamente inviato da cavicchiandrea
:master:![]()
Mi da sempre 0 in qualsiasi caso
Quello che non mi uccide mi rende più forte....
assodato questo, se non provi online non potra' che ritornare falso"The isHomePage method will always return false if the document that is calling the isHomePage method is not on the same domain. For example, if www.microsoft.com is set as your homepage, and you call this method from a page on the Microsoft® Web site, then the isHomePage method returns true. However, if your homepage is set to www.microsoft.com and you call this method from a page on a different domain, the method will return false. "
ciaocodice:<!--[if gte IE 5.5]> <span id=hp style="behavior:url(#default#homepage)"></span> <script type="text/javascript"> var thePage='http://www.tuodominio.it/index.htm'; var theText='Imposta questa pagina come homepage!'; if (!hp.isHomePage(thePage)) {document.write(" "+theText+"");} </script> <![endif]-->
Ciao, grazie per la rispostaOriginariamente inviato da Xinod
assodato questo, se non provi online non potra' che ritornare falso
ciaocodice:<!--[if gte IE 5.5]> <span id=hp style="behavior:url(#default#homepage)"></span> <script type="text/javascript"> var thePage='http://www.tuodominio.it/index.htm'; var theText='Imposta questa pagina come homepage!'; if (!hp.isHomePage(thePage)) {document.write(" "+theText+"");} </script> <![endif]-->
Cmq anche cosa da sempre falso come risultato, non capisco da cosa dipende
Quello che non mi uccide mi rende più forte....