PDA

View Full Version : Dynamic Ajax Content and in page anchor jumps



Z-247
05-17-2007, 01:55 AM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem: I was wondering if there was a way to link to an ajax loaded page and jump to an anchor point in that page. For example, normally my link would be:

<a href="page.htm#anchorname">Link</a>

I've been trying:

<a href="javascript:ajaxpage(page.htm#anchorname', 'contentdiv'); loadobjs('external.css')">Link</a>

But it just seems to ignore the #anchorname part of the link. Is there a way to make this work, or am I out of luck?

Thanks in advance- Z-247