called frame takes full screen

by Floyd Baker <fbaker(at)olm1.com>

 Date:  Mon, 17 Sep 2001 16:27:27 -0400
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Hi..

I have script code which works on my machine but then does not work on
when it's uploaded...   When I select a new page for frame named
'middle' it changes ok locally but takes up the entire screen when
it's on line.  Can anyone advise why?  

It's written with a mix of php but the isp is ok to handle that.  


Here's the script.

<HTML>
<HEAD>
<TITLE> Database Administration </TITLE>
</HEAD>
//<?

print "    <FRAMESET COLS='120, *' BORDER=0 >";

print "        <FRAME SRC='console_left.php3' WIDTH=146  SCROLLING=NO
MARGINWIDTH=1 MARGINHEIGHT=1 NAME='LEFT'>";

print "        <FRAME SRC='console_middle.php3' NORESIZE NAME='MIDDLE'
>";

print "    </FRAMESET>";

//?>
<!--BORDER=0 SPACING=0 FRAMEBORDER=0 FRAMESPACING=0 -->
</HTML>



<HTML>
<HEAD>
<TITLE>Left Frame</TITLE>
</HEAD>


<BODY bgcolor="ffeedd" TEXT="black" LINK="gray" VLINK="gray"
ALINK="gray">

//<? 

print "<B>";
print "<BR><BR> DATA BASE ADMINISTRATION";
print "<BR>
<BR>
<FORM ACTION='rwuea_console_left.php3' METHOD='post'>
MODE: <br>
<SELECT NAME='filetype'>
<OPTION SELECTED>$filetype
<OPTION>Emails
<OPTION>Members
<OPTION>Newsletter
</SELECT><h3>";

if(!($filetype))
{
    print '<br>SELECT MODE';
}
else 
{
        print"</h3>";
	switch($filetype) 
	{
		case 'Emails':             
			print "<A HREF='emailadds_input.php3'
TARGET='MIDDLE'> - INPUT - </A><BR>";
			print "<A HREF='emailadds_delete.php3'
TARGET='MIDDLE'> - DELETE - </A><BR>";
			break;
		
		case 'Members':
			print "<A HREF='members_input.php3'
TARGET='MIDDLE'> - INPUT - </A><BR>";
			print "<A HREF='members_delete.php3'
TARGET='MIDDLE'> - DELETE - </A><BR>";
			break;

		case "Newsletter":
			print "<A HREF='newsletter_input.php3'
TARGET='MIDDLE'> - INPUT - </A><BR>";
			print "<A HREF='newsletter_delete.php3'
TARGET='MIDDLE'> - INPUT - </A><BR>";
			break;
		
		
		default:
		print "default";
		
    };
}
//?>
<BR><INPUT TYPE=submit  VALUE=Submit><BR></FORM>
<BR>
<BR>
</BODY>
</HTML>




--

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA