[TYPO3-content-rendering] accessible popup-image

Sacha Vorbeck info at unlimited-vision.net
Thu Nov 10 19:31:27 CET 2005


Hi,

> [globalVar = JSenabled = 1]
> [else]
> tt_content.image.20.1.imageLinkWrap.JSwindow = 0
> tt_content.image.20.1.imageLinkWrap.wrap >
> [global]
> 
> Not tested but should be working

interesting, thanks for the suggestion. Recently I had to show some
copyright information inside of the zoom-pop-up (not inside the image
itself) and found it a bit difficult to realize.

The resulting source-code of the showpic-popup looks like this:
<!DOCTYPE xhtml1-transitional...
<html lang="de" xml:lang="de" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta ....
<link href="some.css" type="text/css" rel="stylesheet"
media="screen,projection" />
</head>
<body id="main">
<dl class="pop">
<dd>copyright</dd>
<dd>Info</dd>
<dt><a href="javascript:close();"><img
src="uploads/tx_templavoila/sample.jpg" width="399" height="261"
border="0" alt="" /></a></dt>
</dl></body>
</html>

I think it would be nice if imageLinkWrap.wrap would have stdWrap
properties. Then you could create a special page type (typenum=x) for
the popup-windows and more easily realize things like custom doctype,
stylesheets and additional information inside of the popup.

Any other ideas? Shall I add it to the bugtracker?

-- 
Ciao,
Sacha



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