Main
Home
Contact Staff
Request
Graphics Directory

Site
Updates Archive
Previous Requests
History
FAQ
Terms
Previous Layouts
Staff
Affiliates
Credits
Link Back

Graphics
Avatars
Banners
MS Paint
Posters
Textures
Transparencies
Wallpapers
Miscellaneous

Drifting Designs Tutorials > > Coding > > HTML > > Bookmark Page






Bookmark Page
Remote Bookmark Page





Want your visitors to keep your site bookmarked? It's useful to remind them with "Click to Bookmark" buttons such as the one below -





Bookmark Page


1) The code for that is -
<form><input type="button" value="Click to Bookmark" onClick='window.external.AddFavorite(location.href,document.title);'></form>


2) Where it says "Click to Bookmark", change it to whatever you want the button to read.



Remote Bookmark Page


If you want to specify a specific page for that person to bookmark, rather than the webpage that is currently open, use the following code -

<a href="javascript:window.external.AddFavorite('http://www.urlofsite.html', 'titleofbookmark')" style="font-size:12px; color:black; font-family: Garamond;">Click here to bookmark that site.</a>


Replace "http://www.urlofsite.html" to the remote site that you are providing the link to bookmark. Replace "titleofbookmark" with the title that will show up when bookmarked. You can also specify the font style of the link.

For example, this code -

<a href="javascript:window.external.AddFavorite('http://www.freewebs.com/driftingdesigns', 'DriftingDesigns')" style="font-size:14px; color:Red; font-family: Garamond;">Click here to bookmark Drifting Designs!</a>


will produce-


Click here to bookmark Drifting Designs!
Layouts
Div Layouts
Frames Layouts
Pop-Up Layouts
Table Layouts

Neopets
Shop Signs
Guild Layouts
Full Page Layouts
Miscellanous

Tutorials
Coding
Graphics
Other

Hosted
Hosted by: