473,943 Members | 6,128 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Netscape 7+ & IFrame

I'm using the HTML below as a transition page. It is shown while a
page that takes a long time to load is processed (report.asp). It
works just fine under IE6 but not Netscape 7.

The ReportTransitio n.htm referenced simply contains this (nothing
else):
<img src="ReportTran sition.gif" />

The following is the html that does not work in Netscape 7, any idea
what's wrong with it or a way I could do this better?
<html>
<head>
<script language="javas cript">
function BeginPageLoad()
{
window.frames['frameImage'].location = "ReportTransiti on.htm";
document.locati on.href = 'report.asp';
}
</script>
</head>
<body onload="BeginPa geLoad()">
<table border="0" cellpadding="0" cellspacing="0" width="100%"
height="100%">
<tr>
<td align="center" valign="middle" >
<iframe id="frameImage " frameborder="no " width="360"
height="170"></iframe>
</td>
</tr>
</table>
</body>
</html>
Jul 23 '05 #1
2 1395
Brett Robichaud wrote:
I'm using the HTML below as a transition page. It is shown while a
page that takes a long time to load is processed (report.asp). It
works just fine under IE6 but not Netscape 7.

The ReportTransitio n.htm referenced simply contains this (nothing
else):
<img src="ReportTran sition.gif" />

The following is the html that does not work in Netscape 7, any idea
what's wrong with it or a way I could do this better?
<html>
<head>
<script language="javas cript">
function BeginPageLoad()
{
window.frames['frameImage'].location = "ReportTransiti on.htm";
document.locati on.href = 'report.asp';
}
</script>
</head>
<body onload="BeginPa geLoad()">
<table border="0" cellpadding="0" cellspacing="0" width="100%"
height="100%">
<tr>
<td align="center" valign="middle" >
<iframe id="frameImage " frameborder="no " width="360"
height="170"></iframe>
</td>
</tr>
</table>
</body>
</html>


See if this works any better:

<script type="text/javascript">
function LoadNewPage(url ) {
document.locati on.href = url;
}
function LoadIframe(url) {
document.frames['frameImage'].location.href= url;
}
</script>
</head>

<body
onload="LoadIfr ame('ReportTran sition.htm');Lo adNewPage('repo rt.asp');">

Jul 23 '05 #2
On 23 Apr 2004 16:39:45 -0700, Brett Robichaud <br************ @yahoo.com>
wrote:
I'm using the HTML below as a transition page. It is shown while a
page that takes a long time to load is processed (report.asp). It
works just fine under IE6 but not Netscape 7.
You might be better off with using the DOM-defined HTMLIFrameEleme nt.src
property. Mozilla certainly supports that, but not location. For example:

var frm = window.frames[ 'frameImage' ];

if( frm ) {
if( 'undefined' != typeof frm.src ) {
frm.src = 'ReportTransiti on.htm';
} else if( 'undefined' != typeof frm.location ) {
frm.location = 'ReportTransiti on.htm';
}
}
The ReportTransitio n.htm referenced simply contains this (nothing
else):
<img src="ReportTran sition.gif" />
Do you include an XHTML DOCTYPE before using XHTML syntax? You don't
include any DOCTYPE at all in the HTML you posted.

[snip]
<script language="javas cript">


This should read:

<script type="text/javascript">

The type attribute is required whilst the language attribute is deprecated
and should no longer be used.

[snip]

Mike

--
Michael Winter
M.******@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4772
by: Federico Bari | last post by:
Good morning all from italy, i have probably a compatibility problem with a html/javascript page. The aim of the code of the file test.htm you find here following (copy the 3 files in the same directory) is to change the content of a layer, created with the <div...> tag, with an external text (clicking over an hiperlink) or with the result of a <form...> submition. The solution (I haven't been able to find anyone else) is to use a...
1
4356
by: Christian Radermacher | last post by:
Hi, the following code has the mentioned behaviour: <html> <head> <script type="text/javascript"> function newA() { for (i=0;i<3;i++) { var a = window.frames.document.createElement("a");
7
3699
by: Scott | last post by:
Hello All, I've been reading all of the various issues with Iframes in netscape. I have tried all of the various fixes posted, and have even implemented both an iframe and ilayer. My problem is that no matter which i use, i can access the src before and after i change it, but the page never displays. in IE6 it works no matter how i access it. here is the code that is changing it: function InternalNav(sPage) {
1
2332
by: Dom | last post by:
Hi, Can anyone help me with this teaser ? I have an iframe with id and name set to 'iframe', in which I load a frameset of two frames (lets call them TopFrame and BottomFrame). Inside frame BottomFrame I have an image object which I manipulate from TopFrame and use this to do so :
4
1631
by: Treetop | last post by:
I have code that works in IE but not Netscape 7+. This code allows me to have a list of links that bring up an image and description in an iframe. This works great in IE, however I have users that are Netscape users. main page: var links=new Array();
4
2826
by: Jon | last post by:
Hi, I have an iframe in a cell: <td id="contents" width="643"> <iframe width="643" height="232" src="home.asp" frameborder="0" scrolling="no"></iframe> </td> <td onClick="document.all.contents.innerHTML='<iframe width=643 height=232
6
2227
by: Vincent van Beveren | last post by:
Hey everyone, I have trouble capturing events in Netscape 7.1. I am building a WYSIWYG editor thingy which should both work in IE and NS 7. For this I use designMode='on'. However, it seems like as soon as I do that, it stops capturing events from that element. // // EditGUI is a simple WYSIWYG editor for chat
2
348
by: apchar | last post by:
I have a simple ad rotator that's driving mozilla and netscape a little crazy. You know that symbol in the upper right corner of the browser that animates while a page is downloading and is supposed to stop once the page is loaded? Well, after my rotate() function is called the animation starts and stops randomly as I move the mouse around the page over various other links. This only happens in Netscape and Mozilla firefox. Did I do...
1
1160
by: Balaji. M. | last post by:
Hi, The following code not works in netscape 7.2, function WizardMoveNext () { CurrentStep++; WizardPage = "regreqstep" + CurrentStep + ".php"; alert ("Current Wizard Page " + WizardPage); document.getElementById("frSubTab").src = WizardPage;
0
9970
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10662
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8219
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4910
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4510
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.