automated scrollTo() problem

B

Bob Kistler

I have a webpage, http://wwwt.emc.ncep.noaa.gov/gmb/bkistler/javascript/ncep_maps22.html
with two frames, an upper frame1 with controls,(slideshow22.html) and
a lower, frame2, for displaying images of weather maps. I've
unsuccessfully tried to modify slideshow22.html to automate the
function clickScroll(), which executes scrollTo(x,y), which manually
works just fine when invoked by the "Click to Scroll" button.
Simple-mindedly, I tried to execute clickScroll() in functions
default() and nextpic() expecting when a new image is loaded, I could
get the desired scrolling. Even though the alert box I added as a
debug option appears as expected, the image is not scrolled. This
unexepected inability to automatically scroll images prevents my use
of slidehow options I have created.

What little hair I have left is in peril!

Thanks in advance.

My platform is a Gateway PC running Linux Redhat 6.2 and NN 4.7
 
A

asdf asdf

Hi, for me your line "parent.frame2.scrollTo" generates an Access is
Denied error.

And then I noticed that your other frame is a different website.

I would try changing how you load the image in that other frame in
some way such that it still resides in the original domain.
 

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

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top