Snap Builder Public Codes Library
Snap | Generators | Login | Browse | Search | Enter Code | Export Snap Builder Public Codes Library


Category: Javascript Codes Library >> Miscellaneous Snippets >> Bookmark Add To Favorites

Code Snippet </> Info

Snippet Name: Bookmark Add To Favorites

Description: Show your visitors a link or message to bookmark your website.

Compatible Browsers:
Chrome BrowserFirefox BrowserInternet Explorer BrowserOpera BrowserSafari Browser

Example: View Code Demo

Note: Internet Explorer users will see a link to click... all other browsers will see a message. Adjust the script var URL and TITLE to your information.

Author: SnapBuilder <>

Last Modified: 2015-03-19 19:44:43

Language: javascript

Highlight Mode: javascript

Copy Codes: Use Free Notepad ++
Bookmark and Share

Snap HTML Code Editor:
Paste the source code, make changes and instantly see it in live preview.
Snap HTML Code Editor

  About Copying
Copied To Clipboard!

<html> <head> <title>Bookmark Add To Favorites</title> </head> <body> <script> // Begin Add To Favorites from Free Public Codes Library // Free to use as long as the credit lines remain in place <!-- if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) { var url=""; var title="Free Public Codes Library"; document.write('<a href="javascript:window.ext'); document.write('external.AddFavorite(url,title);" '); document.write('onMouseOver=" window.status='); document.write("'Add our site to your bookmark favorites!'; return true "); document.write('"onMouseOut=" window.status='); document.write("' '; return true "); document.write('">Add our site to your bookmark favorites!</a>'); } else { var msg = "Add our site to your bookmark favorites!"; if(navigator.appName == "Netscape") msg += " (CTRL-D)"; document.write(msg); } // --> </script> <!-- End of Add to Favorites --> <br /> <p>[ YOUR CONTENT GOES HERE ]</p> <br /><br /> <div id="snippet"> [ This code example from <a href="">Bookmark Add To Favorites</a> page. ] </div> </body> </html>

[ Snippet Options ]


© 2002 -  Snap Builder Public Codes Library