On Wednesday, July 2, 2003, at 04:10 PM, Maciej Stachowiak wrote:
For instance, it doesn't look like you can intercept a click on a
link which points to an anchor in the same document.
Do you have an example that shows you can't? I believe it should work
using the normal policy delegate mechanism to intercept link clicks.
Oops, my mistake. It appeared it wasn't being called earlier, but I
must have had a bug in my code, because it's being called now.
Maybe using WebCore directly is a better idea... but there's no
stable API for that, is there?
WebCore has no public API, and in general it's not a good idea to link
to it directly. Maybe if you tell us a bit more about your specific
requirements, we can help you figure out ways to do what you want with
Basically what I'm up to is an ebook browser (for OEB ebooks, which are
basically XHTML). There are two basic difficulties that I know of.
One is that you want page at a time scrolling, at least as an option.
This also means that anchor links should go to a page boundary which
contains the anchor. The other is that you do not want to have to
read in and render your entire potentially huge book just to start
reading at a particular point. I have some ideas about that second
one, but they all involve finding out where elements are.
webcore-dev mailing list