Scroll() Function

Scroll() Function

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 =” 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.)

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

See also  10 Best Apps to Help You Read More Books in Less Time

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist