after calling javascript open.window, cursor remains as an eggtimer

Hi,

when I open a new window with a procedure like this:


writeln('<a href="javascript:jsVOpen('+Chr(39)+MkVLink+Chr(39)+')">Plus Berechnung</a>')


function jsVOpen(aURL) {
  aMode="status=no, resizable=yes, scrollbars=no, width=430, height=500, left=20, top=20";
  aTitle="Plus";
  window.open(aURL, aTitle, aMode);
}

In the new opened window is this function:

  <script>
   self.focus();
  </script>


The problem is that the Cursor at the calling Window remains as an eggtimer.

Any Idea?

Thanks in advance,
duke63
duke63Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BustaroomsCommented:
duke, +Chr(39)+MkVLink+Chr(39)+

is that the URL that you are trying to open?  are those variables?

if MkVLink is a variable you will need to do it like this

writeln("<a href='javascript:jsVOpen('Chr(39)" + MkVLink + "Chr(39)')>Plus Berechnung</a>")

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
devicCommented:
hey duke63,
???
writeln('<a href="javascript:jsVOpen('+Chr(39)+MkVLink+Chr(39)+')">Plus Berechnung</a>')

why not
document.write('<a href="javascript:jsVOpen(\''+MkVLink+'\')">Plus Berechnung</a>')


and what has new window? Maybe there is problem.
duke63Author Commented:
Hi Bustaroomes, hi devic,

thanks for your quick suggestions.
The problem dissapeared independently.
I tried the page today and there is no eggtimer anymore.
(There was a reboot in the night, maybe that helped)
I heard of that problem before, thats why I thought it is caused by some unpropper coding or so.

Actually, it doesnt look like.

Thanks anyway.
Duke63.

What am I going to do with that question?

 


jaysolomonCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: Bustarooms {http:#9240619} & devic {http:#9243138}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jAy
EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.