Problems with navigation and divs
I want it to work so, that when I click something in my menu, for example the contact info-button, i want the content to change only in the content div. At the moment it loads the whole page, as I have them all in different pages, which actually sucks, cause if I change something in the navigation, I have to change it to way too many pages. It's probably simple, but no can do. So how can I do that? Help..
Btw, I hope you understood my problem. My explanation wasn't probably the best one.
Thank you for help. It works, but the text appears after the wrapper div. The structure of my page is as follows:
I have a wrapper div, inside that there are the header div, menu div with my dropdown menu, then leftcol, content and rightcol. I want the header, menu and leftcol stay the same on every page. Rightcol is only on the index page, and then content is what changes according to the links. Now if I do as it says on that php tutorial and leave the code for menu, header and leftcol to the menu.php file and then put the content and rightcol divs inside the index.php with the php include command, it throws the text under the wrapper div. How can I get it inside the content div? Do I need to add something else to the files?
Last edited by InTrouble; 01-17-2009 at 05:21 AM.
To get just the content to change using Ajax.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread