We are trying to add two fancybox inline pop-ups to our website. We got one working, but we aren't able to get the second one working. Could you please look at our code?
For html we written the following:
<a id="popup-inline" href="#data"><div class="button">Click here</div></a><br><br>
<div style="display:none">
<div id="data">
TEXT
</div>
</div>
<a id="popup-inline" href="#data1"><div class="button">Click here</div></a><br><br>
<div style="display:none">
<div id="data1">
TEXT1
</div>
</div>'
Furthermore our jquery is:
$(document).ready(function() {
$("#popup-inline").fancybox({
'titlePosition' : 'inside' });
});
</script>