Jquery plugin initialise conflict
Permalink
I am using this
[code}
<script type="text/javascript">
$(document).ready(function() {
$("#lightgallery").lightGallery();
});
</script>
[/code]
to initialise my plugin. However, if I put the code in the head OR the footer it conflicts with the edit bar script so I lose my editing button at the top.
Any ideas how to solve please?
[code}
<script type="text/javascript">
$(document).ready(function() {
$("#lightgallery").lightGallery();
});
</script>
[/code]
to initialise my plugin. However, if I put the code in the head OR the footer it conflicts with the edit bar script so I lose my editing button at the top.
Any ideas how to solve please?