[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: KHTML and onLoad
From:       Sebastien Richard <sebastien.richard_kde () m4x ! org>
Date:       2004-09-27 12:03:23
Message-ID: 4158018B.8030801 () m4x ! org
[Download RAW message or body]

Tobias Anton wrote:

>In that case, completed() would adequately be emitted on load, but a second 
>later, we'd have to "revoke" it, because then, we're in progress of loading 
>again.
>
>  
>
Why shouldn't use completed(pending=true) in this case ?
By the way, is there a place where we can find the exact semantics of 
the signals completed() and completed(pending=true) ?

>>Is there any other variable that
>>could indicate me that the loading is not finished ?
>>    
>>
>
>It should work with a little cross-frame scripting. You could for example put 
>onLoad="parent.setCompleted()" in the body of page3.html. Don't know what to 
>tweak additionally to get it working, though.
>  
>
I am not sure I understand your point. You want me to modify the page ?
Actually, I am using KHTML to render web pages, so I would like to be 
able to render any page with an onLoad without having to change it before.

Thanks

Sebastien

[Attachment #3 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body>
Tobias Anton wrote:
<blockquote cite="mid200409271303.50751.TA@ESC-Electronics.de"
 type="cite">
  <pre wrap="">In that case, completed() would adequately be emitted on load, but a second 
later, we'd have to "revoke" it, because then, we're in progress of loading 
again.

  </pre>
</blockquote>
Why shouldn't use completed(pending=true) in this case ?<br>
By the way, is there a place where we can find the exact semantics of
the signals completed() and completed(pending=true) ?<br>
<blockquote cite="mid200409271303.50751.TA@ESC-Electronics.de"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">Is there any other variable that
could indicate me that the loading is not finished ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It should work with a little cross-frame scripting. You could for example put 
onLoad="parent.setCompleted()" in the body of page3.html. Don't know what to 
tweak additionally to get it working, though.
  </pre>
</blockquote>
I am not sure I understand your point. You want me to modify the page ?<br>
Actually, I am using KHTML to render web pages, so I would like to be
able to render any page with an onLoad without having to change it
before.<br>
<br>
Thanks<br>
<br>
Sebastien
</body>
</html>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic