Changeset 5922 for MILK


Ignore:
Timestamp:
30/10/09 22:52:28 (10 years ago)
Author:
sdonegan
Message:

updated so mimics rowlo rowhi altenate colors in more/less abstract

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/templates/meta.kid

    r5920 r5922  
    353353                <br/> 
    354354                                 
    355                 <!-- trunc text --> 
    356                 <div id="$thisRecordTrun" class="abstractText_shown"> 
    357                  
     355                <!-- trunc text  
     356                <div id="$thisRecordTrun" class="abstractText_shown">--> 
     357                <div id="$thisRecordTrun" class="${i%2 and 'abstractText_shown_hi' or 'abstractText_shown_lo'}"> 
    358358                     
    359359                    <span class="ndgem"> Abstract: </span> 
     
    363363                        <!-- Only show "more" button if abstract long enough..  --> 
    364364                        <span py:if="abslen > 200"> 
    365                             <input type="button"  class="txtButtons_more" alt="Click to show/hide rest of abstract" value="more" onclick="Div_show('$thisRecordFull');Div_hide('$thisRecordTrun')" /> 
     365                            <input type="button"  class="txtButtons_more" alt="Click to show/hide rest of abstract" value="+" onclick="Div_show('$thisRecordFull');Div_hide('$thisRecordTrun')" /> 
    366366                        </span> 
    367367                </div> 
    368368                 
    369                 <!-- full text -->             
    370                 <div id="$thisRecordFull" class="abstractText_hidden"> 
     369                <!-- full text              
     370                <div id="$thisRecordFull" class="abstractText_hidden">--> 
     371                <div id="$thisRecordFull" class="${i%2 and 'abstractText_hidden_hi' or 'abstractText_hidden_lo'}"> 
    371372                 
    372373                <span class="ndgem"> Abstract: </span> 
    373374                     
    374375                        ${d.abstract} 
    375                         <input type="button"  class="txtButtons_less" alt="Click to show/hide rest of abstract" value="less" onclick="Div_show('$thisRecordTrun');Div_hide('$thisRecordFull')" /> 
     376                        <input type="button"  class="txtButtons_less" alt="Click to show/hide rest of abstract" value="-" onclick="Div_show('$thisRecordTrun');Div_hide('$thisRecordFull')" /> 
    376377                </div> 
    377378                
Note: See TracChangeset for help on using the changeset viewer.