[TYPO3-german] Cal 0.10.0 im TER (status: beta)
Andreas Balzer
eMail at andreas-balzer.de
Mon May 8 22:21:03 CEST 2006
Andreas Balzer schrieb:
> "* Eine um 90° gedrehte Wochenansicht" *g* ;)
shame on me und ein kräftiges Buuuuuh! Aber ich hab mal in Google kurz
reingeschaut, und der IE *argh* unterstützt zumindestens eine 90 Grad
Drehung. Wenns auch absolut nicht standartkompatibel ist, und der IE ein
absolutes Mysterium in Sachen Webdesign ist, aber folgendes habe ich in
leicht abgeändeter Form im Netz gefunden:
<html>
<head>
<script>
var i = 0;
function rot()
{
i = ++i % 4;
if (!document.all.aDiv.style.filter)
document.all.aDiv.style.filter =
'progid:DXImageTransform.Microsoft.BasicImage(rotation=' + i + ')';
else
document.all.aDiv.filters.item('DXImageTransform.Microsoft.BasicImage').Rotation
= i;
} // ends function rot(void)
</script>
</head>
<body>
<input type="button" value="Rotate" onclick="rot();" />
<div id="aDiv" style="width: 100px; height: 100px; background-color: lime;">
<table width="100%" height="100%">
<tr>
<td align="center" valign="middle">rotate me</td>
</tr>
</table>
</div>
</body>
</html>
More information about the TYPO3-german
mailing list