Jump to content

Archived

This topic is now archived and is closed to further replies.

dark dude

Hidden Frames

Recommended Posts

How do you hide frames?

I've managed to get them to hide in Internet Explorer, but it wont hide in Firefox etc...

See:

http://img297.imageshack.us/img297/1716/borderiie1.png

http://img170.imageshack.us/img170/1165/borderte6.png


Here are the pages codes (as you can see, some irrelevant bits are cut out):
[code]<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<?

include("dbinfo.inc.php");

mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");

$query = "SELECT * FROM Processes WHERE Activator='$Username'";
$result = mysql_query($query) or die(mysql_error());

$results = mysql_fetch_array($result);

$num=mysql_numrows($result);
?>
<FRAMESET COLS=16%,*>
<FRAME SRC="sidebar.php?<? echo session_id() ?>" NAME=SIDEBAR FRAMEBORDER=NO NORESIZE>
<FRAMESET ROWS=15%,*,<? $m=0;

while ($m < $num){
if($m==$num-1){
echo '0.00%';
} else {
echo '0.00%,';
}
$m++;
}
?>">
<FRAME SRC="topbar.php?<? echo session_id() ?>" NAME=TOPBAR NORESIZE>
<FRAME SRC="overview.php?<? echo session_id() ?>" NAME=MAIN FRAMEBORDER=NO BORDERCOLOR='#000033'>
<?

$i=0;

while ($i < $num){

$id=mysql_result($result,$i,"id");

?>
<FRAME SRC='BuildFindzs.php?id=<? echo $id ?>' NAME=BUILDFIN<? echo $id ?> FRAMEBORDER=NO BORDERCOLOR='#000033' NORESIZE>
<?
$i++;
}
?>
</FRAMESET>
  </FRAMESET>
[/code]

So yeah, how do you hide them? And I dont want them disabled, they need to work themselves in those isolated frames >_>

Share this post


Link to post
Share on other sites

×

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.