Solved

MoveTo(0,0) sometimes produces "Access denied" error

Posted on 2004-10-13
4
477 Views
Last Modified: 2012-05-05
Hi Experts

Could anyone explain to me why and under what exact conditions MoveTo(0,0) generates an Access denied error. On a page with an onLoad function to return the window to its origin, if you refresh the page and then very fast click on an outbound link, I can get this error to appear. However, I do not know why it comes up.
0
Comment
Question by:metalaureate
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
Kupi earned 500 total points
ID: 12301804
0
 
LVL 13

Expert Comment

by:cLFlaVA
ID: 12301872
hey Kupi, not trying to hijack this post,just want to know: how do you make the anchor link?
0
 
LVL 3

Expert Comment

by:Kupi
ID: 12301927
Hi cLFlaVA,
to get the anchor link you have to find the <a name="[number]"></a> inside the HTML (every post has a different one) and add #[number] at the end of the url ;)
0
 
LVL 13

Expert Comment

by:cLFlaVA
ID: 12301958
wow, really...
too complicated.

I thought there was an easier way, like at tek-tips.

thanks for the info.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question