rayman
11-12-2002, 12:31 PM
can someone please help me this is the coding im trying to sort out can somebody please tell me where i am going wrong what it does is puts a link on a blue background in a table with other links right next to it and when you click on it; it opens a pop up window with some coding in it but why cant i make it change the contents for it different link (it just uses the first link only)
<script>
function openpopup(){
var popurl="airwolf.HTML"
winpops=window.open(popurl,"","width=400,height=338,scrollbars,")
}
</script>
<CENTER><H1><TABLE BORDER="5" CELLPADDING="3" CELLSPACING="1" WIDTH="100"><TR BGCOLOR="#1e3fcd" ALIGN="CENTER">
<TD><FONT SIZE=2 COLOR="#ffffff" FACE="Arial, Helvetica"><B><a href="javascript:openpopup()">Airwolf.</B></FONT></A></TD>
<script>
function openpopup(){
var popurl="axle.f.HTML"
winpops=window.open(popurl,"","width=400,height=338,scrollbars,")
}
</script>
<TD><FONT SIZE=2 COLOR="#ffffff" FACE="Arial, Helvetica"><B><a href="javascript:openpopup()">Axle.f.</B></FONT></A></TD>
</tr>
</table>
</h1></centre>
<script>
function openpopup(){
var popurl="airwolf.HTML"
winpops=window.open(popurl,"","width=400,height=338,scrollbars,")
}
</script>
<CENTER><H1><TABLE BORDER="5" CELLPADDING="3" CELLSPACING="1" WIDTH="100"><TR BGCOLOR="#1e3fcd" ALIGN="CENTER">
<TD><FONT SIZE=2 COLOR="#ffffff" FACE="Arial, Helvetica"><B><a href="javascript:openpopup()">Airwolf.</B></FONT></A></TD>
<script>
function openpopup(){
var popurl="axle.f.HTML"
winpops=window.open(popurl,"","width=400,height=338,scrollbars,")
}
</script>
<TD><FONT SIZE=2 COLOR="#ffffff" FACE="Arial, Helvetica"><B><a href="javascript:openpopup()">Axle.f.</B></FONT></A></TD>
</tr>
</table>
</h1></centre>