Log in

View Full Version : Popup Window Generator & IE opening as maximised



daytripper
12-09-2009, 08:43 PM
1) Script Title: Popup Window Generator

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/popwin.htm

3) Describe problem:
I have used the Popup Window Generator from Dynamic Drive before. It's just what I need.

I have just used it for a client's webpage but it goes to a full maximised Window in IE8 rather than the size I have specified. It is perfect in Firefox.

The page is at http://www.andor.co.uk/ima/why.html

It works when one of the logos is clicked, should open a small window.

(I had used a earlier version of the script on the "What" page of the same website a year ago, this is fine in IE. Click on any of the green boxes)

Have I done something wrong? Any help gratefully received

jscheuer1
12-10-2009, 05:07 PM
I'm pretty sure it's the names you are giving for the windows, ex:


onclick="NewWindow(this.href,'Bentley Testimonial','400','200','yes','center');return false"

IE doesn't like spaces, use an underscore:


onclick="NewWindow(this.href,'Bentley_Testimonial','400','200','yes','center');return false"

or skip it:


onclick="NewWindow(this.href,'BentleyTestimonial','400','200','yes','center');return false"

daytripper
12-10-2009, 08:10 PM
John

Wicked! You cracked it!

Interestingly enough it didn't even like hyphens. I removed the spaces and it now works.

Many thanks