View Full Version : having window expand

07-02-2008, 02:40 PM
i want my products to display when clicked, but when i click them there are too many and they run into my footer. i am sure there is a simple code to have the window expand but i am not sure if it is php or html or of the code if someone could key me in the right direction it would be great

07-02-2008, 02:45 PM
It should expand by default. You're doing something wrong. :(

07-02-2008, 02:48 PM
no the window expands but i want the body to expand only with a scroll bar

heres my code

<?php require_once("includes/connection.php"); ?>
<?php require_once("includes/functions.php"); ?>

<?php //find_selected_page(); ?>
<?php include("includes/header.php"); ?>
<table id="structure">
<td id="navigation"><a href="index.php" target="_top" onclick="MM_nbGroup('down','group1','HOME','',1)" onmouseover="MM_nbGroup('over','HOME','images/buttonhomeover.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttonhome copy.gif" alt="" name="HOME" width="75" height="50" border="0" id="HOME" onload="" /></a><br />
<a href="Products.php" target="_top" onclick="MM_nbGroup('down','group1','Products','',1)" onmouseover="MM_nbGroup('over','Products','images/buttonproductsover copy.gif','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttonproducts copy.gif" alt="" name="Products" width="75" height="50" border="0" id="Products" onload="" /></a><br />
<a href="shoppingcart.php" target="_top" onclick="MM_nbGroup('down','group1','ShoppingCart','',1)" onmouseover="MM_nbGroup('over','ShoppingCart','images/buttoncartover.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttoncart copy.gif" alt="" name="ShoppingCart" width="75" height="50" border="0" id="ShoppingCart" onload="" /></a><br />
<a href="contactus.php" target="_top" onclick="MM_nbGroup('down','group1','ContactUs','',1)" onmouseover="MM_nbGroup('over','ContactUs','images/buttoncontactover.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttoncontact copy.gif" alt="" name="ContactUs" width="75" height="50" border="0" id="ContactUs" onload="" /></a><br />
<td id="page">

$product_set = get_all_products();
$sel_product = get_all_products();

while($row = mysql_fetch_array($product_set)){
echo "<p>";
echo $row['product_name']."<br />";
echo "$".$row['product_price']."<br />"."<br />";
echo $row['product_description']."<br />";
echo "</p>";

?> </body>
<?php include("includes/footer.php"); ?>

07-02-2008, 03:09 PM
there is a requirement for a dreamweaver produced code forum

07-02-2008, 03:20 PM
sorry but i am very new to this i really dont understand your post, i searched the site looking for requirements

07-02-2008, 04:49 PM
sorry but i am very new to this i really dont understand your post, i searched the site looking for requirementsYou're fine, the comment was not related to your problem. Can you post the HTML that is generated by the browser (view->source) or put this live somewhere? This is not a PHP issue but a HTML issue.

07-02-2008, 06:17 PM
yea i am working on hosting it right now but ran into aproblem with my username i will post the url when i get this resolved