|
(no subject) [message #671611 is a reply to message #671488] |
Wed, 18 May 2011 09:17  |
Eclipse User |
|
|
|
Hi,
There is not cross-Browser API for doing this. However there are a couple
of possibilities you can explore:
1. When I google "javascript zoom" it gives links to several JS scripts that
claim to do zooming. I haven't tried any of them, but if you find one that
works for you then you can probably use it from the java side with
Browser.execute() or Browser.evaluate() calls.
2. Alternatively, if you want to ship a XULRunner with your app then you can
create your Browser instance with syle SWT.MOZILLA and do the zooming via
JavaXPCOM. There is an example of this in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=160620 . For more info on
using JavaXPCOM see http://www.eclipse.org/swt/faq.php#howusejavaxpcom .
HTH,
Grant
"SBS" <forums-noreply@eclipse.org> wrote in message
news:iqvlsf$hhb$1@news.eclipse.org...
> I'd like the user to be able to zoom the contents of a
> Browser. Is this possible? How?
>
> Thanks,
>
> -sbs
|
|
|
Powered by
FUDForum. Page generated in 0.15643 seconds