davehaz
12-29-2005, 08:59 PM
I think I am working in Java, I may be wrong so let me know if I need to post this elsewhere.
I have a page I am working on, the completed page is here
http://www.buymydfwhome.com/proptemp3.html
the code for the page is here
<?
session_start();
require_once('connectbuymydfwhome.php');
$sql = "SELECT * FROM listings WHERE address = '3313' && street Like 'Provine'";
$result=mysql_query($sql);
$rows = mysql_num_rows($result);
if($rows != '1'){die("There was a problem retrieving the data.");}
$data = mysql_fetch_assoc($result);
extract($data,extr_overwrite);
?>
<!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>
<style type="text/css">
.background {background-image: url(images/aRedGloss.jpg); height: 600px; width: 724px; }
td.top {padding:25px 120px ; vertical-align:top; font-family:Tahoma, Times New Roman, System; font-size:36px;}
.center { padding-top: 114px; padding-left: 130px; vertical-align:top;}
.sidebar {vertical-align:top; font-family:Tahoma, Times New Roman, System; font-size:18px; }
hr {color:#CCCCCC; }
.bottom {font-family:Tahoma, "Times New Roman", System; font-size:24px; color:#CCCCCC; text-align:center;}
br.price { vertical-align:bottom;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><? echo $address." ".$street." Virtual Tour";?> </title>
</head>
<body>
<table class="background" align="center" >
<tr><td class="center">
<applet code=ptviewer.class name=viewer width=405 height=275>
<param name=file />
<param name=wait value="http://www.buymydfwhome.com/vtours/controlimages/wait.gif" />
<param name=preload value="<? echo $shot1; ?>,<? echo $shot2; ?>,<? echo $shot3; ?>,<? echo $shot3; ?>,<? echo $shot4; ?>,<? echo $shot5; ?>,<? echo $shot6; ?>,<? echo $shot7; ?>,<? echo $shot8; ?>" />
<param name=view_height value="307" />
</applet><br /><applet code="menu0360.class" height="28" width="406" />
<param name="attachwith" value="viewer" />
<param name="menubackground" value="http://www.buymydfwhome.com/images/redcontrol_bkgd.jpg" />
<param name="menufont" value="Serif" />
<param name="menufontstyle" value="3" />
<param name="menufontsize" value="14" />
<param name="menufgcolor" value="0,0,128" />
<param name="menubgcolor" value="255,255,255" />
<param name="viewerinit" value="newPano({file=<? echo $shot1; ?>}{pan=0}{fov=95});startAutoPan(.3,0,1)" />
<param name="displaytextarea" value="no" />
<param name="defaulttext" value="<? echo $room1; ?>" />
<param name="textarearows" value="4" />
<param name="textareacolumns" value="46" />
<param name="textareascroll" value="3" />
<param name="menuitem0" value="<? echo $menuitem1; ?>|newPano({file=<? echo $shot1; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem1" value="<? echo $menuitem2; ?>|newPano({file=<? echo $shot2; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem2" value="<? echo $menuitem3; ?>|newPano({file=<? echo $shot3; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem3" value="<? echo $menuitem4; ?>|newPano({file=<? echo $shot4; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem4" value="<? echo $menuitem5; ?>|newPano({file=<? echo $shot5; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem5" value="<? echo $menuitem6; ?>|newPano({file=<? echo $shot6; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem6" value="<? echo $menuitem7; ?>|newPano({file=<? echo $shot7; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem7" value="<? echo $menuitem8; ?>|newPano({file=<? echo $shot8; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
</applet><table><tr><td class="bottom"><br /><br /><br /><? echo $address." ".$street." ".$city.", ".$st." ".$zip;?></td></tr><tr><td class="bottom"><? echo "<br />$".$price.".00"; ?></td></tr></table><td class="sidebar"><? echo "Squarefeet-".$sqft."<hr />Bedrooms-".$bedrooms."<hr />Bathrooms-".$bathrooms."<hr />Living Areas-".$livareas."<hr />Dining Areas-".$dinarea."<hr />Pool-".$pool."<hr />Garages-".$garages."<hr />Fireplace-".$fplace."<hr />Year Built-".$yrblt."<hr />HOA-".$hoa."<hr />SCHOOLS<br /> Elem-".$elem."<br /> Middle-".$middle."<br /> High-".$high;?></td>
</td></tr>
</table>
</body>
the question and problem I am having is this. I want to be able to have the RE Agents name and phone number go across the top of the background image. I am trying to do this page dynamically so I don't have a bunch of pages hanging around. When I try and do it, I screw up my tour, is there a way to do this? If so could you please let me know.
thanks a million.
I have a page I am working on, the completed page is here
http://www.buymydfwhome.com/proptemp3.html
the code for the page is here
<?
session_start();
require_once('connectbuymydfwhome.php');
$sql = "SELECT * FROM listings WHERE address = '3313' && street Like 'Provine'";
$result=mysql_query($sql);
$rows = mysql_num_rows($result);
if($rows != '1'){die("There was a problem retrieving the data.");}
$data = mysql_fetch_assoc($result);
extract($data,extr_overwrite);
?>
<!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>
<style type="text/css">
.background {background-image: url(images/aRedGloss.jpg); height: 600px; width: 724px; }
td.top {padding:25px 120px ; vertical-align:top; font-family:Tahoma, Times New Roman, System; font-size:36px;}
.center { padding-top: 114px; padding-left: 130px; vertical-align:top;}
.sidebar {vertical-align:top; font-family:Tahoma, Times New Roman, System; font-size:18px; }
hr {color:#CCCCCC; }
.bottom {font-family:Tahoma, "Times New Roman", System; font-size:24px; color:#CCCCCC; text-align:center;}
br.price { vertical-align:bottom;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><? echo $address." ".$street." Virtual Tour";?> </title>
</head>
<body>
<table class="background" align="center" >
<tr><td class="center">
<applet code=ptviewer.class name=viewer width=405 height=275>
<param name=file />
<param name=wait value="http://www.buymydfwhome.com/vtours/controlimages/wait.gif" />
<param name=preload value="<? echo $shot1; ?>,<? echo $shot2; ?>,<? echo $shot3; ?>,<? echo $shot3; ?>,<? echo $shot4; ?>,<? echo $shot5; ?>,<? echo $shot6; ?>,<? echo $shot7; ?>,<? echo $shot8; ?>" />
<param name=view_height value="307" />
</applet><br /><applet code="menu0360.class" height="28" width="406" />
<param name="attachwith" value="viewer" />
<param name="menubackground" value="http://www.buymydfwhome.com/images/redcontrol_bkgd.jpg" />
<param name="menufont" value="Serif" />
<param name="menufontstyle" value="3" />
<param name="menufontsize" value="14" />
<param name="menufgcolor" value="0,0,128" />
<param name="menubgcolor" value="255,255,255" />
<param name="viewerinit" value="newPano({file=<? echo $shot1; ?>}{pan=0}{fov=95});startAutoPan(.3,0,1)" />
<param name="displaytextarea" value="no" />
<param name="defaulttext" value="<? echo $room1; ?>" />
<param name="textarearows" value="4" />
<param name="textareacolumns" value="46" />
<param name="textareascroll" value="3" />
<param name="menuitem0" value="<? echo $menuitem1; ?>|newPano({file=<? echo $shot1; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem1" value="<? echo $menuitem2; ?>|newPano({file=<? echo $shot2; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem2" value="<? echo $menuitem3; ?>|newPano({file=<? echo $shot3; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem3" value="<? echo $menuitem4; ?>|newPano({file=<? echo $shot4; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem4" value="<? echo $menuitem5; ?>|newPano({file=<? echo $shot5; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem5" value="<? echo $menuitem6; ?>|newPano({file=<? echo $shot6; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem6" value="<? echo $menuitem7; ?>|newPano({file=<? echo $shot7; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
<param name="menuitem7" value="<? echo $menuitem8; ?>|newPano({file=<? echo $shot8; ?>} {pan=0} {fov=95});startAutoPan(.3,0,1)" />
</applet><table><tr><td class="bottom"><br /><br /><br /><? echo $address." ".$street." ".$city.", ".$st." ".$zip;?></td></tr><tr><td class="bottom"><? echo "<br />$".$price.".00"; ?></td></tr></table><td class="sidebar"><? echo "Squarefeet-".$sqft."<hr />Bedrooms-".$bedrooms."<hr />Bathrooms-".$bathrooms."<hr />Living Areas-".$livareas."<hr />Dining Areas-".$dinarea."<hr />Pool-".$pool."<hr />Garages-".$garages."<hr />Fireplace-".$fplace."<hr />Year Built-".$yrblt."<hr />HOA-".$hoa."<hr />SCHOOLS<br /> Elem-".$elem."<br /> Middle-".$middle."<br /> High-".$high;?></td>
</td></tr>
</table>
</body>
the question and problem I am having is this. I want to be able to have the RE Agents name and phone number go across the top of the background image. I am trying to do this page dynamically so I don't have a bunch of pages hanging around. When I try and do it, I screw up my tour, is there a way to do this? If so could you please let me know.
thanks a million.