Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ghostchild

macrumors 6502
Original poster
Jun 17, 2007
355
0
Hey guys I'm currently trying to mod this PHP Photo Album script script so that I can click my menu and have my final page show in my content div. It all works separately right now, however it can't seem to work together in separate div's on the same page. Here is my link to the page please look at my code (a bit messy) and please help me find a solution...

Help me find a solution...

Thanks,
John
 
I think you forgot to upload the CSS or something with that page you linked to. Might want to check on that.
 
I'm not worried about the css right not and the files there, the main thing is getting this to work.. :mad:
 
I believe it's a path issue. In your HTML you have:

PHP:
ajaxpage('asia.php', 'display');

but asia.php isn't inside the current directory, it's a level up. Do this instead:

PHP:
ajaxpage('../asia.php', 'display');

You should also use a more proper test page, one which has a HTML, HEAD, BODY tag for instance.
 
There's a typo on the first link inside the wrapper div. You can href="onclick="

As for the links, the paths still aren't right. When I type in the paths manually, there's just a 404 page.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.