Hello,
How do I do AJAX Navigation?
Also Thanks sygon for the free coding, I am keeping the coded by bit on the layout ;)
Thanks
Tom
Printable View
Hello,
How do I do AJAX Navigation?
Also Thanks sygon for the free coding, I am keeping the coded by bit on the layout ;)
Thanks
Tom
That would depend on what you mean by ajax navigation o.0
Click a link in Navigation and it changes the content page, like iFrames but not using iFrames :P
AJAX frames?
I think they are very hard btw.
I did it before but everytime you clicked the link again it just added more and more white space to in the content area just above the writing..
But ive lost that code XD
So basically you never done it before? :P
Not classed as done it if it never worked. ;)
<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 :P
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.
All you need to do is request the page you want and then display it using ajax its just afew lines of code...
Can't someone just give me the codes roflmfao...
they're pretty hard tbh
Can someone PM me then?
EDIT: Actually ill keep it to my self.
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.
[: