Jump to content


IE Problem


1 reply to this topic

#1 nitr0x

    Young Padawan

  • Members
  • Pip
  • 201 posts

Posted 13 September 2007 - 12:03 PM

I have a problem with one of my javascripts in IE, it's a pop-up window to show the artwork on my website, it works completely fine in firefox but in IE it won't open at all. Below is the javascript.

var ShowWindow = 0;

function ShowArt(url, width, height){
	if(ShowWindow){
		if(!ShowWindow.closed) ShowWindow.close();
	}
	
	ShowWindow = open(url, 'Magicka Viewer', 'toolbar=no,location=no,directories=no,status=no, menubar=no, scrollbars=yes,resizable=yes,copyhistory=no,width='+width+',height='+height+'');
}

Any suggestions?

#2 Mr. Matt

    Moderator

  • P2L Staff
  • PipPipPipPip
  • 1,945 posts
  • Gender:Not Telling

Posted 14 September 2007 - 07:31 AM

You need to use window.open for internet explorer, i've never heard of that open() before.

Matt





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users