Results 1 to 2 of 2

Thread: Dynamic Ajax navigate to original div

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

    Default Dynamic Ajax navigate to original div

    I'm using the Dynamic Ajax Content script and I'm setting it up to load all content in my contentarea, excluding my navigation.
    Everything works fine, except, when I try to setup a HOME button or navigate back to the original div content I get stumped.

    This is my layout

    <div id="nav">
    <a href="javascript:ajaxpage('orginal page', 'contentarea');"><img src="img/home.png">
    <a href="javascript:ajaxpage('page1.html', 'contentarea');"><img src="img/page1.png">
    <a href="javascript:ajaxpage('page2.html', 'contentarea');"><img src="img/page2.png">
    </div>
    <div id="contentarea">
    Content in here I want to be able to go back to by the click of a button.
    </div>


    Hope you guys can get me a quick javascript fix or something I can throw in my code. Thanks!
    Last edited by Snookerman; 06-12-2009 at 04:06 PM.

  2. #2
    Join Date
    Jun 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Fixed it. I decided to put the lower content on a different .html page and just have it load first.

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
  •