Creating a bookmark us link
By admin | January 24, 2008
The below script will tell you how to create a bookmark us link
Syntax:
function bookmarksite(title, url){ if(checkIt('msie')) { window.external.AddFavorite(url, title); } else if(checkIt('firefox')) { alert('Press CTRL + D to bookmark this page.'); } else if(checkIt('netscape')) { alert('You need to press CTRL + D to bookmark our site.'); } else if(checkIt('opera')) { alert('You need to press CTRL + T to bookmark our site.'); } else { alert('You are using worthless browser'); } } <a href="javascript:bookmarksite('Easytutorial.info -
Web designing tutorials, 'http://www.easytutorial.info')"></a>
For internet explorer it works fine and for mozilla firefox it will alerts
please press CTRL + D to bookmark this site
Else every thing work fine
Thanks
krates
Topics: Javascript | Comments Off on Creating a bookmark us link
Related Links: