[Pro] Calling a Popup window - How?

Hi,

Hoping someone can take me through the process of calling a page within the same website from the press of a button.

Basically have two pages, page1.html and page2.html.

On page1.html, there is a button, when pressed, I would like to call as a popup window, i.e sitting on top of page1.html, page2.html.

So based on this, when page2.html is visible to the user, I still want to see page1.html beneathe it.

Would appreciate the steps required. If javascript is required, then would also appreciate the javascript solution as well.

I attempted to follow the steps here:

http://freewaytalk.net/thread/view/44959#m_44966

but had no luck as with the hyperlink part.

I just want to be able to call page2.html as a popup from page1.html.

Thanks.
Tony.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The action “Link to new window” will do this for you attached to a graphic and “Text link to new window” attached to text.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks David. Two queries pls:

  1. Where do I find this action - Link to new window?

Which version of FW Pro 5?
I want to attach this action to a graphic button item and when pressed, will call page2.html as a popup.

Also - are there any examples I can see?

  1. How could I achieve this using JavaScript instead of an action?

examples here would be great too.

Thanks David.

Tony.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Wouldn’t Target = _blank do this “pop up”? It’s what I use.

From the link well - edit hyperlink and choose it as shown here (unless I’ve missed the point)…

screenshot - http://www.karenengel.com/img/v6/p1048819641-3.jpg


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

hmmmm…the board is eating my posts this morning!

Trying again -

Wouldn’t simply using Target= _blank from the link well/edit hyperlink achieve the pop up? It’s what I use.

screenshot - http://www.karenengel.com/img/v6/p1048819641-3.jpg


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Wouldn’t simply using Target= _blank from the link well/edit hyperlink achieve the pop up? It’s what I use.

Yes but the action also gives control over the size of the window, whether to have toolbars or scrollbars etc.

This action comes with FW I believe - select your graphic and choose Item>Actions>Link to new Window

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks igirl but based on your screenshot, you are referencing an external url with the target of _blank.

I actually want to access an internal page (page2.html), within the same web site but have it appear on top of page1.html.

FYI, I actually tried this for an internal page with a target of _blank but it still fires page2.html as a separate page and not as a popup.

Any ideas?

Thanks again.
Tony.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Very quick example

http://www.deltadzine.net/linkto.html

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I actually tried this for an internal page with a target of _blank but it still fires page2.html as a separate page and not as a popup.

Sorry I think I must have misunderstood. “Pop up” is to me, a new window popping up upon clicking a link, so the old one remains…

I just tested this to confirm and even with an internal link in FW5, a new window does indeed “pop up” for the link…

How does a “separate page” differ from a “pop up” in your interpretation? :-/ Are you thinking more like a frame, where the new page appears inside of the current one?

David is correct that also another option exists right in actions -
Item>Actions>Link to new Window

This also pops up in a new window/(separate page to use your term).


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Tony, is this what you’re looking for. http://freshbrand.com/STUFF/Acme/

Cheers, Marcel


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks to you both.

I was wondering if you could please provide the code/screenshots of how you achieved this.

Out of the two examples, I am more after your example Marcel as it is this look that I am after, that is, resizing the page2.html popup window.

Would really appreciate the setup within FWPro you performed to achieve this result.

Thanks.
Tony.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sorry - just noticed in your code Marcel that you are using the action SpawnNewWindow0 on your button.

Where can I get access to this action as I couldn’t see it anywhere?

Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

http://actionsforge.com/projects/view/63-spawn-new-window

Joe

On 21 Oct 2009, at 04:20, Tonsils wrote:

Sorry - just noticed in your code Marcel that you are using the
action SpawnNewWindow0 on your button.

Where can I get access to this action as I couldn’t see it anywhere?

Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sorry Guys, I just tested on my Mac and noticed that Marcel’s example opens up completely in a new window, this is not what I want.

It’s actually David’s “or me” click motion I am after.

I actually do not want to spawn a new window - I just want it to be a popup window.

Tony.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi,

I actually managed to get the Spawn New Window work as a popup but just have a few queries regarding this action.

  1. I have specified that the window is NOT resizeable but from the looks of it, I can still resize the window - am I doing something wrong?

  2. Is there anyway I can turn off all heading bars as the URL section still appears?

  3. What’s the best way to place like a “Close Window” button that will close this spawned window?

Thanks again.
Tony.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 21 Oct 2009, 1:32 pm, Tonsils wrote:

Sorry Guys, I just tested on my Mac and noticed that Marcel’s example opens up completely in a new window, this is not what I want.

It’s actually David’s “or me” click motion I am after.

I actually do not want to spawn a new window - I just want it to be a popup window.

I’m sooooo confused by these statements! LOL The “or me” example David added looks like a JS lightbox however - not a pop up in the sense of what I’ve always understood a pop up to be. :-/ It is a cool and useful effect however.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I actually do not want to spawn a new window - I just want it to be
a popup window.

Actually, what you want is, I think, NOT actually a window at all. It
is a panel of content that shows or hides according to some trigger,
and that blocks access to the page tht it belongs to until it is
closed.
You can do this with a Lightbox script (preferably by using an
action) or you could do this by hiding/showing a layered item in your
page.

Any actual popped-up or spawned window that you can make other than a
JavaScript alert dialog cannot be modal; it can’t block access to
other windows.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

ok here’s another one as Keith suggested, showing layered content using the transition FX action

http://freshbrand.com/STUFF/Acme2

FW file here http://freshbrand.com/STUFF/Acme2.zip

the previous example using Spawn New Window is here http://freshbrand.com/STUFF/Acme.zip

Marcel


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for that Marcel.

Would you know whether there is an issue with the Spawn New Window with regards to the “Resizeable” checkbox as I leave it unchecked but I can still resize the window?

Thanks.
Tony.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 22/10/09 (at 00:49 -0400) Tonsils said:

Would you know whether there is an issue with the Spawn New Window
with regards to the “Resizeable” checkbox

Possibly that’s something that some browsers don’t allow to be
locked? Anyway, this strays well into troublesome territory - I’m not
comfortable with things that actively prevent users from doing basic
things with their browser. I don’t know exactly what each and every
visitor is doing or what their setup is so I don’t think I have the
right to block abilities such as window resizing.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options