All you need to do is request the page you want and then display it using ajax its just afew lines of code...

All you need to do is request the page you want and then display it using ajax its just afew lines of code...
It was almost there!!
Originally Posted by 01101101entor
youd need to write your own, just make an ajax request to the page you want to load, it sends back the html, put the html returned in to a div's innerHTML and ya done.Huh? :S
Ill try itOriginally Posted by Cal-.
<a onclick="dopage('PAGENAME.php', 'content')"style="cursor: pointer">LINK HERE</a> All i know is thats the code to make the thing you click on open in the content box![]()
they're pretty hard tbh
EDIT: Actually ill keep it to my self.
Last edited by Mr Macro; 16-04-2007 at 01:09 PM.
James
Connected to reality through a proxy server.
It's actually called AJAX loading as it externally loads a page, whether it be .php or .html into a specified div.
You can find it on DynamicDrive.
[:
Want to hide these adverts? Register an account for free!