Results 1 to 2 of 2

Thread: Use anchor tag with Dynamic Ajax Content

  1. #1
    Join Date
    Jun 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Use anchor tag with Dynamic Ajax Content

    From: http://www.dynamicdrive.com/dynamici...jaxcontent.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:

    Code:
    Code:
    <a href="javascript:ajaxpage('ajaxfiles/external.htm#footer, 'rightcolumn');">end of page</a>
    but nothing happens.. is this possible?

    Thanks!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •