I need to use a JavaScript code (hosted at addratings.com) several times on different pages on my site. From 50 to 200 times.
The script works fine if I go to the page and let it load for a few seconds but I frequently send my visitors to the middle of a page directly using a page jump. When I do that, none of the scripts load which defeats the point of having them. What can I do make sure the script loads even during page jumps?
Code:
<div ALIGN=RIGHT>
<script type='text/javascript'>
aR_BgColor="";
aR_FgColor="";
aR_url=location.href + "1";
aR_title=document.title;
aR_StarType ='0';
document.write('<div id="aR_star_info" style="height:60px;"></div>');document.write('<scr'+'ipt type="text/JavaScript" src="http://addratings.com/aR_BootStrap.js"></scr'+'ipt>');
</script></DIV>
page jump
this is a direct test page link (only 50 scripts):
http://www.snappletop.com/p/901-1000.html
this is the same link with page jump:
http://www.snappletop.com/p/901-1000.html#899
Bookmarks