Project

General

Profile

root / branches / 4.4-sc42 / model / sources / dkCore / genSld / wdt / mgr / scHPSRef.uiwidget @ 3097

1
<?xml version="1.0" encoding="UTF-8"?>
2
<sm:openUiWidget xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="scHPSRoot" info="SCENARI HTML Presentation system - reference template (requires scHPS)">
3
	<sm:fillTemplateBuffers>
4
		<sm:postXslFragment keyXsl="xhtml"><!--<comment xmlns="scenari.eu:comment:1.0" type="thread"><comment creationTime="1600265757299" updateTime="1600268716105">https://source.scenari.software/issues/17</comment></comment>-->&lt;xsl:overlay match="body" mode="endBodyTags"&gt;
5
	&lt;script&gt;
6
		if (!scHPS.fDisabled) scHPS.swichToSsStyles();
7
	&lt;/script&gt;
8
&lt;/xsl:overlay&gt;</sm:postXslFragment>
9
		<sm:otherBuffers keyBuffer="js.postLink">var scPresMgr = new scHPS.PresMgr("ide:tplSldFra","ide:tplRootNav");
10
scPresMgr.initZoomPaths("ide:tplZoomFra","ide:tplZoomCo");
11
scPresMgr.enableCssEffects(true);
12

    
13
scPresMgr.addLocalSlideRule(function(pSldMgr){
14
     pSldMgr.addBindableBlk("des:div.imgInFlow",{ratioHeightAlone:1,ratioHeight:.85,captionHeight:45},scHPS.SizeBlkImg);
15
     pSldMgr.addBindableBlk("des:div.imgIllus",{ratioHeightAlone:.6,ratioHeight:.5,captionHeight:45},scHPS.SizeBlkImg);
16
     pSldMgr.addBindableBlk("des:span.imgInline",{captionHeight:0},scHPS.SizeBlkImg);
17
     pSldMgr.addBindableBlk("des:div.objInFlow",null,scHPS.SizeBlkObj);
18
     pSldMgr.addBindableBlk("des:div.vidInFlow",{onAction:function(pRes){try{this.fObj.SetVariable("player:jsPause", "")}catch(e){};try{this.fObj.pause()}catch(e){};}},scHPS.SizeBlkObj);
19
     pSldMgr.addBindableBlk("des:span.objInline",{captionHeight:0},scHPS.SizeBlkObj);
20
     pSldMgr.addBindableBlk("des:a.ssZmLnk",null,scHPS.FraZmBlk);
21
     pSldMgr.addBindableBlk("des:a.sldZmLnk",{type:'sld'},scHPS.FraZmBlk);
22
     pSldMgr.addBindableBlk("des:a.htmlZmLnk",{setModeHtml:true},scHPS.FraZmBlk);
23
     pSldMgr.addBindableBlk("des:a.webZmLnk",null,scHPS.FraZmBlk);
24
     pSldMgr.addBindableBlk("des:div.imgAnim",{autoStart:false},scHPS.AnimBlk);
25
});</sm:otherBuffers>
26
	</sm:fillTemplateBuffers>
27
	<sm:content>
28
		<sm:Widget sc:refUri="/dkCore/genSld/wdt/mgr/scHPS.uiwidget"/>
29
	</sm:content>
30
</sm:openUiWidget>
(2-2/4)