Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/11/2008, 20:12
Avatar de bacdavi
bacdavi
 
Fecha de Ingreso: junio-2006
Ubicación: http://localhost/
Mensajes: 351
Antigüedad: 17 años, 11 meses
Puntos: 7
Respuesta: Códigos Página de Inicio y Favoritos

Código HTML:
<script language="JavaScript">
<!-- based on script from http://javascript.internet.com/page-details/set-homepage-link.html -->
if (document.all){
document.write('<a class=\'red\' href=\"#\" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.yoursite.com\');" title=\" IE users: Click here to make the Guide your browser Start Page. (Opera: > Navigation > Set Home Page) \">');
document.write('Start Page</a>');
}
// If it's Netscape 6, tell user to drag link onto Home button
else if (document.getElementById){
document.write('<a class=\"red\" style=\'cursor:help\' href="http://www.yoursite.com" title=\" Make the Web Evangelism Guide your browser Start Page: drag this link onto the browser top-left Home graphic button \" onClick=\'return false\'>Start Page</a>');
}
// If it's Netscape 4 or lower, give instructions to set Home Page
else if (document.layers){
document.write('<span class=\"popup2\" title=\' Make the Guide your browser Start Page: - Go to Preferences in the Edit Menu. Choose Navigator from the list on the left. Click on the Use Current Page button. \'>Start page</span>');
}
// If it's any other browser, for which I don't know the specifications of home paging, display instructions
else {
document.write('<span class=\"popup2\" title=\' Make the Guide your browser Start Page: - Go to Preferences in the Edit Menu. Choose Navigator from the list on the left. Click on the Use Current Page button. \'>Start page</span>');
}
</script> 
Probá con este
si te gustó dame karma jeje