Not a Member Yet,
Click here to Register

ID: 15
Viewed: 3832
Added: Nov 23, 2001
Version:
Snippet uploaded by: snippet
Written By: Unknown
Demo: Sorry, no demo



User Rated at: 0 Stars
Rate This:

Thank you for your vote. Please wait...

It appears you already voted for this snippet

It appears your vote value was empty

adds bookmark to IE and NS. Put the following code into a file called favorites.js or what ever you want to call it. then put this where you want the text to appear:

<script src="favourite.js"> </script>

<!---Head--->
<script>
<!-- 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('ernal.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 -->
</script>

<!---Body--->


 none


No Comments to show

Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.


Replying to a Comment...


Adding your comment. Please wait...

Thanks for adding your comment!. After further review it will be added.

There was a problem adding your comment. Please try again.

Please complete all the fields in the form before sending.

© 2002 - 2024 snippetlibrary.com All Rights Reserved. Conditions
Do NOT follow this link or you will be banned from the site!