more/less -> vec/manj

This commit is contained in:
Ozbolt Menegatti 2018-11-02 16:14:20 +01:00
parent 821b5f90fb
commit b7db28c925

View File

@ -9,8 +9,8 @@
<xsl:variable name="global_script">
<script type='text/javascript'>
var more_txt = "▼ more";
var less_txt = "▲ less";
var more_txt = "▼ več";
var less_txt = "▲ manj";
$(document).ready(function() {
$(".morelessbutton").click(function() {
var examples_div = $(this).parent().parent().find('.hideable').first();
@ -22,6 +22,7 @@
}
examples_div.slideToggle();
});
$(".morelessbutton").text(more_txt);
});
</script>
</xsl:variable>
@ -106,7 +107,7 @@
<xsl:template name="pomen_podpomen_logic">
<xsl:apply-templates select="indikator | oznaka | pomenska_shema"/>
<div class="xslt-morelessbutton-div">
<a class="morelessbutton" href="javascript:void(null)">▼ more</a>
<a class="morelessbutton" href="javascript:void(null)"></a>
</div>
<div class="hideable" style="display: none; ">
<xsl:apply-templates select="skladenjske_skupine"/>