I'm trying to give people the option of making my internet site their homepage.
Well, I think that should explain what I'm looking for.
If I'm mistaking, please let me know %26amp; i'll try to explain it in a different way.
Thanks.
What is the html code to make it possible for people to make your site a homepage?
http://javascript.internet.com/page-deta...
Reply:html is hper text mark up langage and it possible but how you I don't
Reply:This should do it for you. Replace all the references to Yahoo.com and insert your own web address. Then just insert the code into the body of your HTML document and that will do it.
%26lt;SCRIPT%26gt;
var attemptBKMRK = false;
function addToFavorites(){
if (document.all){
attemptBKMRK = true;
window.external.AddFavorite("http://ww...
}else{
window.open("http://www.yahoo.com");
}
attemptBKMRK = false;
}
function handleError() {
if (true == attemptBKMRK){ //open window for instructions
window.open("http://www.yahoo.com");
} //return true to prevent an error message
return true;
}
window.onerror = handleError;
%26lt;/SCRIPT%26gt;
%26lt;P%26gt;IE 4.x+ Users with Javascript Enabled: %26lt;/P%26gt;
%26lt;P%26gt;
%26lt;LI%26gt;You can automatically set your start page by %26lt;A
onclick="this.style.behavior='url(#defau...
this.setHomePage('http://www.yahoo.com');"
href="http://www.yahoo.com"%26gt;Clicking
This Link%26lt;/A%26gt;
%26lt;P%26gt;%26lt;/P%26gt;
Have fun!
stamen
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment