<a href="#" onClick="this.style.behavior="url(#default#homepage)"; this.setHomePage("http://gazetam.net/"); return false;"> Сделать страницу стартовой</a>
Something this code is not strong and works.
...">
<a href="#" onClick="this.style.behavior="url(#default#homepage)"; this.setHomePage("http://gazetam.net/"); return false;"> Сделать страницу стартовой</a>
Something this code is not strong and works.
Maybe the code does not work, because in onclick = "" do you use several pairs of identical quotes? This is forbidden, try this:
<a href="#" onсlick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://gazetam.net/'); return false;"> Сделать страницу стартовой</a>
Source: https://ru.stackoverflow.com/questions/21107/
All Articles