• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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