I just want to know if it is possible to create a fancybox, with the content of a hidden div, on a click event. Like this When button is pressed:
<input type="button" class="headerButtonNormal" id="test" value="Contact information" onmouseover=this.className="headerButtonHoover"
onmouseout=this.className="headerButtonNormal" onclick="showFormInformation()">
Execute this javascript code and somehow generate a fancybox:
function showFormInformation()
{
}
And this is the div I want to show:
<div id="inline">
Test fancybox
</div>
While searching on the internet, it seemed like fancybox isnt made for this... it is more made for link klicking. Should I use a different framework???