[TYPO3-content-rendering] accessible popup-image

Matthias Peltzer mail at mpeltzer.de
Wed Aug 10 11:53:16 CEST 2005


hi there

is there a way... or should i workout a way to provide accessible pop 
images for zooming the pics inside typo3 frontend? the way it is done by 
now... with this kind of javascript isnt accessible anymway... it has to 
be a link (with the possibility for a blank attribut and the linkname 
has to be the imagename or onother page like popup.html or 
zoompic.php... so if someone has javascript deactivated he could always 
open the pic in a new window... (ok... because of the _blank or _self 
attribut it is only xhtml-transitional) a codesnippet for this could be:

javascript could be:

<!-- function popup(url)
{ 
window.open(url,'_blank','scrollbars=yes,resizable=yes,status=no,location=no,toolbar=no,directories=no,menubar=no,copyhistory=no,width=744,height=584');
}	
//-->

html of the zomm image link could be:

<a href="zoompic.php?currentpic=pic.jpg" target="_blank" 
onclick="popup('zoompic.php?currentpic=pic.jpg');return false;" 
title="zoom picture: opens in a new window"><img class="img-class" 
src="images/pic.jpg" alt="the pics alttext" /></a>

this would be a very nice step to more accessibility of the zoompic 
function...

ok... I now, that this is not possible by now... but is there a way to 
handle this problem?

greetings

matthias



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