Crear un icono para añadir a favoritos

0
Si quieres ofrecer la posibilidad a tus lectores que añadan a sus favoritos tu blog debes seguir estos pasos:

1) Vamos a Diseño2) Elemento de página
3) Añadir un gadget
4) HTML/Javascript
5) Pegamos el siguiente código:



<center><script type="text/javascript">
function agregar(){
//IE
if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) {
var url="http://www.URLDETUBLOG.com/"; //
var titulo="NOMBRE DE TU BLOG"; //
window.external.AddFavorite(url,titulo);
}
//Para Firefox
else {
if(navigator.appName == "Netscape")
//
window.sidebar.addPanel("NOMBRE DE TU BLOG", "http://www.URLDETUBLOG.com","");
}
}
</script>
<a href="javascript:agregar()"><img alt="favoritos" src="http://img186.imageshack.us/img186/7939/agregameatusfavoritospe.jpg"/></a></center>



Tan sólo debes modificar NOMBRE DE TU BLOG y URLDETUBLOG por tus datos. La imagen la he creado yo y la puedes emplear sin ningún problema. Me animo también a crear alguna más si alguien lo pide ;)

Nota: Lamentablemente sólo funciona con los navegadores Internet explorer y Firefox.


Y ya que estamos... ¿me añades a tus favoritos?







favoritos








¿Quieres más imágenes?


Para esta imagen emplea este link: http://s3.subirimagenes.com:81/imagen/previo/thump_3125923favoritos22.png




Para esta imagen emplea este link: http://img248.imageshack.us/img248/2123/favoritos.png




Para esta imagen emplea este link: http://img87.imageshack.us/img87/795/favoritosgoyu73.png

Para esta imagen emplea este link: http://img132.imageshack.us/img132/149/favoritosrepliks.png