Grow your CSS skills. Land your dream job.

Dynamic Ajax Content ; linking to a

  • # February 27, 2010 at 12:46 pm

    Hi CSS Tricks Forum,
    I’m still relatively new to the forum and am looking for some help with this script >http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

    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)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".