-
What do I use (not iframes) to pull content from one file into another.
Hello.
I’ll start with my question first.
What can I use (php or javascript?), that isn’t iframes, to pull content from one html file and place it in another? I want to make each page reference and display content from a single external file.
I’m building a site for my boss that we use to display the current status of our content to our clients. Since it is updated multiple times a day, and each update is archived, I need some sort of dynamic navigation system. At the moment I am using a single index file and iframes for the navigation and content. When I update, I update the html file for the nav with the newest projects and then add new content pages for those new posts.
In case my description isn’t very clear, my thinking behind my design is that each of these sites have 30-50 pages. The menu has a link for each new post and is updated every couple hours so it’s foolish to have the menu built into each page. I’d rather just do something like place some sort of script on a div that pulls the menu items from an external file. That way I only have to update one file and all others will take their info from it.
Thanks for any help.