I would suggest you take a look at: https://addons.mozilla.org/en-US/firefox/addon/6489
I believe it implements the feature you want. /Christian On Apr 2, 2008, at 11:38 AM, [EMAIL PROTECTED] wrote: > Dear All, > > Zoom to fit in iPhone is very attractive and I'm learning how to > implement this feature. > > But there is 2 questions puzzled me a lot: > 1. How could I know the demision of an element, say, image, if width > and height is not provided in HTML source? > One common case is something like: <img src="xxxxxx"> > 2. How could I know origin's coordinate(screenX, screenY) of the node > double clicked? It's easy to know where the > mouse clicked, but how could I know, if I double click on a image, the > image's origin's coordinate? > > Best Regards, > > enrico > _______________________________________________ > dev-embedding mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-embedding _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
