473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Problem with Javascript and iFrame

Hello,

http://free.hostdepartment.com/j/jav...this_works.htm

http://free.hostdepartment.com/j/jav...is_doesnot.htm

Please take a look of the above two links. The two pages are almost
identical. Each has a slide show, a image loading progress bar and a
message scroller. The message scroller is done with an <iframe>.

The first link works okay with both IE and NS. However, the second one
only works with NS. In IE5 or IE6, the iframe has an error message
"action canceled". Sometimes it works on the first try, but upon
"reload" of this page, the error message shows up or the scroller fails to
start. On the second page, I moved the script for the image
loading bar away from "onload" into the main body. This seems to cause
the problem. I can't figure out why the change of the script location can
cause this.

I am hoping to get away from using iframe, but not sure how to make
necessary modifications.

Thanks in advance for your help!

Terry

Jul 20 '05 #1
2 1604
I have read the following message from Terry <No****@NoSpam.con>
and have decided to lend my vast knowledge.

The writer said:
Hello,

http://free.hostdepartment.com/j/jav...this_works.htm

http://free.hostdepartment.com/j/jav...is_doesnot.htm

Please take a look of the above two links. The two pages are almost
identical. Each has a slide show, a image loading progress bar and a
message scroller. The message scroller is done with an <iframe>.

The first link works okay with both IE and NS. However, the second one
only works with NS. In IE5 or IE6, the iframe has an error message
"action canceled". Sometimes it works on the first try, but upon
"reload" of this page, the error message shows up or the scroller fails to
start. On the second page, I moved the script for the image
loading bar away from "onload" into the main body. This seems to cause
the problem. I can't figure out why the change of the script location can
cause this.

I am hoping to get away from using iframe, but not sure how to make
necessary modifications.

Thanks in advance for your help!

Terry


and my reply is:
You didn't say what computer. On a Mac with IE 5 it seems to work. With
Netscape 7 the scrolling box does not appear and the progress bar
flashes.

--
Dennis M. Marks
http://www.dcs-chico.com/~denmarks/
Replace domain.invalid with dcsi.net
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 20 '05 #2
http://free.hostdepartment.com/j/jav...this_works.htm

http://free.hostdepartment.com/j/jav...is_doesnot.htm

Please take a look of the above two links. The two pages are almost
identical. Each has a slide show, a image loading progress bar and a
message scroller. The message scroller is done with an <iframe>.

The first link works okay with both IE and NS. However, the second one
only works with NS. In IE5 or IE6, the iframe has an error message
"action canceled". Sometimes it works on the first try, but upon
"reload" of this page, the error message shows up or the scroller fails to
start. On the second page, I moved the script for the image
loading bar away from "onload" into the main body. This seems to cause
the problem. I can't figure out why the change of the script location can
cause this.

I am hoping to get away from using iframe, but not sure how to make
necessary modifications.

Thanks in advance for your help!

Terry


and my reply is:
You didn't say what computer. On a Mac with IE 5 it seems to work. With
Netscape 7 the scrolling box does not appear and the progress bar
flashes.


I use Windows 2000. Tried both IE5 and 6 and saw the "action canceled"
message. Sometimes, the "action canceled" message appeared on the second
try-page reload. This works okay in Mozilla 1.4.

Terry
Jul 20 '05 #3

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

Similar topics

4
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...
3
by: Ryh | last post by:
I have the following scritpt. It hides div layer when mouse is out of the div layer. Inside DIV I have IFRAME box. Unfortuantely it does not work in Mozilla or IE 5.5. It hides div when cursor is...
6
by: NoCopy na | last post by:
Using the following example: domiframetest.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...
1
by: Paul Fi | last post by:
can some one help me here coz this is really killing me! the problem is, i have this javascript code in my aspx page that i want it to work on almost all browsers, especially opera and safari : ...
7
by: Oleg | last post by:
I have a web form let's say 'YYZ.aspx'. It has an iframe in it. When it loads it shows progress bar in IE this way: loading for page then again loading for page in iframe. This part is fine....
18
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
5
by: althafexcel | last post by:
hi everyone Im trying to include an external js in my aspx page under the head tag, it doesn't load or it displays an object expected error whenver the function from the .js is called. Actually...
2
by: sorobor | last post by:
dear sir .. i am using cakephp freamwork ..By the way i m begener in php and javascript .. My probs r bellow I made a javascript calender ..there is a close button ..when i press close button...
3
polymorphic
by: polymorphic | last post by:
I have succeeded in embedding PDF files in a dynamic iframe. The problem is that I need the PDF to cache. If the PDF remains the same from page load to page load then the pdf is somehow cached with...
1
by: raviviswanathan.81 | last post by:
Hello, So we have a webmaster who sets document.domain to some domain. After that, we try to create and inject text inside an iframe by getting the iframeID.contentDocument (or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.