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 -