Darkmatter5 Posted September 23, 2008 Share Posted September 23, 2008 Here's my pages code. <?php require('library/dbconfig.php'); require('library/byrndb_funcs.php'); $byrndb = new byrndb(); $page_title = "B.A.D.S. - Database maintenance"; ?> <!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><?php echo $page_title; ?></title> <link href="library/config.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="main"> <div id="menu"><?php include('menu.php') ?></div> <div id="content-main"> <div id="title"><?php include('title.php') ?></div> <div id="content"> <table class="standard" width="770" border="0" align="center"> <caption class="style1"><?php echo str_replace("B.A.D.S. - ","",strtoupper($page_title)); ?></caption> <tr> <td class="row_title" align="left">Alphabetical listing of clients</td> <td class="row_title"><a href="reports/rep_Aclient.php" target="content">RUN</a></td> </tr> <tr> <td class="row_title" align="left"><s>Alphabetical listing of surveys</s></td> <td class="row_title"><a href="reports/rep_Asurvey.php" target="content"><s>RUN</s></a></td> </tr> <tr> <td class="row_title" align="left">Numerical listing of job numbers</td> <td class="row_title"><a href="reports/rep_Njobnumber.php" target="content">RUN</a></td> </tr> </table> </div> </div> </div> </body> </html> How can I make the links around the "RUN"s display in the content div and not over take the whole page by putting in target="_top"? I want it to keep the menu and title divs. Quote Link to comment Share on other sites More sharing options...
F1Fan Posted September 23, 2008 Share Posted September 23, 2008 To keep it simple, but not as dynamic, you could use an iframe instead of the div. If you want it to me much more slick, you'll need to use AJAX, which would run a javascript function that will call PHP code that will then populate your 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.