View Full Version : Use anchor tag with Dynamic Ajax Content

06-17-2006, 11:09 PM
From: http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

Is there a way to use anchor tags with the Dynamic Ajax Content script? example on the page that the script is pulling can I put <a name="footer">something</a> and in the links section put a link to that anchor? I tried this:


<a href="javascript:ajaxpage('ajaxfiles/external.htm#footer, 'rightcolumn');">end of page</a>

but nothing happens.. is this possible?


06-18-2006, 03:18 AM
I don't think this can be done as, clicking on a link whose href is a named anchor reloads the page. Once this reloading begins, if the named anchor was on imported content, the named anchor is no longer there.