[Pro] Open in New Browser Window

Gosh, I remember things being so much easier that last time I used FWP.

I have a simple problem. I want a link to an external site to open a new browser window.

In the hyperlink dialog, all you had to do was enter _blank.

But my XHTML (strict) setting does not allow this. No worry, I’ll just change to a friendlier output setting. But FWP does not update when I change, say, to HTML 4.

(I am using the Caxton Action.)

Thanks, Ted


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

There is an action for “Link to a New Window”. Does this do what you require?


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

If you switch to a Transitional DOCTYPE, you can use the target
attribute. The Strict DOCTYPES (HTML and XHTML) do not include that
attribute. You can also use JavaScript to open a new window.

Walter

On Jun 16, 2010, at 1:00 PM, tedg wrote:

But my XHTML (strict) setting does not allow this. No worry, I’ll
just change to a friendlier output setting. But FWP does not update
when I change, say, to HTML 4.


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

Walt. I guess my question is about just how to change to transitional type.

I change it in “Document Setup” (and save) but the change does not stick. The published source shows the unchanged state, in my case, XHTML (Strict).

Thank you.


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

You need to change it on the Output tab of the Inspector, when you
have selected the page you wish to change. Document Setup does not
change the existing files, only the ones you create after that change.

Walter

On Jun 16, 2010, at 2:12 PM, tedg wrote:

Walt. I guess my question is about just how to change to
transitional type.


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

Many Thanks, Walt.

That sure is a gotcha. Document settings are NOT FOR THE DOCUMENT, but are preferences for new documents. Buzz.


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

but are preferences for new documents.

And for new pages that you create after changing it in Doc Setup.

David


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

Well, it IS a trade-off, and a documentation deficiency. But I can
think of several reasons why I might want to mix multiple DOCTYPES in
a single site, and Freeway lets me do that. If it did as you suggest,
then it would potentially change a page I needed to be at a certain
HTML level (say for an HTML mail template or similar) to something
incompatible.

To change all the pages in a site, you can change the Master Page(s)
HTML Level setting, and that should cascade, unless some page-level
change has caused the child page to become detached from its parent
Master Page. Always best to check page-by-page when making a Master
change, just to be sure.

Walter

On Jun 16, 2010, at 2:31 PM, tedg wrote:

Many Thanks, Walt.

That sure is a gotcha. Document settings are NOT FOR THE DOCUMENT,
but are preferences for new documents. Buzz.


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

Hmm. I’m having the same issue. Page output is set to HTML 4.01 transitional (and has been on that setting all along). In “Edit Hyperlink”, change Target to “_blank” produces no change; clicking on the (external) link does not open a new window, but loads the link URL into the existing window.

FW 5.4.2


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

Post a link to your page Karl so that we can look at your code because this should work.

David


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

Thanks Dave. It’s the google maps link that I’m dealing with:

http://karlsevareid.com/mbberkeleytest/contact,map.html

Karl


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

I would guess that it’s the combination of using a rollover and an image map that’s throwing this off. The target is getting lost in the mix. Try making a plain text link to the map, and apply the target attribute to that, and see if it works.

If it does, then the next step is to export each of the states of your rollover (so that they become square image boxes, not round-rect shapes that force Freeway to use an image map for the link) and then build up your rollover again from scratch using those exported images instead of the native Freeway objects.

Import the first image as a pass-through, apply Rollover to it, then use the parameters side of the Actions palette to assign the second image to the mouseover event. Finally apply your link, again assigning the target attribute. That combination should be fairly bulletproof.

Walter


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

Thanks Walt,

Take a look at the page now; as it happens, I just did scrap the rollover and replace it with plain tex link. Same behavior; opens in the same page rather than a new page.

Getting back to my first arrangement, I don’t understand “combination of using a rollover and an image map” if by image map you mean something created with one of the map area tools, as I never (knowingly) used those tools. Also not understanding “round-rect shapes that force Freeway to use an image map for the link”.

Although this may qualify as fodder for a new thread, the appearance of my current (plain text) link to google maps reminds me why I made a rollover for the link in the first place: I was having trouble getting FW to respond to link styling as defined in Inspector>Page>Links; no matter what I did, the default blue persisted. Now when I put in a new email link this morning, I had ABSOLUTELY no problem getting the colors I wanted. Aha! thinks I, FW has healed itself. But upon inserting the new googlemaps text link I couldn’t get the “normal” color to come through, although the styling for “hover” and “active” are good. (Same styling defined for both the maps link and the mailto link.)

many thanks,

Karl


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

Whenever you apply a link to a non-square object, Freeway always uses an image map to create the link. You don’t have any control over this, except to choose to use a square image as your link trigger. I believe this can be triggered on a square object that has a soft shadow effect, too, although I haven’t tried that out to see for sure.

If you are not able to make a simple text link use the _blank trigger to open a new window, check to be sure that the page you’re on is set to use a non-strict DOCTYPE. Click somewhere on the page so nothing is selected, then look in the right-most tab of the Inspector (the Output tab) and see what the HTML Level picker is set to. As long as the word Strict isn’t in the picker, you should be able to apply the Target: _blank attribute to the link through the Hyperlink dialog.

Make sure you select the entire text of the link, then press Apple - K. Look in the Target field, and make sure that it reads _blank (with the leading underscore) and nothing else.

Walter


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

if by image map you mean something created with one of the map area tools, as I never (knowingly) used those tools.

FW creates an image map if you are using an irregular shape.

Remember you can define Link styles on an item by item basis using the inspector. If you nothing selected on the page and change the link settings they are supposed to be changed Page wide. If you have your HTML container for your link text selected when you do it then it will only apply to that container.

As to your google link - try this.

Select your text and Edit>Hyperlink

Delete whatever you have in there already

Choose External from the Top selector then Protocol: Other

Paste the following in to the dialogue box

http://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=2955+Shattuck+Ave+Berkeley,+CA+94705&sll=37.0625,-95.677068&sspn=33.710275,57.041016&ie=UTF8&hq=&hnear=2955+Shattuck+Ave,+Berkeley,+Alameda,+California+94705&z=16&ll=37.855574,-122.266509

Without the < brkts at either end if you are in Web view

Select Target _Blank from the target picker

See if that does the trick.

David


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

Just to clarify, when I said non-square I meant non-rectangular – i.e., with non-right angles or any curves at all.

Walter


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

Dave, Walter, thanks to you both…

<Make sure you select the entire text of the link, then press Apple - K. Look in the Target field, and make sure that it reads _blank (with the leading underscore) and nothing else.>
That was the ticket for opening in a new page. I had not gone at it via apple-K; I had used the “change or add link” feature at the bottom of the FW page. (Which I would think OUGHT to work but, oh well. Whatever it takes.)

<I believe this can be triggered on a square object that has a soft shadow effect, too, although I haven’t tried that out to see for sure.> I think you are right about the shadow triggering the image map; this would explain some weird things I’ve been wrestling with, like the sort of artifacts around my “home” and “contact” buttons. Will investigate.

Aha! My link text wasn’t in an HTML container; it was in a graphic. Light bulbs are coming on all over the place!

OK, now I have to go to my REAL job.

thanks again gentlemen,

Karl


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

like the sort of artifacts around my “home” and “contact” buttons

These are probably caused by anti-alias settings

D


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