- Timestamp:
- 2011-09-22T11:02:38+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-cols-dev/peijones/transform/pages/document.xsl
r24629 r24630 125 125 newNote.Select(); 126 126 } 127 window.onload = getNotes;127 window.onload = function(){getNotes(); readyImagesForZoom();}; 128 128 </xsl:text> 129 129 </script> … … 147 147 <tr><td> 148 148 <xsl:call-template name="viewOptions"/> 149 <table class="viewOptions"><tr> 150 <!-- Zoomer on/off button --> 151 <xsl:if test="/page/pageRequest/paramList/param[@name = 'zoom']/@value = 'on'"> 152 <td> 153 <img src="sites/localsite/collect/peijones/images/zoom.png"/> 154 <input id="zoomOption" type="checkbox" class="optionCheckBox"> 155 <xsl:choose> 156 <xsl:when test="/page/pageRequest/paramList/param[@name = 'zoom']/@value = 'on'"> 157 <xsl:attribute name="onclick"> 158 <xsl:text>removeZoom();</xsl:text> 159 </xsl:attribute> 160 <xsl:attribute name="checked">true</xsl:attribute> 161 <script type="text/javascript">function init(){readyImagesForZoom();} window.onload = init;</script> 162 </xsl:when> 163 <xsl:otherwise> 164 <xsl:attribute name="onclick"> 165 <xsl:text>addZoom();</xsl:text> 166 </xsl:attribute> 167 </xsl:otherwise> 168 </xsl:choose> 169 </input> 170 </td> 171 </xsl:if> 172 </tr></table> 149 173 </td></tr> 150 174 <tr><td> … … 212 236 213 237 <div class="clear"><xsl:text> </xsl:text></div> 238 214 239 </xsl:template> 215 216 240 </xsl:stylesheet> 217 241
Note:
See TracChangeset
for help on using the changeset viewer.