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.