API call to replace parts in html

Kevin Krammer kevin.krammer at gmx.at
Mon Jun 21 17:45:56 BST 2004


On Sunday 20 June 2004 23:51, Carsten Burghardt wrote:
> On Sunday 20 June 2004 17:18, Kevin Krammer wrote:
> > On Sunday 20 June 2004 17:03, Carsten Burghardt wrote:
> > > On Sunday 20 June 2004 15:18, Kevin Krammer wrote:
> > > > On Sunday 20 June 2004 14:44, Carsten Burghardt wrote:
> > > > > This seems to load ...something. I have an html page that contains
> > > > > images that refer to local files. When this page (the mail) is
> > > > > loaded the first time these images have a 0 size so they appear
> > > > > broken. Now I replace these
> > > >
> > > > Assuming there is an iosalve for IMAP, would it be possible to use
> > > > IMAP URLs instead of file URLs for the image sources?
> > >
> > > Probably not as kmail should not always load the images.
> >
> > Hmm, maybe use KHTMLPart::setAutoloadImages(false) in this case?
>
> If I set this to false, how can I load the image then?

Sorry, no idea, but Konqueror can be configured to not automatically load 
images and it then displays a toolbar button to load them.

> Apart from this: Do you know what I have to do to force the part to reload
> a certain node, in this case the image?

No idea either, but that should be in Konqueror's code as well.

Cheers,
Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040621/e08436ac/attachment.sig>


More information about the kfm-devel mailing list