#26013 [Opn->Bgs]: Cannot display string in netscape browser only IE
| From: | edink@php.net | Date: | Mon, 27 Oct 2003 22:35:32 +0000 |
| Subject: | #26013 [Opn->Bgs]: Cannot display string in netscape browser only IE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-49545@lists.php.net to get a copy of this message | ||
ID: 26013
Updated by: edink@php.net
Reported By: contact at palmtopreader dot com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Red hat linux
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2003-10-27 17:09:23] contact at palmtopreader dot com
Description:
------------
Please visit www.palmtopreader.com
to see the problem.
Basically the www.palmtopreader.com
will display text using IE but not Netscpae
I can't figure out if it is because
Netscape will not recognize the session varables
that drive the loop or not.
Reproduce code:
---------------
function writeLine(lines, lineIdx, letterIdx){
var layer = new LayerObject("writer");
var line = lines[lineIdx];
var line2 = lines[lineIdx+1];
var tempWord;
var i = 1;
var out = "<font face = times new roman ><font size=5><B>"+ line
+" </B></font></font>" ;
var out2 = "<font face = times new roman><font size=5>"+ line2 +"
</font></font>" ;
if(line == null){
window.location="http://www.palmtopreader.com/pages/endChapter.php/";
}
if(line != null)
{
if(line2 != null) { out += out2; }
layer.write(out);
setTimeout("writeLine(lines,"+(lineIdx+1)+",0)",<? echo $speed;
?>);
}
}
// The lines that the writer will write out!
var lines = new Array();
var i = 3;
var wordHolder;
var first= "$new[";
var second = "];";
var $count = 3;
<?
include("layers.txt");
?>
//-->
</SCRIPT>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY onload=init()>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD colSpan=1 Nowrap><SPAN id=writer></SPAN></TD>
</TR>
</TABLE>
</BODY></HTML>
Expected result:
----------------
See the text in netscape
Actual result:
--------------
Can only see the text in IE
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26013&edit=1