[TriLUG] "Magic" navigation
Allen Freeman
knieveltech at yahoo.com
Tue Oct 23 16:41:22 EDT 2007
If you can send me a URL or example file that shows what you're working with as well as a detailed description of what it is you're trying to accomplish I'd be happy to tinker with this later this evening.
----- Original Message ----
From: Brian McCullough <bdmc at bdmcc-us.com>
To: Triangle Linux Users Group General Discussion <trilug at trilug.org>
Sent: Tuesday, October 23, 2007 3:35:38 PM
Subject: Re: [TriLUG] "Magic" navigation
On Tue, Oct 23, 2007 at 09:12:36AM -0700, Allen Freeman wrote:
> So if I'm understanding you, you're wanting to be able to automate
scrolling down to $N element on the page?
>
> detecting element coordinates:
> http://www.quirksmode.org/js/findpos.html
>
> discussion of various window. methods, scrollTo may be of interest:
> http://www.devguru.com/Technologies/ecmaScript/quickref/window.html
Sorry for the delay in getting back to you, Allan. I was checking to
see if the function in the first reference was different from the four
other variations that I have tried. Yes, this seems to work when you
have a button down the page somewhere and want to scroll back down to
where the button was clicked. Unfortunately, with the hidden DIVs
being
revealed, it seems to execute the "scrollTo" function at the bottom of
the page before the scroll value is set, and it just goes back to the
top.
Brian
--
TriLUG mailing list :
http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the TriLUG
mailing list