arielmedel Posted October 17, 2006 Share Posted October 17, 2006 I saw a simple tutorial to use includes, I made this page http://wetmagazine.org/ruff/template.phpbut I want it that when a button is clicked only the body part, named page.php, changes, instead all the page loads another content page.Any help please? Quote Link to comment Share on other sites More sharing options...
b_angelr Posted October 17, 2006 Share Posted October 17, 2006 In the link code you need to specify i wich frame it will be opened[code]<a href="#" target"framename">your image here</a>[/code] Quote Link to comment Share on other sites More sharing options...
arielmedel Posted October 17, 2006 Author Share Posted October 17, 2006 ok, this is the div wher ethe content should appear<div class="body">your content goes here<?php @ include ("page.php"); ?></div>how can I give it a name? just name=body? like this?:<div class="body" name="body">your content goes here<?php @ include ("page.php"); ?></div> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.