The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Dynamic Ajax Content ; linking to a

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #28188

    Hi CSS Tricks Forum,
    I’m still relatively new to the forum and am looking for some help with this script >

    It essentially loads pages, both internal and external to a specific div.
    I got it to work and even tweeked it a bit but I cannot get the pages to load to a specific part of a page.

    I have a page called staff-list-wells.html and in this page, I have an anchor link at the top of the page I called "top"
    Then, when I hyperlinked the page I used the following syntax
    <a href="javascript:ajaxpage(‘staff-list-wells.html#top’, ‘staffinfo’);">Brooke E. Wells</a>
    but it won’t load to the top of the page.

    Any advice? Much appreciated.

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.