Adding Website to Favorites

windows

Guest
Hi everybody<br />
<br />
I'm very new to HTML so please bare with me..<br />
This is what i'm trying to do....<br />
<br />
When you go to any page on my website<br />
e.g <!-- m --><a class="postlink" href="http://energeeuk.gotdns.com/links.html">http://energeeuk.gotdns.com/links.html</a><!-- m --><br />
and you save as favorite it saves it as my main index page<br />
<br />
This is probably very simple<br />
<br />
Can anybody help me..<br />
}:-)<!--content-->Nope,,,,,works great.<br />
<br />
Opens as "EnergeeUK Scott's Page" in Favorites the link page.<br />
<br />
<br />
<br />
:rocker:<!--content-->yeh worked fine, i have the feeling you mean from a link on your page?? <br />
<br />
well if you want a link on your page that when people click it it will add your site to their favorites here it is<br />
<br />
<br />
<script language="JavaScript1.2"><br />
<br />
//configure the two variables below to match yoursite's own info<br />
var bookmarkurl="http://URL.com"<br />
var bookmarktitle="This is my site name"<br />
<br />
function addbookmark(){<br />
if (document.all)<br />
window.external.AddFavorite(bookmarkurl,bookmarktitle)<br />
}<br />
<br />
</script><br />
<br />
<br />
Just customise the bookmarkurl and the bookmarktitle with what you want your site to be named as in their favorites folder and copy it into the HEAD section of your page.<br />
<br />
Next <br />
<br />
copy this to where ever you want to add the link on your page.<br />
<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"javascript:addbookmark()">Bookmark this site!</a><br />
<br />
<br />
<br />
And now when your user clicks that link you will be added to their favorites lists as what ever you wanted you site to be named :)<br />
<br />
Hope that helped ya :)<!--content-->
 
Back
Top