API call to replace parts in html

Carsten Burghardt burghardt at kde.org
Fri May 7 18:53:25 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

when an email (html page in this case) is displayed in kmail that contains 
images and you selected an inline attachment style those images are 
displayed. They reference a tmp file (<img src="file://...>). Now if you use 
imap and activate load-on-demand those images exist but are empty. They get 
loaded one by one and with each image the email is completely repainted which 
is extremely ugly.
So I want khtml to repaint the page once the image is complete so that it 
doesn't flicker that much. Is there anything that could be used for this? 
Replace the image, tell the node to repaint, tell the complete page to 
repaint, ...? A generic approach would be very good as this might also be 
used for other parts e.g. text attachments (<div> or <p> in this case AFAIK).


Thanks,

Carsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAm80VpgC5XOAdEFIRAuJ3AJsEN0WCvBny42giRC+A9JCtLlJJoACgjddf
foJFnulER7aZP2NBwGdS2HM=
=JSmq
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list