Help needed with AJAX page loading...

-=Nu||=-

Gawd
Joined
Jan 5, 2002
Messages
974
Okay so here's some background on the problem, I'm working on a site (www.rdsphoto.net/2/) and I have a Javascript slideshow on it (http://smoothslideshow.jondesign.net/index.html) and I used a tutorial (http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm) to make it so the entire page won't have to reload just to change the main content on the page. I know it is probably overkill to use AJAX for this, but this site won't be getting much traffic and this seemed like an elegant solution. The problem is that when you click Portolio (the other links don't work yet) and then try to go back to Home, the slideshow won't load again, I know there's a ghetto way around this by reloading index.html, but I really would like to avoid that.

I am passing the Javascipts seperately here as the tutorial described:
Code:
<div class="buttons">
	<a href="javascript:ajaxpage('slideshow.html', 'content'); javascript:loadobjs('scripts/intro.js');">Home</a>			
	<a href="javascript:ajaxpage('portfolio.html', 'content');">Portfolio</a>	
	<a href="">Gallery</a>
	<a href="">About</a>					
</div>

It shouldn't need all the other scripts and CSS since those are already loaded, but I tried passing that to it anyways and it still didn't work.

Sorry for the long description, but I'm stumped and have spent quite a long time trying to figure it out, and I'm sure it's something really simple. I would assume that what I am trying to do is possible, if not please let me know.

Thanks in advance :)
 
Back
Top