How to Use Jquery in Joomla Module development
Jquery actually a great java-content library why we like this
1 – Easy DOM control
2 – Easy Ajax
3 – Browser similarity and some more
be that as it may, in the event that you need to utilize jquery in joomla module improvement you can not utilize it straightforwardly , in light of the fact that joomla depends on mootools java-content library however on account of jquery this magnificent library has a mode "no contention mode" . what you need to do is
First characterize the noconflict() work
<script type="text/javascript">var $j = jQuery.noConflict();</script>
what's more, after that change the $ of the jquery to the $j as showb underneath
<script type="text/javascript">
$j(document).ready(function(){
$j('ul.thumb li').Zoomer({speedView:<?php reverberation $speedView; ?>,
speedRemove:<?php reverberation $speedRemove; ?>,
altAnim:true,
speedTitle:<?php reverberation $speedTitle; ?>,
width:'<?php reverberation $imagewidth."px"; ?>',
height:'<?php reverberation $imageheight."px"; ?>',
debug:false});
});
</script>
That is it . Still you have any inquiry or proposal please drop a mail in our letter box or simply remark it out .appreciate 😉
Comments
Post a Comment