Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

resizing ie6 with javascript on sp2 not working

Ive installed service pack 2 but now I find I cant set my size of opening internet explorer pages anymore. I used to use the following as my home page

javascript:resizeTo(1024,768);moveTo(128,110);document.location.href='http://www.google.com/'

Now with sp2 when I click internet explorer it opens for a about half a second then closes, if I change the home page to just google then it opens fine. I turned off the pop up blocker in ie but its still doing it, what do I have to switch off to allow me to use it again? Thanks

0
mwd__
Asked:
mwd__
1 Solution
 
ZylochCommented:
Hi mwd__,

It might just be SP2. I don't think SP2 allows you to modify the window unless the user tells it to. It's a huge pain in the ass to use true developers, but I guess when you put in account of those spyware popups, it might be like that.

Just to verify, try making your homepage a local document. Have in it a hyperlink that when clicked will change the window size, move it, and do window.location.href='http://www.google.com/' and see if it works.

Regards,
Zyloch
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now