Forum Moderators: open

Message Too Old, No Replies

errors in this script?

ie only, FF fine

         

dmmh

7:19 pm on Feb 14, 2006 (gmt 0)

10+ Year Member



can anyone tell me #*$! is wrong with this?

<!-- * Script from HTMLHelpCentral.com - visit for tutorials, scripts, helpful forums and more! * -->
<!-- winBRopen BEGIN // V 1.0
function winBRopen(theURL, Name, popW, popH, scroll) {
var winleft = (screen.width - popW) / 2;
var winUp = (screen.height - popH) / 2;
winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',resizable';
Win = window.open(theURL, Name, winProp);
if (parseInt(navigator.appVersion) >= 4) {
Win.window.focus();
}
}
// winBRopen END -->

Bernard Marx

8:41 pm on Feb 14, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



er... the function hasn't been called (?)

dmmh

9:00 pm on Feb 14, 2006 (gmt 0)

10+ Year Member



its called in a php/ html file, this is just a js include :)
gives me errors on line 8 but Ill be damned if I can find it