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