you can actually have both IDs and classes so try
<a id="myID01" class="fancybox" href="#data">This shows content of
element who has id="data"</a>
<a id="myID02" class="fancybox" href="#data2">This shows content of
element who has id="data2"</a>
<a id="myID03" class="fancybox" href="#data3">This shows content of
element who has id="data3"</a>
etc
then use the class for fancybox
$(".fancybox").fancybox({
// options here
});
On Apr 27, 7:46 am, "
east...@cstonecanada.com"