Ciao a tutti devo implementare una pagina HTML che appena viene visualizzata parte un download
purtroppo su Chrome mi parte solo il download senza visualizzare l'HTML anche se provo a visualizzare il sorgente esso appare
Vi posto il mio codice se potete aiutarmi grazie
codice:
html
<head>
<style type="text/css">
body{
text-align: center; /*centra in IE 5.x */
}
table{display : block;
}
div#boxtesto{
position: relative; left:-180px; top:-350px;
}
body > div#boxtesto {position: fixed; }
div#boximmagini{
position: relative; left:0px; top:-370px;
}
body > div#boximmagini {position: fixed; }
div#boxdescrizioni{
position: relative; left:200px; top:-372px;
}
body > div#boxdescrizioni {position: fixed; }
</style>
</head>
<body>
<div class="boximg" style="position: relative;">
<div width="100%" style="margin-bottom:5px;height:135px; "id="header">
<div style="float:left; background-image:url(images/bg.jpg); width:100%">
<div style="width:790px; height:135px; float:left; background-image:url(images/l.jpg);">
<a style="margin-left:26px;cursor:pointer;" href="http://www.impresasemplice.it">
<div style="width:165px; height:34px;margin-top:24px;margin-left:28px;"></div>
</a>
</div>
<div style="float:right; width:175px;height:135px;border:0px;background-image:url(images/r.jpg);">
<a style="width:18px; height:28px;margin-left:86px; float:left;cursor:pointer;" href="http://www.facebook.com/ImpresaSempliceOfficialPage">
<div style="width:16px; height:20px;margin-top:8px;"></div>
</a>
<a style="width:18px; height:28px;float:left;margin-left:10px;cursor:pointer;" href="http://twitter.com/impresasemplice">
<div style="width:16px; height:20px;margin-top:8px;"></div>
</a>
<a style="width:18px; height:28px;float:left;margin-left:10px;cursor:pointer;" href="http://www.youtube.com/impresasemplice">
<div style="width:16px; height:20px;margin-top:8px;"></div>
</a>
</div>
</div>
</div>
<center>
[img]images/download.jpg[/img]
<div id="boxtesto" class="boxtesto" >
<span class="testo" style="padding: 1px;font-family:Tahoma, sans-serif;">
<table border="0">
<tr><td>Il client audio di Collabor@ verrà scaricato in automatico entro pochi secondi.</td></tr>
<tr><td>Se il download non parte, clicca sul seguente link <></td></tr></table></span>
</div>
<div id="boximmagini" class="boximmagini" >
<span class="immagini" style="font-family:Tahoma, sans-serif;">
<table border="0">
<center>
<tr>
<td>[img]images/scarica2.jpg[/img]</td>
<td>[img]images/avvia1.jpg[/img]</td>
<td>[img]images/installa.jpg[/img]</td>
</tr>
</center>
</table>
</span>
</div>
<div id="boxdescrizioni" class="boxdescrizioni" style="bottom: 20px;left: 0px;width: 100%;">
<span class="immagini" style="font-family:Tahoma, sans-serif;">
<table border="0" >
<tr><td width="30%" valign="top">
<table border="0">
<tr><td>[img]images/uno.jpg[/img]</td>
<td> Scarica</td></tr>
</table>
Cliccare su Collabor@Setup.exe
appena scaricato nell'angolo in
basso a sinistra della finestra del
browser
</td>
<td width="30%" valign="top">
<table border="0">
<tr><td>[img]images/due.jpg[/img]</td>
<td> Avvia</td></tr>
</table>
Cliccare su Si nel pop-up di
Controllo dell'account utente
</td>
<td width="30%" valign="top">
<table border="0">
<tr><td>[img]images/tre.jpg[/img]</td>
<td> Installa</td></tr>
</table>
Cliccare sul pulsante Installa
all'interno del pop-up di installazione.
</td></tr>
</table>
</span>
</div>
</div>
</center>
<script type="text/javascript">
function download(){
//var stile = "top=500, left=0, width=600, height=120, status=no, menubar=no, toolbar=no scrollbars=no";
//window.open("download/Collabor@Setup.exe", "", stile);
window.location.href="download/Collabor@Setup.exe";
var e2 = document.getElementById(boximg);
e2.style.visibility = 'visible';
//e2.style.visibility = 'none';
//e2.style.visibility = 'visiible';
}
onload=download();
</script>
</body>
</html>