richardharmer
Programmer
The following code doesn't work as intended. the first two links open correctly, but the second two don't open and you get a constant error..any clues?
<SCRIPT LANGUAGE="JavaScript">
function twin01() {
var newWindow01 = open("images/Redon03_01.jpg", "Redon03_01", "toolbar=no,status=no,location=no,menubar=no,directories=no,width=640,height=480,top=50,left=100"
;
}
function twin02() {
var newWindow02 = open("images/Redon03_02.jpg", "Redon03_02", "toolbar=no,status=no,location=no,menubar=no,directories=no,width=640,height=480,top=50,left=100"
;
}
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function twin03() {
var newWindow03 = open("images/Redon03_03.jpg", "Redon03_03", "toolbar=no,status=no,location=no,menubar=no,directories=no,width=640,height=480",top=50,left=100"
;
}
function twin04() {
var newWindow04 = open("images/Redon03_04.jpg", "Redon03_04", "toolbar=no,status=no,location=no,menubar=no,directories=no,width=640,height=480",top=50,left=100"
;
}
</SCRIPT>
<FORM>
<INPUT TYPE="Image" SRC="images/Redon04_01.jpg" onClick="twin01()" ALT="Redon Image 1">
<INPUT TYPE="Image" SRC="images/Redon04_02.jpg" onClick="twin02()" ALT="Redon Image 2">
<INPUT TYPE="Image" SRC="images/Redon04_03.jpg" onClick="twin03()" ALT="Redon Image 3">
<INPUT TYPE="Image" SRC="images/Redon04_04.jpg" onClick="twin04()" ALT="Redon Image 4">
</FORM>
<SCRIPT LANGUAGE="JavaScript">
function twin01() {
var newWindow01 = open("images/Redon03_01.jpg", "Redon03_01", "toolbar=no,status=no,location=no,menubar=no,directories=no,width=640,height=480,top=50,left=100"
}
function twin02() {
var newWindow02 = open("images/Redon03_02.jpg", "Redon03_02", "toolbar=no,status=no,location=no,menubar=no,directories=no,width=640,height=480,top=50,left=100"
}
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function twin03() {
var newWindow03 = open("images/Redon03_03.jpg", "Redon03_03", "toolbar=no,status=no,location=no,menubar=no,directories=no,width=640,height=480",top=50,left=100"
}
function twin04() {
var newWindow04 = open("images/Redon03_04.jpg", "Redon03_04", "toolbar=no,status=no,location=no,menubar=no,directories=no,width=640,height=480",top=50,left=100"
}
</SCRIPT>
<FORM>
<INPUT TYPE="Image" SRC="images/Redon04_01.jpg" onClick="twin01()" ALT="Redon Image 1">
<INPUT TYPE="Image" SRC="images/Redon04_02.jpg" onClick="twin02()" ALT="Redon Image 2">
<INPUT TYPE="Image" SRC="images/Redon04_03.jpg" onClick="twin03()" ALT="Redon Image 3">
<INPUT TYPE="Image" SRC="images/Redon04_04.jpg" onClick="twin04()" ALT="Redon Image 4">
</FORM>