471,071 Members | 2,883 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,071 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 1450
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Federico Bari | last post: by
1 post views Thread by Paul Fi | last post: by
18 posts views Thread by len.hartley | last post: by
5 posts views Thread by althafexcel | last post: by
2 posts views Thread by sorobor | last post: by
1 post views Thread by raviviswanathan.81 | last post: by
reply views Thread by leo001 | last post: by

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.