-
controlling launch of browser from non-web application
i want to limit Explorer to a pop winow when it launches from another program. i am guessing it can be done and i need some expert advise.... i want to hyperlink to a web site from a powerpoint presentation (that is in kiosk mode in a continuous loop) and control the Explorer window when a user clicks on the hyperlink. right now it launches explorer in a default window size which seems to be controlled by powerpoint (although i could not find the settings) with all of the toolbars and menu items... what i want is a pop-up window with an option to close in the window. went looking through some of the applets but could not find anything.... i know a bit about what applets are for, but I am by no means a technical wizard by any means so any help would be much appreciated or ideas where i might look. thanks.
-
I couldn't quite understand exactly what you were trying to say in your post, but let me say this:
If you want control over a brower, expecially if it is from a platform-specific program (such as Powerpoint), you will have tremendous difficulty using Java.
The size of a browser window is often controlled using Javascript (not Java):
http://www.codeave.com/javascript/code.asp?u_log=7065
ArchAngel.
O:-)
-
Thank you for that. Turns out it is indeed a javascript solution, except it's one line of code that you insert where you simply put a URL. This is the line -
javascript:resizeTo(700,650);moveTo(182,50);document.location.href='http://website.com' -
This controls the browser size and position on the screen when it opens. My other problem (which I did not mention) was how to limit access to the toolbars and menus (which is usually what happens in a pop window).
In the end, I will turn off the toolbars and menus in Explorer directly through the software properties and let the hyperlink in Powerpoint control the window. This is becuase my presentations a running in kiosk mode and I want to limit the use of the browser to the site that it is linked. Without toolbars, menus and location, viewers are limited in their options.
Thanks alot..... this forum may prove to be a good resource for me and my colleagues in the future.
-
ArchAngel.
O:-)
-
Thanks for the useful web sites.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks