Technically, you cannot have spaces in the name/target field for window.open() method:
Code:
window.open('2007openday/popopenday.htm', 'Open Day 07', 'resizable=no, scrollbars=yes, toolbar=no, loca . . .
Many browsers will let you get away with it, but IE 7 will not, you can do:
Code:
window.open('2007openday/popopenday.htm', 'Open_Day_07', 'resizable=no, scrollbars=yes, toolbar=no, loca . . .
Also, since you are opening the link itself in the pop up, you can do:
Code:
window.open(this.href, 'Open_Day_07', 'resizable=no, scrollbars=yes, toolbar=no, loca . . .
Finally, since true/false specifications not listed are configured as false and those listed are configured as true even when no value is given, you could use just:
Code:
window.open(this.href, 'Open_Day_07', 'scrollbars, width=540, height=500, top=50, left=5')
for this type of pop up.
Bookmarks