Hi all,
On our website we use a popup javascript to open tutorial movies.
( look at http://www.willcom.be/demo.htm and click “voorbeeld 2” ).
Can I open this the same way directly from Servoy?
TIA
Stef
Hi all,
On our website we use a popup javascript to open tutorial movies.
( look at http://www.willcom.be/demo.htm and click “voorbeeld 2” ).
Can I open this the same way directly from Servoy?
TIA
Stef
Sure - just use application.openURL…
I know, Bob!
But I want to open them as a popup window in Explorer, no statusbar, menubar, not resizable!
Any idea?
hmm, I might be able to show this in a splash. Not sure though…
Marcel,
that would be great!
Official release on MarcelWorld ?
The issue is with trying to control your (default) browser this way that you need to use javascript IN the browser.
I don’t know of another standard(s) way to do this.
I mean it might be possible with AppleEvents on Mac OS X or VB on Windows but that is hardly a unified-crossplatform method.
So I guess we really need a webbrowser in Servoy (IceBrowser?)
Just thinking outloud.
Not really Robert,
When you want a window/field to behave like a browser you are true.
What I tested and have seen working 1 minute ago is a new splash screen created with plugins.it2be_splash.showURL(url, width, height, timeout, clickaway, border).
Unfortunately you have to preset width and height at the moment…
What is the use for this new function then ?
What does it do what a showFormInDialog (form with scrollbars disabled) can’t do ?
I guess I fail to see what Stef really wanted then.
Unless I am mistaking…
But he stated this: no statusbar, menubar, not resizable…
That’s exactly what a splash will offer!
On the other hand, now that you say it. A form in a dialog should give the same options…
I will try to explain it:
for our solutions we will have around 50 tutorial movies in flash (as the example).
Users will be able to launch them from our website (as it is now).
We also want to launch them from within Servoy, in a help screen (click here to watch the tutorial movie).
We want a popup window in a browser because otherwise it will be too big for standard screen resolutions, it cannot be fully displayed with toolbars, status bars,…
We also can store them in our database, but I prefer not.
Got it?
Any other ideas?
Thanks!
Stef
OK, well running flash from within a servoy window is not possible so you can exclude that one.
But can’t you send html/javascript directly to the browser (don’t know how, haven’t thought of that yet)…
maybe there’s a possibility to attach an onload javascript to the url page you’re calling from within servoy.
the url page would have something like
myJavascript opens antoher window and closes the current…
OK, Maarten, but do not forget the popup blockers!
I did this in “Voorbeeld 1”.
Thanks!
Stef
Two ideas:
Use the browser that normally handles Client help. i.e., put the html and movies into the Servoy/server/webapps/ROOT/client_manual folder. (I don’t know, though, if it is possible to launch a specific URL within that client_manual directory from a form in the application via whatever port Servoy Client uses for its http help??)
Leave the Help site where it is, to be accessed via IE (or Firefox, Safari, Opera, etc). Code the first page that loads with an onLoad event.
kazar
Thanks, Ilyse!
I’ll give it a try!
Use a Macromedia Director executable that you control through startup parameters
The projector can point to (and playback) any flashmovie
just a thought
HTH