Changeset 26408


Ignore:
Timestamp:
2012-10-30T14:58:17+13:00 (11 years ago)
Author:
sjm84
Message:

Removed the checkbox to enable the slideshow, fixed an error with zooming and increased the zoom window size

Location:
main/trunk/greenstone3/web/interfaces/default
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/document_scripts.js

    r26401 r26408  
    147147                    if(text.search("wrap" + nodeID) != -1)
    148148                    {
    149                         gs.jqGet("zoomOptions").css("display", null);
    150                         gs.jqGet("pagedImageOptions").css("display", null);
     149                        $("#zoomOptions").css("display", "");
     150                        $("#pagedImageOptions").css("display", "");
    151151                    }
    152152                    getSubSectionsForSection(sectionID, function(sections)
     
    11971197function showSlideShow()
    11981198{
    1199     $("#ssOption").attr('checked', false);
    12001199    if(!($("#gs-slideshow").length))
    12011200    {
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/toc.xsl

    r26308 r26408  
    268268                        <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'slideshow_image')"/></xsl:attribute>
    269269                    </img>
    270                     <input id="ssOption" type="checkbox" onclick="showSlideShow()" class="optionCheckBox"/>
    271                     <script type="text/javascript">
    272                         <xsl:text disable-output-escaping="yes">
    273                             $(window).load(function()
    274                             {
    275                                 $("#ssOption").attr("checked", false);
    276                             });
    277                         </xsl:text>
    278                     </script>
    279270                </li>
    280271           
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl

    r26316 r26408  
    458458                            <gsf:image type="screen"/>
    459459                        </div>
    460                         <div id="mover{util:replace(@nodeID, '.', '_')}" style="border: 1px solid green; position: absolute; top: 0; left: 0; width: 398px; height: 398px; overflow: hidden; z-index: 100; background: white; display: none;">
    461                             <div id="overlay{util:replace(@nodeID, '.', '_')}" style="width: 400px; height: 400px; position: absolute; top: 0; left: 0; z-index: 200;">
     460                        <div id="mover{util:replace(@nodeID, '.', '_')}" style="border: 1px solid green; position: absolute; top: 0; left: 0; width: 598px; height: 598px; overflow: hidden; z-index: 100; background: white; display: none;">
     461                            <div id="overlay{util:replace(@nodeID, '.', '_')}" style="width: 600px; height: 600px; position: absolute; top: 0; left: 0; z-index: 200;">
    462462                                <xsl:text> </xsl:text>
    463463                            </div>
Note: See TracChangeset for help on using the changeset viewer.