[ale] target="_blank"

James Taylor James.Taylor at eastcobbgroup.com
Mon May 21 17:07:03 EDT 2007


I'm pretty sure that firefox has an option to treat a new window as an open tab request.
This would make the tag response depend on the browser default.
-jt


James Taylor
The East Cobb Group, Inc.
678-697-9420
james.taylor at eastcobbgroup.com
http://www.eastcobbgroup.com










>>> On Mon, May 21, 2007 at  5:03 PM, in message
<ed62030a0705211403l3598da75x8c827c4a69a37e9b at mail.gmail.com>, "James Sumners"
<james.sumners at gmail.com> wrote: 
> I concur with the previous reply. I'm also a little surprised that
> Firefox opens a new tab when the target is "_blank" instead of a new
> window. It must be treating named links, which `target="new_window"`,
> differently than unnamed links (`target="_blank"`).
> 
> Considering the situation you describe, I would suggest using the
> target attribute with its designed purpose -- frames. See
> http://www.w3.org/TR/html4/present/frames.html#h-16.3 for more
> information. Frames are god awful ugly, but they fix your problem much
> easier than other solutions (e.g. asynchronous javascript).
> 
> On 5/21/07, James P. Kinney III <jkinney at localnetsolutions.com> wrote:
>> On Mon, 2007-05-21 at 16:37 -0400, Terry Bailey wrote:
>> > I found that target="_blank" does bring up a new tab in Firefox, but
>> > only a window in IE.
>> >
>> > My problem is that I have a page counter on abc.html.  There is a
>> > link on abc.html that points to def.html which is on the same
>> > server.  On def.html there is a link to xyz.html that points to a
>> > page on another server.  When someone finally gets back to abc.html
>> > from xyz.htm through def.html, I do not want the counter on abc.html
>> > to increment.  With Firefox, that is what happens, but not with IE.
>>
>> IE is more aggressive about caching connection details and credentials
>> that Firefox (thus some of it's security issues).Firefox uses ech tab as
>> a session (I think, haven't looked in a long time - may have changed) so
>> a return visit to abc.html will be a new visit.
>>
>> IE does not do "tabs" but a mutated thing that isn't tabs.
>> >
>> > I agree that new windows can be vexing, but in this case, I think it
>> > makes things easier.
>> >
>> > Is there a way to modify the html so that the counter will not update using 
> IE?
>> >
>> > Thanks,
>> >
>> > Terry Bailey




More information about the Ale mailing list