PDA

View Full Version : How to open a web page in pop up window?



livio
09-16-2002, 12:59 PM
Just that, how can I open a popup window from MS4?

As soon my project open, it will open a pop up html page too.
Can you guys help me?

Livio

Lorne
09-16-2002, 01:00 PM
Use a "File - Open" action, and put the URL in the "File to open" field.

Corey
09-16-2002, 01:00 PM
Actually that won't create a pop-up window, just a full browser...

Is there a browser object on your page?

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Lorne
09-16-2002, 01:09 PM
Yeah, I wasn't sure if he wanted an actual pop-up (i.e. javascript DHTML effect) or just a browser that would pop up over AutoPlay...

livio is probably an ESL user so I figured heck, just in case... /ubbthreads/images/icons/smile.gif

livio
09-16-2002, 01:09 PM
Thank you for reply, but I really need to open a popup window, no scrool, no bars.

Can I have some way to insert javascript in open action, or some?

Tia

Corey
09-16-2002, 01:12 PM
Well if you have a browser object on your page simply set it to launch the javascript pop-up onLoad (in the body tag of whatever HTML page loads into the browser object).

If not then create a browser object, shrink it down tiny and set it to nav to an HTML page which features a javascript pop-up onLoad and then hide it using a page object hide action.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Corey
09-16-2002, 01:19 PM
Just for the record Lorne, I hear you... One never, ever, ever knows... The method you mentioned is just as important to state and re-state anyhow since it isn't self evident...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

livio
09-16-2002, 01:32 PM
Well, I have to assume thatīs thereīs no way to open a popup html window direct from SM4, without using some exterior trick?

Thanx evebody

(whatīs ESL ?)

Lorne
09-16-2002, 01:39 PM
(English-as-Second-Language. A hopefully polite way of referring to someone who is still learning English, and might not be saying exactly what they meant.)

Corey
09-16-2002, 01:43 PM
Ummm, I just showed you a way to do it all internally...

If you're looking for a Windows application which parses Javascript/DHTML (The only way to create pop-ups is Javascript/DHTML) then that would be a "browser" you're looking for. No way to create pop-ups without a browser, because a pop-up is a browser window.

Now that being said, the name "pop-up" implies that it pops-up right? Well it has to pop-up from something or it wouldn't be called a pop-up. So it "pops-up" from a browser (The only thing which can parse Javascript/DHTML)...

So if you're asking for a pop-up window without any browser for it to pop-up from then you aren't really asking for a pop-up...

My reply shows you how to create a pop-up window from AMS which is what I thought you were asking for...


Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

livio
09-16-2002, 01:46 PM
Yep, you right, thank you Lorne.

livio
09-16-2002, 01:55 PM
Humm, my fault, sorry for that and you guys help me a lot.
See ya,

Livio