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

List:       kde-devel
Subject:    Re: DOM::Node::getRect problem. Help please.
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2004-07-18 21:27:02
Message-ID: 200407182327.02523.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday 18 July 2004 21:13, Michael A. Borisov wrote:
> Hi All,
>
> I'm using KHTML for my embeddable browser. Presently my goal is to
> implement a mouseless navigation for my browser.
>
> The problem is sometimes DOM::Node::getRect returns wrong coordinates of
> DOM objects. Usually it occures for images. I investigated this problem
> and I understand that it depends on scrolling.
> For example if image width is smaller than KHTMLView::visibleWidth()
> then getRect() returns correct coordinates. But if image width is bigger
> than KHTMLView::visibleWidth() getRect() returns wrong x and y and
> negative width and height.
>
> I solve this problem with the help of JavaScript code invokation from
> KHTMLPart object. But it is not fast anough.
>
> It is very important for me to solve this problem ASAP. Any your help or
> suggestions will be very much appreciated.

Try asking on kfm-devel list, the list for Konqueror and KHTML development.

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
www.mrunix.de - Unix/Linux programming forum
www.qtforum.org - Qt programming forum

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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