Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bookmarking

Status
Not open for further replies.

sparc20

Programmer
Mar 13, 2002
56
GB
So guys, how can i have a link that bookmarks a webpage in the web browser ? Is it html or javascript?

thanx
 
it would be javascript, sommat like this:

Code:
<SCRIPT LANGUAGE=JAVASCRIPT><!--
if ((navigator.appVersion.indexOf("MSIE 5") > 0)
  && (parseInt(navigator.appVersion) >= 4)) {
document.write("<B><SPAN
STYLE='color:blue;cursor:hand;' onclick='window.external.AddFavorite(\"[URL unfurl="true"]http://www.deja.com\",\"All[/URL] the answers you need\");'><U>Bookmark this page</U></SPAN></B>"); }
else {
document.write("<B>You might want to bookmark this page</B>"); }
//-->
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top