Jump to content

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 >_>
Link to comment
https://forums.phpfreaks.com/topic/18672-hidden-frames/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.