473,397 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

automated scrollTo() problem

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
Jul 20 '05 #1
1 1857
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.
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Konstantin Zakharenko | last post by:
Hello, Our QA team have running a lot of test scripts (for automated regression testing), they run them on the different databases (Oracle/MS SQL). Several of those tests are dependent on the...
4
by: anna | last post by:
How to tell if a horizontal scrollbar is present? I only want to use scrollTo if horizontal scrollbar is present. window.scrollbars.visibility doesn't specify which scrollbar is present, so it...
5
by: junk419 | last post by:
Hi all. First of all I know pretty much nothing about Javascript :) It's just that I found a program/script that will refresh a webpage (not mine) every so often. It's called AllStock's...
1
by: heken | last post by:
I have this code embedded in a Firefox bookmark: javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Translate to...
18
by: ManWithNoName | last post by:
This is my first post, so be gentle. This: <body onload="window.scrollTo(x,y)"> Works fine. This:
1
by: redarko | last post by:
I have a set of imageButtons in my repeater that is in an update panel control. I would like to scroll up the page when the user clicks on one of these image (only in this case). I have tried...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.