IE new window delay

M

Mark Smith

My machine is a decent spec, dual core, 99% idle.

IE (6+7), is really slow to show new windows on my machine, running
this snippet takes about 3 seconds to complete (during which time
iexplore.exe cpu spikes):

<input type="button" value="Show Glossary"
onclick="javascript:window.open
('Glossary.html','','width=900,height=400,scrollbars=1');"/>

With Firefox and Safari it displays almost instantly.

Any idea what could be slowing it down?

Thanks
 
S

Stevo

Mark said:
My machine is a decent spec, dual core, 99% idle.

IE (6+7), is really slow to show new windows on my machine, running
this snippet takes about 3 seconds to complete (during which time
iexplore.exe cpu spikes):

<input type="button" value="Show Glossary"
onclick="javascript:window.open
('Glossary.html','','width=900,height=400,scrollbars=1');"/>

With Firefox and Safari it displays almost instantly.

Any idea what could be slowing it down?

Thanks

Add-ons.
 
T

The Natural Philosopher

Mark said:
My machine is a decent spec, dual core, 99% idle.

IE (6+7), is really slow to show new windows on my machine, running
this snippet takes about 3 seconds to complete (during which time
iexplore.exe cpu spikes):

<input type="button" value="Show Glossary"
onclick="javascript:window.open
('Glossary.html','','width=900,height=400,scrollbars=1');"/>

With Firefox and Safari it displays almost instantly.

Any idea what could be slowing it down?

Thanks
Microsnot programmers.
 
T

Thomas 'PointedEars' Lahn

Mark said:
IE (6+7), is really slow to show new windows on my machine, running
this snippet takes about 3 seconds to complete (during which time
iexplore.exe cpu spikes):

<input type="button" value="Show Glossary"
onclick="javascript:window.open
('Glossary.html','','width=900,height=400,scrollbars=1');"/>

Remove `javascript:', `=1' and `/'. Add a proper window name and
`,resizeable'. Use lowercase filenames where possible.
With Firefox and Safari it displays almost instantly.

Any idea what could be slowing it down?

Its code. Some application with heavy CPU load. A not built-in popup
blocker. Some other plugin or add-on.

Or Gremlins.


PointedEars
 
M

Mark Smith

Remove `javascript:', `=1' and `/'.  Add a proper window name and
`,resizeable'.  Use lowercase filenames where possible.



Its code.  Some application with heavy CPU load.  A not built-in popup
blocker.  Some other plugin or add-on.


Any way of finding out what exactly?

This is a corporate PC, so I didn't install any of the software. But I
do have local admin rights.
 
M

Mark Smith

Any way of finding out what exactly?
There is most certainly a way.  Which way depends on your environment.

I am using Windows XP Pro Version 2002, SP3.
The issue likely has nothing to do with scripting, and this is not your
local help desk.

I know it's not a Javascript syntax problem. But running the script IS
triggering IE to do something, I have no idea what. A few googles for
"show ie plugins" etc didn't turn up much.

I figured in a message board full of scripting experts might know how
to get to the bottom of this interaction.

If you can't help that's ok. Or if you can suggest a better board to
ask on, that would be nice.

If my question is truly not welcome here I won't post again.
 
T

Thomas 'PointedEars' Lahn

Mark said:
I am using Windows XP Pro Version 2002, SP3.

Then you can press Ctrl+Alt+Del and select "Task Manager", or select "Task
Manager" from the Task Bar context menu. As a more verbose alternative,
there is Mark Russinovich's Process Explorer (notice his report on how he
tracked down a similar problem with that tool, if it [the report] is still
available).
I know it's not a Javascript syntax problem.

It may not even be related to scripting at all. Does the same problem occur
with Ctrl+N (or File, New Window/Tab)? If yes, the former applies.
But running the script IS triggering IE to do something, I have no
idea what.

Perhaps to open a new window or tab?
A few googles for "show ie plugins" etc didn't turn up much.

Unsurprisingly. You would need to be a lot more specific. ([psf 6.2])
I figured in a message board

This is _not_ a message board, it is a Usenet newsgroup.
full of scripting experts might know how to get to the bottom of this
interaction.

Iff it is a scripting problem, then posting the relevant source code or a
URI of a stripped-down, publicly available test case may allow the more
experienced developers here to determine the cause of the problem, at least
to narrow down the possible causes. Anything else is very likely to end up
as a guessing game, and few people would be willing to dedicate their free
time to that. (Mark the word "free".)
If you can't help that's ok. Or if you can suggest a better board to
ask on, that would be nice.

I told you already. Follow the URL.
If my question is truly not welcome here I won't post again.

You are welcome to post here if you post on-topic. Otherwise, you should,
last but not least in your own interest, post where your question is
on-topic. In this case, as it appears to be a IE-related problem, posting
to a newsgroup dealing with IE would be appropriate, of course.

Learn to quote. <http://jibbering.com/faq/#posting>


PointedEars, very patient today
 
M

Mark Smith

Then you can press Ctrl+Alt+Del and select "Task Manager", or select "Task
Manager" from the Task Bar context menu.  

I did this, I wrote in my original post that iexplore.exe cpu usage
spiked.
As a more verbose alternative,
there is Mark Russinovich's Process Explorer (notice his report on how he
tracked down a similar problem with that tool, if it [the report] is still
available).

ProcessExplorer doesn't show any subprocesses for ie.
It may not even be related to scripting at all.  Does the same problem occur
with Ctrl+N (or File, New Window/Tab)?  If yes, the former applies.

No, it's only when a script creates a new window.
This is _not_ a message board, it is a Usenet newsgroup.

I thought message board was a general term covering forums, groups,
mail lists etc...

Anyway substitute your favorite term, my comment still applies.
Iff it is a scripting problem, then posting the relevant source code or a
URI of a stripped-down, publicly available test case may allow the more
experienced developers here to determine the cause of the problem,

I did, see my original post. Any call to window.open, even without
parameters simulates the issue.
at least
to narrow down the possible causes.  Anything else is very likely to end up
as a guessing game, and few people would be willing to dedicate their free
time to that.  (Mark the word "free".)

I don't have any expectations. Just hoping someone can help.
 
T

Thomas 'PointedEars' Lahn

Mark said:
Then you can press Ctrl+Alt+Del and select "Task Manager", or select
"Task Manager" from the Task Bar context menu.

I did this, I wrote in my original post that iexplore.exe cpu usage
spiked.
ACK
As a more verbose alternative, there is Mark Russinovich's Process
Explorer (notice his report on how he tracked down a similar problem
with that tool, if it [the report] is still available).

ProcessExplorer doesn't show any subprocesses for ie.

In general, it does (IE 8 here). Under "Properties" in the context menu
there is also a Threads tab. RTFM.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,091
Messages
2,570,605
Members
47,226
Latest member
uatas12

Latest Threads

Top