30.12.2012, 14:07
Code:
<body>
<table align="center" class="tborder" cellspacing="0" height="430px">
<tr>
<th class="thead" colspan="3" height="30px">TabellenGenerator</th>
</tr>
<tr>
<td class="trow1"></td>
<td class="trow1" align="left">Tabellenbreite: <input type="text" size="3" id="tabWidth" /> %</td>
<td class="trow1" style="height:25px;text-align:right;"><input type="button" value="← TD" id="delCol" /><input type="button" value="TD →" id="addCol" /></td>
</tr>
<tr>
<td class="trow1" valign="bottom" style="width:1%;"><input type="button" value="TR ↑" id="delRow" /><input type="button" value="TR ↓" id="addRow" style="margin-bottom:2px;" /></td>
<td class="trow2" valign="top" colspan="2" id="container">
<table>
<tr>
<td><input type="checkbox" /> TH</td>
<td><textarea cols="15" rows="3"></textarea></td>
<td><textarea cols="15" rows="3"></textarea></td>
</tr>
<tr>
<td><input type="checkbox" /> TH</td>
<td><textarea cols="15" rows="3"></textarea></td>
<td><textarea cols="15" rows="3"></textarea></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="tfoot" colspan="3" height="30px">
<input type="button" value="Erstelle MyCode" id="tabCreate" />
<input type="button" value="Schlie�en" id="tabClose" />
</td>
</tr>
</table>
<script type="text/javascript">
<!--
function resize_images() {
var img = $$( "img.postimage" );
for ( var i = 0; i < img.length; i++ ) {
while ( !img[i].complete ) { break; }
if ( img[i].width > 500 ) {
var imgURL = img[i].getAttribute( "src" );
img[i].setAttribute( "src", "http://www.grillerforum.de/inc/plugins/resizer_class/resizer_class.php?filename="+ imgURL +"&newwidth=500&maxsize=30000&maxwidth=500&animwidth=500&animsize=30000" );
img[i].setAttribute( "alt", imgURL );
img[i].setAttribute( "title", imgURL );
img[i].style.borderTop = "1px dotted #ff0000";
img[i].style.borderLeft = "1px dotted #ff0000";
img[i].style.borderRight = "1px dotted #ff0000";
var parent = img[i].parentNode;
var warning = document.createElement( "div" );
var align = parent.getAttribute( "style" );
var setalign = "";
if ( align == "text-align: center;" || align == "text-align: right;" ) {
if ( align == "text-align: center;" ) setalign = "center";
if ( align == "text-align: right;" ) setalign = "right"; }
warning.innerHTML = "<div style=\"border-bottom:1px dotted #ff0000;border-left:1px dotted #ff0000;border-right:1px dotted #ff0000;background:#ff0000;padding:3px 0;text-align:center;width:500px;\"><a href=\"" + imgURL + "\" target=\"_blank\" style=\"font-weight:bold;color: #ffffff;\">Image exceeds set limits. Click to view full size image</a></div>";
warning.setAttribute( "align", setalign );
parent.insertBefore( warning, img[i].nextSibling );
}}}
Event.observe( window, "load", function() { resize_images(); } );
-->
</script>
<!-- start: GooAna - Google Analytics -->
<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35944589-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- end: GooAna - Google Analytics -->
</body>
</html>
<!-- end: tg_generator -->