<<< R I N O >>> wrote:
> Hi Humi Khan,
> I also did tried BUT not working or no Icon or button were visible.
> Can you PLEASE tell us what words are to replace? Also, Thank You!
>
>
> "Humi Khan" <(E-Mail Removed)> wrote in message
> news:11AE4EB6-E635-4CD9-B5D2-(E-Mail Removed)... This is
> the html script thats normally being used!
>
> <a href="#"
> onmousedown="addBookmark('DCEvolution','http://dcevolution.net/')"
> onmouseover="return overlib('Bookmark us.')" onmouseout="return
> overlib('www.dcevolution.net - www.dcevo.com',DELAY, 1000);"><img
> src="./images/bookmark.gif" alt="Bookmark" width="10" height="28"
> border="0" /></a>
>
> "Germanicus" wrote:
>
>> How do I give someone the option to click on a hot button to add my
>> page to their Favorites folder? I've seen this done on many pages,
>> but now I need to add the option to my own website. Any advice will
>> be greatly appreciated! Thanks in advance,
>> Jeff
Here's one way to do it
<body onload="addfavs();">
<span id="addfav"></span>
This is the script
var is_ie = (navigator.appVersion.indexOf('MSIE') != -1) ? true : false
var hometitle = "your home title"
var homepage = 'http://yoursite.yourdomain.com/'
function addfavs()
{
var appver, is_minor, is_major, text
if (is_ie)
{ appver = navigator.appVersion
is_minor = parseFloat(appver.substring(appver.indexOf('MSIE') + 5,
appver.indexOf(';',appver.indexOf('MSIE')) ))
is_major = parseInt(is_minor) }
text = '<a href="#" onclick="window.external.AddFavorite'
+ ' (homepage,hometitle);return false;"'
+ ' title="Add our site to your favorites!">'
if (is_ie && is_major >= '4')
text += 'Add our site to your favorites!</a>'
else
text += 'To add our site to your favorites - Press (Ctrl+D)</a>'
document.getElementById("addfav").innerHTML = text + '<hr />'
}
--
Cheers,
Trevor L.
Website:
http://tandcl.homemail.com.au