Ignore:
Timestamp:
2022-08-14T17:29:18+12:00 (21 months ago)
Author:
anupama
Message:

Updates to the GS3 style-e collection, with the new styles and changed the javascript so it's better suited for switching between styles without breaking too much.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/style-e/etc/collectionConfig.xml

    r36370 r36371  
    1919    </xsl:variable>
    2020    <!--
    21     <link href="{$httpCollection}/style/custom-style.css" rel="stylesheet" type="text/css"/>
     21    <link href="{$httpCollection}/style/custom-style.css" rel="stylesheet" type="text/css"/>   
    2222    -->
     23<link rel="stylesheet" href="{$httpCollection}/style/gs3-style-default-extra.css" type="text/css"
     24   title="GS3 Style" id="custom-style" charset="UTF-8"/>
     25   
    2326<script src="{$httpCollection}/script/custom-script.js" type="text/javascript">
    2427</script>
     
    2629  </xsl:template>
    2730
     31
     32    <xsl:template name="create-banner"> 
     33    <div class="choose_style">
     34        Choose a style:
     35        <a href="#" onclick="replaceStyle('gs3-style-default-extra');return false;">Default Greenstone</a>,
     36        <a href="#" onclick="replaceStyle('gs3-style-blue');return false;">Blue</a>,
     37        <a href="#" onclick="replaceStyle('gs3-style-olive-purple');return false;">OlivePurple</a>,     
     38        <a href="#" onclick="replaceStyle('');return false;">None</a>
     39        </div>
     40       
     41    <div id="gs_banner" class="ui-widget-header ui-corner-bottom">     
     42      <div id="titlesearchcontainer">
     43     
     44    <xsl:call-template name="page-title-area"/>
     45    <xsl:call-template name="quick-search-area"/>
     46    <div style="clear:both;"><xsl:text> </xsl:text></div>   
     47      </div>
     48      <xsl:call-template name="browsing-tabs"/>
     49       
     50   
     51    </div>
     52  </xsl:template>
    2853</format>
    2954    <search type="mgpp">
Note: See TracChangeset for help on using the changeset viewer.