Im having a little trouble trying to implement a plugin on to my site, im pretty new to js and im having a little trouble getting my head around the syntax.. The part im having trouble with bellow is the lines #mm-prev and #mm-next.. Have i added those bits correctly ?
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(".jbgallery").jbgallery({
fullscreen: false,
style : "zoom",
randomize : 1,
menu : true,
slideshow:false,
caption : false
});
jQuery("#mm-prev").click(function(){
obj.left();
});
jQuery("#mm-next").click(function(){
obj.right();
});
});
</script>
the html those last parts go with is
<a id="mm-next" href="#">NEXT</a>
<a id="mm-prev" href="#">PREV</a>
for a bit of background the script in question is JBgallery
objdefined..my guess is it should be a reference tojQuery(".jbgallery")