• Notice regarding image hosts and attachments. See here.

Homepage Question

Associate
Joined
28 Dec 2002
Posts
2,400
Location
Northern Ireland
Hi Guys,
You know on some website it gives you the option to click a link to make the current page your homepage?

how exactly would i add a link to my homepage to do the same?
 
Unlikely people will want to homepage your site - no offence but it's hard competing with Google, BBC, Yahoo etc. Better off putting a bookmark me to faves link in instead.

Code:
<head>
<script type="text/javascript">
function getonwithit()
{
var title="enter your title here"
var url="enter your URL here"
if (window.sidebar) window.sidebar.addPanel(title, url,"");
else if( window.opera && window.print )
{
var dcE = document.createElement('a');
dcE.setAttribute('rel','sidebar');
dcE.setAttribute('href',url);
dcE.setAttribute('title',title);
dcE.click();
}
else if( document.all ) window.external.AddFavorite( url, title);
}
</script>
</head>
<body>
<a href = "javascript:getonwithit()" >Add to favorites ( bookmarks )</a>
</body>
 
Back
Top Bottom