Tentativo di attivazione dettagli con Jquery
This commit is contained in:
parent
fe9e5c3b25
commit
2d80dcb4d6
|
@ -258,7 +258,7 @@
|
||||||
for="forma" class="lh-copy">Verbo volgare</label>
|
for="forma" class="lh-copy">Verbo volgare</label>
|
||||||
|
|
||||||
<a class="f6 link dim pl6 mb2 dark-green add-details" href="#0"
|
<a class="f6 link dim pl6 mb2 dark-green add-details" href="#0"
|
||||||
value="dettagli" data-added="0"> <img
|
value="dettagli" data-added="0" id="details-image"> <img
|
||||||
src="./images/altriFiltri.png" >
|
src="./images/altriFiltri.png" >
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -128,6 +128,17 @@ $(document).ready(function() {
|
||||||
$(this).siblings().removeClass('bg-white').removeClass('red');
|
$(this).siblings().removeClass('bg-white').removeClass('red');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//******* Nik added ****
|
||||||
|
|
||||||
|
jQuery(document).delegate('#details-image'), 'click', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
alert("ciao");
|
||||||
|
$('#categoriaverbo').show();
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
// **** end Nik *****
|
||||||
|
|
||||||
jQuery(document).delegate('a.add-record', 'click', function(e) {
|
jQuery(document).delegate('a.add-record', 'click', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var content = jQuery('#categoriagrammaticale >div'),
|
var content = jQuery('#categoriagrammaticale >div'),
|
||||||
|
@ -140,7 +151,6 @@ $(document).ready(function() {
|
||||||
element.appendTo('#condizioni');
|
element.appendTo('#condizioni');
|
||||||
element.find('.sn').html(size);
|
element.find('.sn').html(size);
|
||||||
grammarconditions = grammarconditions + 1
|
grammarconditions = grammarconditions + 1
|
||||||
|
|
||||||
if (size == 1)
|
if (size == 1)
|
||||||
jQuery('#grammarbutton').attr('style', "display:block;")
|
jQuery('#grammarbutton').attr('style', "display:block;")
|
||||||
});
|
});
|
||||||
|
@ -161,6 +171,7 @@ $(document).ready(function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jQuery(document).delegate('select.catgram', 'change', function(e) {
|
jQuery(document).delegate('select.catgram', 'change', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue