What if a html page uses a iframe for images?
Koos Vriezen
koos.vriezen at xs4all.nl
Tue Jul 27 13:07:05 BST 2004
Hi,
>From a dutch trafic site this link
http://www.anwb.nl/servlet/Satellite?pagename=OpenMarket/ANWB_verkeer/PopupVerkeerStreams&camera=everdingen
This page has an iframe for images taken by a webcam, a combo to select
another location "Kies een camera" and a refresh "Verversen" for an
update.
Now the iframe starts with '/content/ht_ml_blok/empty.htm' but depending
how an user got there or the location combo, it's replaced by a jpg from
javascript:
window.frames['iframeCamera'].location= 'http://212.45.53.87:8090/xx.jpg'
at first this works of course. But what happens is that this will
replace the iframe with a KHTMLImage kpart. So every next attempt to
update will fail.
Seems a pretty fundamental error here to me. Actually I get only think
of keeping a KHTMLPart for iframes with one 100%x100% child part, to
solve this one.
Koos
More information about the kfm-devel
mailing list