Jay,

Thanks for this suggestion.  I ended up changing the whole design and
used the UI Tabs (which allow direct linking) so it ended up not being
an issue.

Thanks so much for the post... and sorry it took so long to get back
to report.

 - John

On Jan 23, 9:34 pm, jay <jay.ab...@gmail.com> wrote:
> something like this might work:
>
> $(document).scrollTop(getRealTop(accordian));
>
> function getRealTop(el){
> yPos = document.getElementById(el).offsetTop;
> tempEl = document.getElementById(el).offsetParent;
> while (tempEl != null) {
> yPos += tempEl.offsetTop;
> tempEl = tempEl.offsetParent;
>
> }
> return yPos;
> }
>
> On Jan 23, 8:34 pm, bcbounders <bcbound...@gmail.com> wrote:
>
>
>
> > Jörn,
>
> > Thanks for the tip... looks like that could work with a navigation
> > filter parsing out the anchor portion of the URL.  I'll give it a
> > shot, anyway!
>
> > As for the scroll-down-to-accordion part... guess I've got some more
> > googling to do!  :D
>
> > Thanks!
>
> >  - John
>
> > On Jan 23, 3:28 am, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
> > wrote:
>
> > > You can use the navigation-option for 
> > > that:http://docs.jquery.com/UI/Accordion/accordion
> > > Though you have to implement the "scroll down to accordion" yourself.
>
> > > Jörn
>
> > > On Thu, Jan 22, 2009 at 10:44 PM, bcbounders <bcbound...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > This is probably a stupid question, but I've been scouring around
> > > > trying to find an answer to no avail.
>
> > > > Is is possible to have a hyperlink that links to the accordion on
> > > > another page in such a way that it opens a specific accordion
> > > > element?  For instance, I have a page where I want to include an
> > > > accordion where each accordion element is a different service offered
> > > > by my company.  On another page, I want to have a series of links,
> > > > each one linking to a different element in the accordion, so that when
> > > > the page is loaded, it scrolls down to that element and it is
> > > > expanded.
>
> > > > Is this possible?
>
> > > > Thanks!
> > > >  - John- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Reply via email to