Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: User Interface Design
Expertise: Beginner
Aug 11, 2000

Scroll() Function

Question:
In the current Web project I have been working on, I have some links on my page which execute a JavaScript function. With this JavaScript function, I open up a pop-up window, using "var newWin = window.open()." Within this pop-up window, I need to scroll down to a specific point in the Web page once the page is loaded. The scroll() function seems to work with Netscape, but I get the error "Access is Denied" when I try this in IE 5. Is there any way to successfully do this with a pop-up window in both browsers? (Note: the page I am spawning is not my own, it is a large corp. Web site.)

Answer:
Unfortunately, IE won't let you scroll someone else's Web page, as it thinks that this is a security violation.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date