View Full Version : add to bookmark+homepage on NS6.2!
shernoam
12-15-2001, 06:22 PM
Hi!
This is a tricky one!
How can I make a link that will add my site to the users bookmark ON NETSCAPE 6.2 ?
How to make me their home page ON NETSCAPE 6.2 ?
:rocker:
_mrkite
12-15-2001, 06:58 PM
As far as I know, only MSIE - what a shock - provides this functionality between the OS and the browser's scripting environment. With Netscape et. al., you need to propmpt your users with the necessary instructions. See if this helps:
http://www.simplythebest.net/info/dhtml_bookmarks.html
scoutt
12-16-2001, 05:15 PM
shernoam, I don't know why you are making a big deal out of NS6.2, it is not that much different then NS6.1. also code that mostly works in IE5+ will work in NS6.2. As far as adding your site so it's the users home page, well that is really annoying, I (and don't think anybody else) will give you that code to do that. it is almost as bad as those darn popups.
in an external file add this to it and call it favourite.js
<!-- Begin
If ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
var url="http://www.yoursite.com";
var title="The title of your site";
document.write('<A HREF="java script:window.ext');
document.write('external.AddFavorite(url,title);" ');
document.write('onMouseOver=" window.status=');
document.write("'Add this site To your favorites !!!'; Return True ");
document.write('"onMouseOut=" window.status=');
document.write("' '; Return True ");
document.write('">Add this site To your favorites</a>');
}
Else {
var msg = "Don't forget to bookmark this site for your future reference and return often";
If(navigator.appName == "Netscape") msg += " (CTRL-D)";
document.write(msg);
}
// End -->
#Put this where you want the text to appear:
<script SRC="favourite.js"></script>
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.