- Timestamp:
- 06/16/09 11:47:05 (3 years ago)
- Location:
- branches/sc36
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
model/sources/dkCore/genSld/wdt/mgr/scSlideMgr.doss/scSlideMgr.js (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/sc36
-
branches/sc36/model/sources/dkCore/genSld/wdt/mgr/scSlideMgr.doss/scSlideMgr.js
r474 r478 17 17 * samuel.monsarrat@kelis.fr 18 18 * 19 * Portions created by the Initial Developer are Copyright (C) 200 819 * Portions created by the Initial Developer are Copyright (C) 2009 20 20 * the Initial Developer. All Rights Reserved. 21 21 * … … 89 89 return this.fRatioNormalScreen; 90 90 }, 91 /** scSlideMgr.addBindableBlk : Add a bindable block for processing by onLoad(). 92 */ 91 /** scSlideMgr.addBindableBlk : Add a bindable block for processing by onLoad(). */ 93 92 addBindableBlk : function(pPath, pOpt, pBkConstructor){ 94 93 this.fBindBlks.push({fPath : pPath, fOpt : pOpt, fConst : pBkConstructor}); 95 94 }, 96 /** scSlideMgr.findOwnerBlk : Retrun the block that is ancestor to the specified element. 97 */ 95 /** scSlideMgr.findOwnerBlk : Retrun the block that is ancestor to the specified element. */ 98 96 findOwnerBlk : function(pElt){ 99 97 if (pElt == this.fBlocksRoot) return pElt; … … 103 101 return null; 104 102 }, 105 106 103 /** Api scSiLib. */ 107 104 onResizedAnc : function(pOwnerNode, pEvent) { … … 167 164 var vBaseFontSize = Math.round(this.fRatioNormalScreen * this.fDefaultFontSize); 168 165 document.body.style.fontSize = vBaseFontSize+"px"; 169 // Quirks mode can be triggered (not shure by what) so the font-size must be fixed on all tables too.170 // var vTables = scPaLib.findNodes("des:table");171 // for (var i in vTables) vTables[i].style.fontSize = vBaseFontSize+"px";172 166 // Adapt table col width 173 167 var vCols = scPaLib.findNodes("des:col"); … … 175 169 }, 176 170 177 /** scPresMgr.xReadStyle : Read a style property (inline or CSS). 178 */ 171 /** scPresMgr.xReadStyle : Read a style property (inline or CSS). */ 179 172 xReadStyle : function(pElt, pProp, pDoc) { 180 173 var vDoc = pDoc || document; … … 198 191 199 192 /* ===== SlideZoom Block class ================================================= */ 200 /** scSlideMgr.SldZmBlk : SlideZoom block (anchors pointing to slides that need to be opened as a zoom). 201 */ 193 /** scSlideMgr.SldZmBlk : SlideZoom block (anchors pointing to slides that need to be opened as a zoom). */ 202 194 scSlideMgr.SldZmBlk = function(pElt, pOpt){ 203 195 pElt.onclick = this.onClickZoom; … … 212 204 /* ===== Size Block classes ================================================= */ 213 205 214 /** scSlideMgr.SizeBlk : Base size block. 215 */ 206 /** scSlideMgr.SizeBlk : Base size block. */ 216 207 scSlideMgr.SizeBlk = function(){ 217 208 } … … 234 225 } 235 226 236 /** scSlideMgr.SizeBlkImg : Image size block. 237 */ 227 /** scSlideMgr.SizeBlkImg : Image size block. */ 238 228 scSlideMgr.SizeBlkImg = function(pElt, pOpt){ 239 229 //scCoLib.util.log("scSlideMgr.SizeBlkImg"); … … 331 321 } 332 322 333 /** scSlideMgr.SizeBlkObj : Embeded object size block. 334 */ 323 /** scSlideMgr.SizeBlkObj : Embeded object size block. */ 335 324 scSlideMgr.SizeBlkObj = function(pElt, pOpt){ 336 //scCoLib.util.log("scSlideMgr.SizeBlkObj");337 325 if(!pElt) return; 338 326 this.fOpt = pOpt || {};
Note: See TracChangeset
for help on using the changeset viewer.