huh?!? you like this layout but you dont know PHP? Why would you need to know PHP? :s
Printable View
Thats cool, thanks. :)
Nice :)
Never used that concept tbh so im not sure i would addapt :)
Is it possible to have all the pages on diffrent documents?
(im new to things like this you see)
Yes it is , but I find using Includes alot easier to manage as all you do is add content to a new .txt file then update the nav bar ;)
If you need any help on how you add new links to the navbar you can read it here:
http://dynamicdrive.com/dynamicindex17/ajaxcontent.htm
All you do is add an hyper link to the text but instead of an URL you have it asWhere page = the name of the .txt file with the content you want loaded and main being the id of the div you want to content to be shown in ;).Code:javascript:ajaxpage('page.txt', 'main');
I dont have any reason to use it but it looks good :) I dont understand how the php thing works but want one of my layouts to do that
The <?php include ("URL") ?> basically does what it says , it includes an external file into actual page, Instead of having to do alot of mucking around on the main page with the CSS and HTML you can have all the content in .txt files which will get included onto the main page.
Along side the aid of AJAX you can make it so the file that gets included changes when you click on the nav so the page doesn't have to reload and only the content div will automatically update.
Using this method lowers the amount of .html files you would usually make and lowers load time ;).
Thanks for this layout +Rep