Moderatori: Anthony47, Triumph Of Steel, archimede
Dove si deve aprire? E hai provato gli eventi che suggerivo sopra? O forse anche semplicemente con title="indicazioni che vorresti nel fumetto"...nicholas ha scritto:vorrei aggiungere che quando ci si passa su col mouse si deve aprire una specie di fumetto
Meglio, male non può fare.nicholas ha scritto:se non è chiaro posto il codice.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
//-->
</script>
<meta name="description" content="AZIENDA DI PROMOZIONE TURISTICA PINZOLO MAONNA DI CAMPIGLIO:
info su:
- alberghi e appartamenti
- piste e passeggiate
- manifestazioni e iniziative">
</head>
<body bgcolor="#0066FF" text="#FFFFFF" link="#FFFF00" onLoad="MM_preloadImages('imma/centro2.png')">
<div align="center">
<p>
<label></label>
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('pinzolo1','','imma/centro2.png',1);MM_callJS('on rollover')"><img src="imma/centro1.png" name="pinzolo1" width="800" height="800" border="0" usemap="#pinzolo1a"></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('pinzolo1','','imma/centro2.png',1);MM_callJS('on rollover')">
<map name="pinzolo1a" id="pinzolo1a">
<area shape="rect" coords="1,0,206,210" href="home.htm" target="_self">
<area shape="rect" coords="588,-6,797,201" href="http://www.comune.pinzolo.tn.it/homepage" target="_blank">
<area shape="rect" coords="-1,585,213,799" href="http://www.pinzolo.it/" target="_blank">
<area shape="rect" coords="592,585,800,798" href="http://www.campanedipinzolo.it/" target="_blank">
</map>
</a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('pinzolo1','','imma/centro2.png',1);MM_callJS('on rollover')">
</a></p>
</div>
</body>
</html>
quando ci si passa su col mouse si deve aprire una specie di fumetto
Sinceramente non ho ancora capito cosa vuoi fare esattamente.si deve aprire una nuova immagine quando si passa su ciascuna delle scritte
Questo mi è ancora più oscuro.si devono aprire in self
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function Visualizza(img) {
if (img == ' ') {
html = " ";
} else {
html = "<img alt='Loading...' src='" + img + "' />";
}
document.getElementById('divImage').innerHTML = html;
}
//-->
</script>
<meta name="description" content="AZIENDA DI PROMOZIONE TURISTICA PINZOLO MAONNA DI CAMPIGLIO:
info su:
- alberghi e appartamenti
- piste e passeggiate
- manifestazioni e iniziative">
</head>
<body bgcolor="#0066FF" text="#FFFFFF" link="#FFFF00" onLoad="MM_preloadImages('imma/centro2.png')">
<div align="center">
<div id="divImage"></div>
<p>
<label></label>
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('pinzolo1','','http://www.freeimagehosting.net/uploads/0aa1a10178.gif',1);">
<img src="http://www.pc-facile.com/images/logo.png" name="pinzolo1" width="800" height="800" border="0" usemap="#pinzolo1a" alt="img1"></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('pinzolo1','','imma/centro2.png',1);">
<map name="pinzolo1a" id="pinzolo1a">
<area shape="rect" coords="1,0,206,210" href="home.htm" target="_self" onMouseOut="Visualizza(' ');" onMouseOver="Visualizza('http://www.pc-facile.com/images/logo.png');" alt="area1">
<area shape="rect" coords="588,-6,797,201" href="http://www.comune.pinzolo.tn.it/homepage" target="_blank" onMouseOut="Visualizza(' ');" onMouseOver="Visualizza('http://www.pc-facile.com/images/logo.png');" alt="area2">
<area shape="rect" coords="-1,585,213,799" href="http://www.pinzolo.it/" target="_blank" onMouseOut="Visualizza(' ');" onMouseOver="Visualizza('http://www.pc-facile.com/images/logo.png');" alt="area3">
<area shape="rect" coords="592,585,800,798" href="http://www.campanedipinzolo.it/" target="_blank" onMouseOut="Visualizza(' ');" onMouseOver="Visualizza('http://www.pc-facile.com/images/logo.png');" alt="area4">
</map>
</a>
</p>
</div>
</body>
</html>
Visitano il forum: Nessuno e 5 ospiti