Ciao, vi espongio il mio problema.
Sotto vi metto l'intero codice della mia pagina html; ho 2 problemi, i banner a rotazione non vanno e non so xkè me ne fa vedere sempre uno, quando schiaccio sull'altro javascript con i collegamenti mi si bloccano tutte le gif che fare? Help me!!!
Il codice è il seguente :
<html>
<head>
<TITLE>ROCKETS HART </TITLE>
<script language="javascript"><!--
function loadpage() {
browver= parseInt(navigator.appVersion);
browtype = navigator.appName;
browsertype = "old";
if (browtype == "Netscape" && !(browver < 3)) {
browsertype = "new";
}
if (browtype == "Microsoft Internet Explorer" && !(browver < 4)) {
browsertype = "new";
}
if (browsertype == "new") {
thetimer = setTimeout("changeimage()", 3000);
banneradcode = 0;
listofimages = new Array(3);
listofimages[0] = new Image(468,60)
listofimages[0].src = "banner-0.gif"
listofimages[1] = new Image(468,60)
listofimages[1].src = "banner-1.gif"
listofimages[2] = new Image(468,60)
listofimages[2].src = "banner-2.gif"
}
}
function changeimage(){
if (browsertype == "new") {
banneradcode = banneradcode + 1
if (banneradcode == "3") {
banneradcode = 0
}
imagesource = "banner-" + banneradcode + ".gif"
window.document.bannerad.src = imagesource
thetimer = setTimeout("changeimage()", 5000);
}
else if (browsertype == "old") {
}
}
function changepage() {
if (browsertype == "new") {
if (banneradcode == 0) {
newlocation = "http://www.html.it"
}
else if (banneradcode == 1) {
newlocation = "http://www.html.it"
}
else if (banneradcode == 2) {
newlocation = "http://www.html.it"
}
location = newlocation
}
else if (browsertype == "old") {
location = "http://www.html.it"
}
}
// --></script>
<style type="text/css">
<!--
body {
scrollbar-3dlight-color: #C0C0C0;
scrollbar-arrow-color: rgb(255,255,255);
scrollbar-base-color: 000000;
scrollbar-darkshadow-color: #000000;
scrollbar-face-color: FF00FF;
scrollbar-highlight-color: white;
scrollbar-shadow-color: 000000;
scrollbar-track-color: #EEEEEE;
}
-->
</style>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nuova pagina 1</title>
<meta name="Microsoft Theme" content="none, default">
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation" src="file:///C:/Programmi/Microsoft%20Office/Office10/fpclass/animate.js">
</script>
</head>
<body text="#FF0000" bgcolor="#000000" onload="dynAnimation()">
<p align="center">
[img]bannerup.gif[/img]</p>
<p align="center">
[img]barra.gif[/img]</p>
<p align="center">
<a onmouseover="document['fpAnimswapImgFP9'].imgRolln=document['fpAnimswapImgFP9'].src;document['fpAnimswapImgFP9'].src=document['fpAnimswapImgFP9'].lowsrc;" onmouseout="document['fpAnimswapImgFP9'].src=document['fpAnimswapImgFP9'].imgRolln" href="http://www.geocities.com/rhwxowen/internet/internet.htm">
[img]buttons/normal/Button_1.gif[/img]</a>[img]buttons/normal/Button_2.gif[/img][img]buttons/normal/Button_3.gif[/img][img]buttons/normal/Button_4.gif[/img][img]buttons/normal/Button_5.gif[/img][img]buttons/normal/Button_6.gif[/img][img]buttons/normal/Button_7.gif[/img][img]buttons/normal/Button_8.gif[/img]</p>
<p align="center">[img]barra.gif[/img]</p>
<p align="center">[img]2004.jpg[/img]</p>
<p align="center">[img]Bannerdown.gif[/img]</p>
<p align="center">
[img]barraservice.gif[/img]
<HTML><BODY bgcolor="white"></p>
<center><TABLE border="2" bgcolor="black" cellspacing="0"
cellpadding="1">
<TD align=center><font face="arial" size="+1" color="#FF00FF">
[img]online.gif[/img] WEB RADIO ONLINE
[img]online.gif[/img]</font>
</TD></tr><tr>
<script language="JavaScript">
<!-- Hide this from older browsers
function gotoPage (form) {
if (form.way.selectedIndex == 0)
parent.location="http://www.metalexpress.no/meradio128.pls";
if (form.way.selectedIndex == 1)
parent.location="http://www.myamericanradio.net/audio/heavymetalhigh/shoutcast-playlist.pls";
if (form.way.selectedIndex == 2)
parent.location="http://www.snakenetmetalradio.com/snakenet96.pls";
if (form.way.selectedIndex == 3)
parent.location="http://www.fightforrock.com/64k.pls";
if (form.way.selectedIndex == 4)
parent.location="http://www.radiolupo.it/RLSLive.asx";
if (form.way.selectedIndex == 5)
parent.location="http://streams.swcast.net/launch.cgi/riffradio/hi-band.pls";
if (form.way.selectedIndex == 6)
parent.location="http://www.reignradio.com/media/reign_hi.pls";
if (form.way.selectedIndex == 7)
parent.location="http://www.rocketshart.tk";
if (form.way.selectedIndex == 8)
parent.location="http://www.rocketshart.tk";
if (form.way.selectedIndex == 9)
parent.location="http://www.rocketshart.tk";
if (form.way.selectedIndex == 10)
parent.location="http://www.rocketshart.tk";
if (form.way.selectedIndex == 11)
parent.location="http://www.rocketshart.tk";
if (form.way.selectedIndex == 12)
parent.location="http://www.lpage.com/wgb/wgbsign.dbm?owner=nagrom1";
if (form.way.selectedIndex == 13)
parent.location="http://www.lpage.com/wgb/wgbview.dbm?owner=nagrom1";
}
document.write('<td valign="middle"><center><form name="WebNavigator">');
document.write('<select name="way" size="5" onChange="gotoPage(this.form)">');
document.write('<option>METAL EXPRESS');
document.write('<option>AMERICAN MEGAROCK RADIO');
document.write('<option>SNAKENET METAL RADIO');
document.write('<option>FIGHT FOR ROCK');
document.write('<option>RADIO LUPO SOLITARIO');
document.write('<option>RIFF RADIO HARDROCK');
document.write('<option>REIGN RADIO');
document.write('<option>offline');
document.write('<option>offline');
document.write('<option>offline');
document.write('<option>offline');
document.write('<option>offline');
document.write('</select>');
document.write('</form></td>');
// End hide -->
</script>
</td></tr><tr><td align="center"><font face="Arial" size="2">
Winamp richiesto per le migliori
prestazioni</font>
</td></tr></table>
</center>
</center> <a href="javascript:changepage()">
[img]banner-0.gif[/img]
</a>
</p>
<p align="center">
</p>
</p>
<p align="center">[img]barraslim.gif[/img]</p>
<p align="center"><font face="Arial" size="1">website firmware 0.51 (UPDATE
08-05-2004)</font></p>
<p align="center"><font face="Arial" size="1">
<a href="http://www.geocities.com/rhwxowen/evolution.txt"><font color="#FF0000">
EVOLUTION</font></a></font></p>
<p align="center"><a href="http://www.rocketshart.tk"><font size="1">
www.rocketshart.tk</font></a><font size="1"> ,
www.rocketshart.cjb.net </font></p>
<p align="center"><script language="javascript">
<!--
var data, p;
var agt=navigator.userAgent.toLowerCase();
var img=escape("./buttons/b4.jpg");
document.cookie='__support_check=1';
p='http';
if((location.href.substr(0,6)=='https:')||(locatio n.href.substr(0,6)=='HTTPS:')) {p='https';} data = '&agt=' + escape(agt) + '&img=' + img + '&r=' + escape(document.referrer) + '&aN=' + escape(navigator.appName) + '&lg=' + escape(navigator.systemLanguage) + '&OS=' + escape(navigator.platform) + '&aV=' + escape(navigator.appVersion);
if(navigator.appVersion.substring(0,1)>'3') {data = data + '&cd=' + screen.colorDepth + '&p=' + escape(screen.width+ 'x'+screen.height) + '&je=' + navigator.javaEnabled();};
document.write('');
-->
</script>
<noscript>
<a href='http://it.cuntador.com'>
</a></noscript>
<script language="JavaScript" SRC="tastodestro.js" type="text/javascript"></script>
<BODY BGCOLOR="white" vlink="blue" link="blue" onload="loadpage()">
</body>
</html>