Hello Friends,
I have design a html page, it has five different parts like header, left panel, right panel, footer and body. All are common except the body, only body should be change when I click any menu or button, I dont want to use the common page code in every page. Iframe is there but iframe is not supported by every browser. So what is the alternate way to achieve this. If anyone has good idea about that kindly help me.
Thanks & Regards,
Premashish
How to update only body part in the website ?
Moderator: General Moderators
Re: How to update only body part in the website ?
Use PHP includes or templating.
Re: How to update only body part in the website ?
Thanks for responding, I have done this by using php include() function. But I have used hyperlink in menus and when I click that menus it goes to specific page only without any common content. So how to call page in hyperlink in specific place.
Re: How to update only body part in the website ?
Use the same includes in all your pages.