Can anybody tell me why this simple piece of javascript wont work its doing my head in it just says the url in wrong or missing.....Thanks Marshy
Its on <!-- m --><a class="postlink" href="http://www.barrys-drivingschool.fsnet.co.uk/contents.htm">http://www.barrys-drivingschool.fsnet.c ... ntents.htm</a><!-- m -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
var url="http://www.barrys-drivingschool.co.uk";
var title="Barrys School of Motoring";
document.write('<A HREF=http://www.webdeveloper.com/forum/archive/index.php/"javascript:window.ext');
document.write('ernal.AddFavorite(url,title);" ');
document.write('onMouseOver=" window.status=');
document.write("'Add our site to your favorites!'; return true ");
document.write('"onMouseOut=" window.status=');
document.write("' '; return true ");
document.write('"> Addto Favorites</a>');
}
else {
var msg = "Bookmark us";
if(navigator.appName == "Netscape") msg += " press (CTRL-D) now!";
document.write(msg);
}
// End -->
</script>
Its on <!-- m --><a class="postlink" href="http://www.barrys-drivingschool.fsnet.co.uk/contents.htm">http://www.barrys-drivingschool.fsnet.c ... ntents.htm</a><!-- m -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
var url="http://www.barrys-drivingschool.co.uk";
var title="Barrys School of Motoring";
document.write('<A HREF=http://www.webdeveloper.com/forum/archive/index.php/"javascript:window.ext');
document.write('ernal.AddFavorite(url,title);" ');
document.write('onMouseOver=" window.status=');
document.write("'Add our site to your favorites!'; return true ");
document.write('"onMouseOut=" window.status=');
document.write("' '; return true ");
document.write('"> Addto Favorites</a>');
}
else {
var msg = "Bookmark us";
if(navigator.appName == "Netscape") msg += " press (CTRL-D) now!";
document.write(msg);
}
// End -->
</script>