Link target grayed out

For some reason the target option is not available when creating a link - It’s grayed out.

This is a simple external link to a URL. Done it tons of times in the past. Always worked before. Do I need to toss the prefs file?


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

Addition: when clicking on the check button I get a message about invalid HTML. The URL is the standard BlogThis link:
http://www.blogger.com/blog-this.g


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

The Target attribute is not a part of the XHTML Strict or HTML 4 Strict DOCTYPEs, which results in an invalid page if you use it. You cannot enable it in Freeway if your page is set to that output format. Change to one of the Transitional formats, or HTML5 (Freeway 6 and up) if you need to use the Target attribute.

Walter

On Sep 28, 2013, at 12:08 PM, Furutan wrote:

Addition: when clicking on the check button I get a message about invalid HTML. The URL is the standard BlogThis link:
http://www.blogger.com/blog-this.g


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

Okay. So the rule is that blog pages cannot have text links that open in a new window.

So how do I do this? I would be nice if a person can enter blog content without leaving the blog.


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

Well, there’s two schools of thought about this.

One says that by using the target in this manner, you actually “break” the Web, because you destroy the value inherent in the Back button. It also ignores the ownership of the browser window – it belongs to the visitor, not you, and you don’t get to control it in any way. After all, if the visitor wants to open your link in a new window, she will hold down the Command key (unsure of Windows equivalent) and get just what she wants.

When you use the target attribute to open a new window, that window does not inherit the history of its parent, and so the Back button is grayed out. If the unlucky visitor is using a fast Windows computer, in the default “full screen” mode, he may not even notice that a new window has opened at all, and then be furious at the computer or you when the Back button doesn’t work. Weeks later, while trying to figure out why his browser has gotten so slow, he will discover the tab with your blog in it, and may return to it, or most likely will not.

The other school of thought says that “if I link someone away from my site, they won’t remember me and won’t return”. As I have labored to explain above (guess which point of view I subscribe to here), not only won’t they remember, but they won’t be able to remember, because the technological crutch of the Back button will have been kicked out from under them.

Now, having considered all this, if you still really want to open a new window, you can hook some JavaScript on to the external links like this:

  1. In the Hyperlink dialog, instead of using the Target picker to choose blank, click the Extended button.
  2. In the resulting sub-dialog, click New… and enter in the Name field: onclick, and in the Value field: if(window.open(this.href, 'blank')) return false;.
  3. Okay out of the stack of sub-dialogs.
  4. Preview in a browser (Freeway will not open new windows in its internal preview mode).

What this should do is hijack these external links to open in a new window (and to re-use that new window when requested again).

Walter

On Sep 28, 2013, at 1:36 PM, Furutan wrote:

Okay. So the rule is that blog pages cannot have text links that open in a new window.

So how do I do this? I would be nice if a person can enter blog content without leaving the blog.


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