Link with POPUP

Hi,

i would like to use a POP-UP window to promote something on the pape (link).

Is it possible to close the POP when the user is clicking the link?

Thx
Chris


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

You can, but you need to make the link happen in the JavaScript side of things as well. Here’s what the raw HTML code would look like:

<a href="some_page.html" onclick="window.opener.location.href='some_page.html'; return self.window.close();">Some Page</a>

To get that into Freeway, you would use the Hyperlink dialog to modify the link. Make the link as you normally would, then press the Extended button. Press New to add a new Name/Value pair:

name value
onclick window.opener.location.href='some_page.html'; return self.window.close();

Make sure that you substitute your actual page filename for some_page.html.

Note that this code (self.window.close()) will only close a window if it was itself opened with JavaScript. Most modern browsers will not allow you to close a manually-opened window in this manner.

Walter


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

Thx, thats fine

how can i reduce the boders to minimum?

Chris


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

Sorry, you lost me there. Borders on what?

Walter


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

Sorry Walter.

I just want to now if it’s possible to reduce the popup:
Means no navigation border, no scrolling …

thx
Chris


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

Sure. If you use an Action to create it in the first place: Spawn New
Window or Link to New Window are the choices there. SNW has lots more
features, and can control the window placement as well as its geometry
and features.

Walter


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

Thx, SNW looks very nice - but how can i open the pop-up automaticly?

thx
Chris


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

sorry - its the Version Timed Span New Window

Chris


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