[TYPO3-content-rendering] Target attribute XHTML/HTML

Kay Strobach typo3 at kay-strobach.de
Fri Feb 24 10:39:48 CET 2012


Hey guys,

I like this idea - it's really enterprise like to have the fallbacks ;)
The JS can be reworked, but that's no problem at all.

Regards
Kay

Am 18.02.2012 19:20, schrieb Riccardo De Contardi:
> Hello everybody and sorry for this late answer, I haven't checked this
> list for a while.
> My 2 cents: http://accessify.com/features/tutorials/the-perfect-popup/
> 
> Regards
> 
> 
> --------------------------------------------
> Riccardo De Contardi – TYPO3 Certified Integrator
> B Human Srl - www.bhuman.it <http://www.bhuman.it>
> Via Canzio, 15 - 20131 Milano
> TEL +39-02-20.23.271 - FAX +39-02-20.240.561
> --------------------------------------------
> 
> Il 18/10/11 12.42, Christian Hennecke ha scritto:
>> Am 03.08.2011 10:57, schrieb Patrick Broens:
>>
>> Hi Patrick,
>>
>>> css_styled_content has several target parameters in constants.txt, which
>>> are used in setup.txt. For instance images with an external link get a
>>> target="_blank" by default. Of course, this is not allowed in XHTML, but
>>> is in HTML.
>>
>> that is not correct. It is not allowed in XHTML 1.0 Strict and XHTML 1.1.
>>
>>> I will make a few changes to css_styled_content setup.txt, where the
>>> targets are empty by default (and not rendered) unless the following
>>> conditions apply:
>>>
>>> * Doctype is HTML instead of XHTML
>>> * The target is explicitly given by a user in the RTE link wizard
>>>
>>> Why not removing the target at all in XHTML? I'm sure some companies
>>> will complain, because their clients still want to have the possibility
>>> to use the target, if they are using XHTML. For instance _blank for
>>> external links.
>>>
>>> Do you think this is an acceptable solution?
>>
>> Why not use a JavaScript solution to attach a handler to links with a
>> class like "external-link"?


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answere was usefull: https://flattr.com/profile/kaystrobach


More information about the TYPO3-project-content-rendering mailing list