Jump to content

Excali

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Excali's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I made an index.php page which look like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="Maindiv"> <div id="Hoofdingdiv"> <div id="Hoofding_contentdiv">Chun is conquering the banners .</div> </div> <div id="Menudiv"> <div id="Menu_contentdiv"> <?php include("navigatie.php");?> </div> </div> <div id="Middendiv"> <div id="Midden_leftmenudiv"><?php include("left_content.php"); ?></div> <div id="Midden_contentdiv"><?php include("main.php"); ?></div> <div id="Midden_rightmenudiv"><?php include("right_content.php"); ?></div> </div> <div id="Onderdiv"></div> </div> </body> </html> but in my navigatie.php I've only used this code: <table id="Menu_contentdiv"> <tr> <td><a href="pages/index.php">main</a></td> <td><a href="pages/encyclopaedia.php">encyclopaedia</a></td> <td><a href="pages/restaurants.php">restaurants</td> <td><a href="pages/search.php">search</td> <td><a href="pages/information.php">information</td> </tr> </table> Now my question is, how I should work to have only the midden_content changed. I've tried to use Javascript language but that didn't work. I think the include functions are not a good idea in this case, right? here is my website atm: http://ims0708d03.dreamhosters.com/
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.