Bug 183459 - Need to replace "_blank" for XHTML browsing
Summary: Need to replace "_blank" for XHTML browsing
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EPF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: epf.tool-inbox CLA
QA Contact: wang jun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-20 16:44 EDT by Peter Haumer CLA
Modified: 2023-02-16 16:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Haumer CLA 2007-04-20 16:44:27 EDT
We publish our pages using http://www.w3.org/2001/XMLSchema-instance.  This version does not seem to support the _blank attribute anymore to open a link in a new window.  Hence, when you click on such a link in Firefox it will not open a new window or tab it will just navigate away from the page. However, our Add Link dialog adds the _blank attribute.  We need to replace this with a JavaScript that opens the new window.
Comment 1 jxi CLA 2007-05-11 15:58:44 EDT
can't replace the problem. 
I added the [target="_blank"] attribute to a link and it pop up a new window as expected.

Please provide detail info to reproduce the problem.
Comment 2 jxi CLA 2007-06-05 20:18:18 EDT
did  not get any response. works for me. can't reproduce.
Comment 3 wang jun CLA 2007-08-20 01:42:33 EDT
Closed as can't reproduce.
Comment 4 Peter Haumer CLA 2007-08-20 02:11:50 EDT
The bug was filed against the Add Link dialog; not the behavior of the published site. See this we resource for some more background information: http://www.thefutureoftheweb.com/blog/target-blank-xhtml11#comment19

In conclusion, the Add Link dialog seems to be generating the wrong xhtml.  It needs to be this now:

<a href="http://www.blablabla.br" onclick="target='_blank';">

Currently it still generates this:

<a href="http://www.blablabla.br" target="_blank">
Comment 5 Shilpa Toraskar CLA 2008-08-18 17:14:58 EDT
This bug is related to  "add link" in RTE. So re-assigning to Jeff.