HighDots Forums  

automated scrollTo() problem

Javascript JavaScript language (comp.lang.javascript)


Discuss automated scrollTo() problem in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bob Kistler
 
Posts: n/a

Default automated scrollTo() problem - 09-12-2003 , 12:06 PM






I have a webpage, http://wwwt.emc.ncep.noaa.gov/gmb/bk...ep_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

Reply With Quote
  #2  
Old   
asdf asdf
 
Posts: n/a

Default Re: automated scrollTo() problem - 09-12-2003 , 10:56 PM






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.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.