rick003
02-01-2011, 11:07 PM
Hi,
I manage a old autohit script where a frame not loading anymore in firefox.
I tried everything and really not know anymore where I have to search.
I also tried the folowing new script but it does not work for me (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm)
The frame does load just fine in IE but not in FF.
See here a example and load this URL in IE and FF to see the difference. (http://www.hitmachine.nl/hits.php?id=5607)
<?
require('error_inc.php');
require('config_inc.php');
$id=intval($id);
$query = "select type,br from ".$t_user." where id=".$id;
$result = MYSQL_QUERY($query);
$type=mysql_result($result,0,"type");
$br=mysql_result($result,0,"br");
if($type==0){
if($br==0){
$cr=$basic_min;
}elseif($br==1){
$cr=$basic_max;
}
}elseif($type==1){
if($br==0){
$cr=$silver_min;
}elseif($br==1){
$cr=$silver_max;
}
}elseif($type==2){
if($br==0){
$cr=$gold_min;
}elseif($br==1){
$cr=$gold_max;
}
}
?>
<html>
<head>
<title>Hitmachine Surfer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="Javascript">
score=new Array();
score=0;
url=new Array();
url[1]="";
ida=new Array();
ida[1]=0;
ida[2]=0;
function maxWindow(){
if (document.all) {
intwidth=window.screen.availWidth;
intheight=window.screen.availHeight;
}else {
intwidth=800;
intheight=600;
}
window.moveTo(0,0);
window.resizeTo(intwidth,intheight);
}
function autohit(){
parent.mainFrame.location.href="autohit.php?id=<?print $id;?>";
}
</script>
</head>
<frameset rows="85,*" frameborder="NO" border="0" framespacing="0" cols="*" >
<frame name="topFrame" scrolling="NO" noresize src="nav.php?id=<?print $id;?>" frameborder="NO">
<frame name="mainFrame" src="proc.php" scrolling="YES">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>
The mainFrame stays a white page while I can just see fine the topFrame.
Can somebody help plz
I manage a old autohit script where a frame not loading anymore in firefox.
I tried everything and really not know anymore where I have to search.
I also tried the folowing new script but it does not work for me (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm)
The frame does load just fine in IE but not in FF.
See here a example and load this URL in IE and FF to see the difference. (http://www.hitmachine.nl/hits.php?id=5607)
<?
require('error_inc.php');
require('config_inc.php');
$id=intval($id);
$query = "select type,br from ".$t_user." where id=".$id;
$result = MYSQL_QUERY($query);
$type=mysql_result($result,0,"type");
$br=mysql_result($result,0,"br");
if($type==0){
if($br==0){
$cr=$basic_min;
}elseif($br==1){
$cr=$basic_max;
}
}elseif($type==1){
if($br==0){
$cr=$silver_min;
}elseif($br==1){
$cr=$silver_max;
}
}elseif($type==2){
if($br==0){
$cr=$gold_min;
}elseif($br==1){
$cr=$gold_max;
}
}
?>
<html>
<head>
<title>Hitmachine Surfer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="Javascript">
score=new Array();
score=0;
url=new Array();
url[1]="";
ida=new Array();
ida[1]=0;
ida[2]=0;
function maxWindow(){
if (document.all) {
intwidth=window.screen.availWidth;
intheight=window.screen.availHeight;
}else {
intwidth=800;
intheight=600;
}
window.moveTo(0,0);
window.resizeTo(intwidth,intheight);
}
function autohit(){
parent.mainFrame.location.href="autohit.php?id=<?print $id;?>";
}
</script>
</head>
<frameset rows="85,*" frameborder="NO" border="0" framespacing="0" cols="*" >
<frame name="topFrame" scrolling="NO" noresize src="nav.php?id=<?print $id;?>" frameborder="NO">
<frame name="mainFrame" src="proc.php" scrolling="YES">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>
The mainFrame stays a white page while I can just see fine the topFrame.
Can somebody help plz