Abrir una ventana con imagen de nuestro logo, ancho y alto determinado.
1º: Copia este código dentro del tag HEAD, tienes que modifica las dimensiones width=207, height=90 , por las de tu imagen
<SCRIPT LANGUAGE="JavaScript">
<!--
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=207,height=90');");
}
// -->
</script>
2º: Utiliza el siguiente link para abrir la ventana, modifica la http: por http://web donde se encuentra tu imagen.com - asi como el texto, Ejemplo Abrir imagen Pop Up
<A HREF="javascript:popUp('http://kits.com.es/imagenes/kits_logo.gif')">Abrir imagen Pop Up</A>
1º: Copia este código dentro del tag HEAD, modifica var url= por http://tu web.com - asi como var titulo=
<script LANGUAGE="JavaScript">
function agregar(){
if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) {
var url="http://www.kits.com.es/";
var titulo="kits";
window.external.AddFavorite(url,titulo);
}
else {
if(navigator.appName == "Netscape")
alert ("Presione Crtl+D para agregar este sitio en sus Bookmarks");
}
}
</script>
2º: Colocar dentro del tag BODY
<input type="button" value="Agregar a favoritos" onClick="javascript:agregar();">
1º: Copia este código dentro del tag BODY - modifica las dimensiones ancho y alto
<script language="JavaScript1.2">
// ancho
var marqueewidth=150
// alto
var marqueeheight=80
// velocidad
var speed=1
// contenido
var marqueecontents='<font face="Arial"><small>Centros de Interpretación . El de Alcaine representa los distintos ecosistemas con su fauna típica. Se muestran en maquetas, fotografías y paneles informativos los diferentes paisajes que componen el Martín (roquedos, estepa, bosque de ribera y mediterráneo). <a href="http://alcaine.blogia.com/">La Voz de Alcaine</a>.<p> </p></small></a></font>'
if (document.all)
document.write('<marquee direction="up" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+marqueecontents+'</marquee>')
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}
function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write(marqueecontents)
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.height
scrollit()
}
function scrollit(){
if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.top-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.top=marqueeheight
scrollit()
}
}