more/less -> vec/manj
This commit is contained in:
parent
821b5f90fb
commit
b7db28c925
7
view.xsl
7
view.xsl
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user