<script> function makeImg(conf) { var marks = ""; if(conf.marks) for( var m,i=0; m=conf.marks[i]; i++ ) { var withTxt = true; if ( m.txt ) m.txt = '<div style="height:'+m.h+'px">'+m.txt+'</div>'; else { m.txt = ""; withTxt=false } marks += '\n<div class="imgmark '+(withTxt? "withTxt" : "withoutTxt")+'"' + ' style="top:'+m.y+'px;left:'+m.x+'px;width:'+m.w+'px;height:'+m.h+'px;">'+m.txt+'</div>'; } document.write( '<div align="center"><div style="display:inline-block; position:relative">' + '<img src="%PUBURL%/%INCLUDINGWEB%/%INCLUDINGTOPIC%/'+conf.img+'" width="'+conf.width+'" alt="'+conf.alt+'" onclick="window.open(this.src)">' + marks + '</div></div>' ); } </script> <style> .imgmark { position:absolute; border:2px solid #FC0; border-radius:8px; -moz-border-radius:8px } .imgmark.withoutTxt { border:3px solid #FC0; border-radius:14px; -moz-border-radius:14px } .imgmark div { background:rgba(255,255,255,0.7); padding: 1px 4px; border-radius:5px; -moz-border-radius:5px } </style>
This topic: GEC
>
WebHome
>
SoftwaresLivres
>
Kaltura
>
KalturaManagementConsole
>
ManualConf
Topic revision: r1 - 26 Mar 2011 - 17:10:50 -
AurelioAHeckert
?
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback