<script type="text/javascript" src="[(base_url)]/assets/plugins/tinymce/jscripts/tiny_mce/tiny_mce.js"></script > <script type="text/javascript"> tinyMCE.init({ templates : [ { title : "Bilderkasten", url : "[(base_url)]/assets/plugins/tinymce/custom/highslide.htm", description : "Bild vergrößern mit Bildunterschrift" } ] }); </script>
This question has been answered by wishbone. See the first response.
<div class="imgDesc"> <a href="[domain]/assets/images/blog/big_img.jpg" class="highslide" onclick="return hs.expand(this)"> <img src="[domain]/assets/images/blog/thumb_img.jpg"> </a> <p class="small">description goes here</p> </div>
var tinyMCETemplateList = [ // Name, Pfad, Beschreibung ["enlargeable image", "[domain]/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/imgBox.htm", "floating Box with enlargeable img and description"] ];
document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','all','advlink');
case "all": type = ''; break;
.imgDesc { float:left; width:174px; border:#dcdcdc 6px solid; padding:0; margin:0 4px 3px 0; } .imgDesc img { float:none; border:none; margin:0; }