helius
06-10-2009, 08:17 PM
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!
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!