0
I’m developing a simple HTML page with links to anchors scattered around the document, but after including an image gallery in jQuery, the links started to open the gallery instead of scrolling to the anchor. Can someone help me?
Here is the call of the method:
<script type="text/javascript">
$(document).ready(function(){
$('#gallery').gallerie();
});
</script>
Example of a link and an anchor used:
<li><a href="#empresa">EMPRESA</a></li>
<div class="row" id="empresa">
You can include an example in the link and anchor question?
– Sam
Added TO THE DESCRIPTION
– Natan HC
If you withdraw
$('#gallery').gallerie();
the anchors work normal?– Sam
Yes... but it serves to call the function that opens the images in a gallery. However, the linsk of the Anchors are calling this function of the images instead.
– Natan HC