- Timestamp:
- 2012-10-11T16:39:21+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/layouts/toc.xsl
r26304 r26307 265 265 </xsl:choose> 266 266 </xsl:attribute> 267 <img >267 <img onclick="showSlideShow()"> 268 268 <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'slideshow_image')"/></xsl:attribute> 269 269 </img> … … 283 283 <li> 284 284 <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.realisticBooksTooltip')"/></xsl:attribute> 285 <img >285 <img id="rbOptionImage" onclick="bookInit();"> 286 286 <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'realistic_books_image')"/></xsl:attribute> 287 287 </img> … … 294 294 <li> 295 295 <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.highlightTooltip')"/></xsl:attribute> 296 <img >296 <img onclick="swapHighlight(true);"> 297 297 <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'highlight_image')"/></xsl:attribute> 298 298 </img> 299 <input id="highlightOption" type="checkbox" class="optionCheckBox" onclick="swapHighlight( );">299 <input id="highlightOption" type="checkbox" class="optionCheckBox" onclick="swapHighlight(false);"> 300 300 <xsl:if test="/page/pageRequest/paramList/param[@name = 'hl']/@value = 'on'"> 301 301 <xsl:attribute name="checked">true</xsl:attribute> … … 308 308 <li id="zoomOptions" style="display:none;"> 309 309 <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.zoomTooltip')"/></xsl:attribute> 310 <img >310 <img id="zoomToggleImage"> 311 311 <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'zoom_image')"/></xsl:attribute> 312 312 </img> … … 318 318 _imageZoomEnabled = $("#zoomToggle").attr("checked"); 319 319 }); 320 321 $("#zoomToggleImage").click(function() 322 { 323 $("#zoomToggle").attr("checked", !$("#zoomToggle").attr("checked")); 324 _imageZoomEnabled = $("#zoomToggle").attr("checked"); 325 }); 320 326 </xsl:text> 321 327 </script> … … 326 332 <li id="floatingTOCOptions"> 327 333 <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.floatingTooltip')"/></xsl:attribute> 328 <img >334 <img id="floatTOCToggleImage"> 329 335 <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'float_toc_image')"/></xsl:attribute> 330 336 </img> … … 337 343 floatMenu($("#floatTOCToggle").attr("checked")); 338 344 }); 345 346 $("#floatTOCToggleImage").click(function() 347 { 348 $("#floatTOCToggle").attr("checked", !$("#floatTOCToggle").attr("checked")) 349 floatMenu($("#floatTOCToggle").attr("checked")); 350 }); 339 351 </xsl:text> 340 352 </script>
Note:
See TracChangeset
for help on using the changeset viewer.