im having troubles displaying a fancybox window. I really don't know anything about jquery, i'm giving my first steps, so i hope you be patient. My example:
<h:form>
<h:outputLink id="example1" value="/Images/Flor1.jpg" title="" >
<h:graphicImage alt="example1" value="/Images/TbnFlor1.jpg" />
</h:outputLink>
</h:form>
The jquery function
$(document).ready(
function() {
$("a#example1").fancybox();
});
This doesn't work, if the output link is outside the form, fancybox works. I've been looking an answer to solve this, but still coulnd't find it. I hope you can help me guys, thanks!