Newsgroup: it.comp.lang.javascript
Titolo: Aiutooooo ragazzi per favore

Salve ragazzi ho un problema con questo codice finchè son tre o quattro
collegamenti funziona tutto bene ma nel caso di dodici come questo caso mi
visualizza errore, perchè?
ciao un bacio da Annalisa a tutti quelli che mi aiuteranno
<HTML>
<HEAD>
<script>
<!--
var mylocation="../prov/na/colella.htm"
var winheight=400
var winsize=500
var x=11
function go1(){
win2=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win1.location=mylocation
return
}
win2.resizeTo(100,100)
win2.moveTo(0,0)
go2()
}
function go2(){
if (winheight>=screen.availHeight-3)
x=0
win2.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win2.location=mylocation
winheight=100
winsize=100
x=5
return
}
setTimeout("go2()",10)
}
file://-->
</script>
<script>
<!--
var tylocation="../prov/na/brasi.htm"
var winheight=400
var winsize=500
var x=11
function go3(){
win3=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win3.location=tylocation
return
}
win3.resizeTo(100,100)
win3.moveTo(0,0)
go4()
}
function go4(){
if (winheight>=screen.availHeight-3)
x=0
win3.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win3.location=tylocation
winheight=100
winsize=100
x=5
return
}
setTimeout("go4()",10)
}
</script>
<script>
<!--
var sylocation="../prov/na/carre.htm"
var winheight=400
var winsize=500
var x=11
function go5(){
win4=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win4.location=sylocation
return
}
win4.resizeTo(100,100)
win4.moveTo(0,0)
go6()
}
function go6(){
if (winheight>=screen.availHeight-3)
x=0
win4.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win4.location=sylocation
winheight=100
winsize=100
x=5
return
}
setTimeout("go6()",10)
}
</script>
<script>
<!--
var vylocation="../prov/na/Ferrar.htm"
var winheight=400
var winsize=500
var x=11
function go7(){
win5=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win5.location=vylocation
return
}
win5.resizeTo(100,100)
win5.moveTo(0,0)
go8()
}
function go8(){
if (winheight>=screen.availHeight-3)
x=0
win5.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win5.location=vylocation
winheight=100
winsize=100
x=5
return
}
setTimeout("go8()",10)
}
</script>
<script>
<!--
var my0location="../prov/na/stara.htm"
var winheight=400
var winsize=500
var x=11
function go10(){
win20=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win10.location=my0location
return
}
win20.resizeTo(100,100)
win20.moveTo(0,0)
go20()
}
function go20(){
if (winheight>=screen.availHeight-3)
x=0
win20.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win20.location=my0location
winheight=100
winsize=100
x=5
return
}
setTimeout("go20()",10)
}
file://-->
</script>
<script>
<!--
var ty0location="../prov/na/agna.htm"
var winheight=400
var winsize=500
var x=11
function go30(){
win30=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win30.location=ty0location
return
}
win30.resizeTo(100,100)
win30.moveTo(0,0)
go40()
}
function go40(){
if (winheight>=screen.availHeight-3)
x=0
win30.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win30.location=ty0location
winheight=100
winsize=100
x=5
return
}
setTimeout("go40()",10)
}
</script>
<script>
<!--
var sy0location="../prov/na/capa.htm"
var winheight=400
var winsize=500
var x=11
function go50(){
win40=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win40.location=sy0location
return
}
win40.resizeTo(100,100)
win40.moveTo(0,0)
go60()
}
function go60(){
if (winheight>=screen.availHeight-3)
x=0
win40.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win40.location=sy0location
winheight=100
winsize=100
x=5
return
}
setTimeout("go60()",10)
}
</script>
<script>
<!--
var vy0location="../prov/na/paesa.htm"
var winheight=400
var winsize=500
var x=11
function go70(){
win50=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win50.location=vy0location
return
}
win50.resizeTo(100,100)
win50.moveTo(0,0)
go80()
}
function go80(){
if (winheight>=screen.availHeight-3)
x=0
win50.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win50.location=vy0location
winheight=100
winsize=100
x=5
return
}
setTimeout("go80()",10)
}
</script>
<script>
<!--
var my00location="../prov/na/angel.htm"
var winheight=400
var winsize=500
var x=11
function go100(){
win200=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win100.location=my00location
return
}
win200.resizeTo(100,100)
win200.moveTo(0,0)
go200()
}
function go200(){
if (winheight>=screen.availHeight-3)
x=0
win200.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win2.location=my00location
winheight=100
winsize=100
x=5
return
}
setTimeout("go200()",10)
}
file://-->
</script>
<script>
<!--
var ty00location="../prov/na/amme.htm"
var winheight=400
var winsize=500
var x=11
function go300(){
win300=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win300.location=ty00location
return
}
win300.resizeTo(100,100)
win300.moveTo(0,0)
go400()
}
function go400(){
if (winheight>=screen.availHeight-3)
x=0
win300.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win300.location=ty00location
winheight=100
winsize=100
x=5
return
}
setTimeout("go400()",10)
}
</script>
<script>
<!--
var sy00location="../prov/na/mormile.htm"
var winheight=400
var winsize=500
var x=11
function go500(){
win400=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win400.location=sy00location
return
}
win400.resizeTo(100,100)
win400.moveTo(0,0)
go600()
}
function go600(){
if (winheight>=screen.availHeight-3)
x=0
win400.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win400.location=sy00location
winheight=100
winsize=100
x=5
return
}
setTimeout("go600()",10)
}
</script>
<script>
<!--
var vy00location="../prov/na/brunasso.htm"
var winheight=400
var winsize=500
var x=11
function go700(){
win500=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win500.location=vy00location
return
}
win500.resizeTo(100,100)
win500.moveTo(0,0)
go800()
}
function go800(){
if (winheight>=screen.availHeight-3)
x=0
win500.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win500.location=vy00location
winheight=100
winsize=100
x=5
return
}
setTimeout("go800()",10)
}
</script>
</head>
<BODY text="#000000" alink="black" background="b-s-grey.gif"
vlink="#FF0000"  link="#FF0000">
<center><b><font color="#3333FF"><font size=+2>Napoli e
Provincia</font></font></b></center>
<p><br>
<table BORDER COLS=1 WIDTH="100%" HEIGHT="10%" >
<tr>
<td><b><font color="#3333FF"><font size=+1><a href="javascript:go1()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Colella</a>
- Bacoli</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go3()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Brasiello</a></u>
- S. Antimo</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go5()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Carrella</a></u>
- Soccavo</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go7()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >F.lli
Ferrara</a></u> - S.Pietro a Patierno</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go10()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Starace</a></u>
- Castellammare di Stabia</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go30()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Carr.Agnano</a></u>
- Pozzuoli</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go50()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >F.lli
Capasso</a></u> - S.Pietro Patierno</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go70()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Paesano</a></u>
- Napoli</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go100()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Angelina</a></u>-
Agnano</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3366FF"><font size=+1><u><a href="javascript:go300()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Ammendola</a></u>
- Gragnano</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go500()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Mormile</a></u>
- Frattamaggiore</font></font></b></td>
</tr>
<tr>
<td><b><font color="#3333FF"><font size=+1><u><a href="javascript:go700()"
onMouseover="window.status='open window';return true"
onMouseout="window.status=''" >Brunasso</a></u>
- Torre del Greco</font></font></b></td>
</tr>
</table>
</HTML>


Occhio alla chiusura  dei commenti file://-->
Intasco i baci e scappo.
ciao da glassman

 >
