problem with frames in netscape

admin

Administrator
Staff member
Hi,

Here i have a sample code where in i load a pdf file
in the right frame and the pdf should get loaded within the
the frame.but in case of netscape 6.0 and above, it opens a new window and it loads the pdf document.

here is the sample code


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us">
<head>
<script type="text/javascript">bSignOn = false;</script><script type="text/javascript" src=http://www.webdeveloper.com/forum/archive/index.php/"includes\base1.js"></script><script type="text/javascript">var sShowtoc ='y';var sId = 2148977892;</script><script type="text/javascript">var sExternal = 'y';</script>
<script type="text/javascript">

if (sShowtoc="y")
{
document.write('<frameset rows="64,*">');
document.write('<frame name="fmHeader" src=http://www.webdeveloper.com/forum/archive/index.php/"docheader.htm" framespacing="0" scrolling="no" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" frameborder="no" border="0" noresize><\/frame>');
document.write('<frameset cols="250,*" id="fsBookBody" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" framespacing="5" noresize>');
document.write('<frameset id="fsNavigation" cols="100%" rows="50,*" >');
document.write('<frame id="fmSearch" src=http://www.webdeveloper.com/forum/archive/index.php/"booksearch.htm" scrolling="no" topmargin="0" leftmargin="0" marginheight="10" marginwidth="10" frameborder="no" border="0" > <\/frame>');
document.write('<frame name="fmOutline" src=http://www.webdeveloper.com/forum/archive/index.php/"sea00001.htm" scrolling="yes" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" frameborder="no" border="0""><\/frame>');
document.write('<\/frameset>');
document.write('<frame name="fmContent" src=http://www.webdeveloper.com/forum/archive/index.php/"http://localhost/ntl/docs/8016/cc/e4/TPSEC04.pdf" scrolling="no" topmargin="" leftmargin="0" marginheight="10" marginwidth="10" frameborder="1" border="0""><\/frame>')
document.write('<\/frameset>');
document.write('<\/frameset>');
}
else

</script>



</head>
</html>
 
Back
Top