javascript - JQuery Fancybox Form -
i've started learning jquery, , i'm doing fine it. though, i'm using fancybox , i'm having trouble.
i want display form inside <div>
rather iframe. i'm not sure how display <div style="display: hidden;">
fancybox.
i have form inside hidden div tag , want use fancybox display it. fancybox type of jquery lighbox.
if need more options try fiddle:
$("a.openform").click(function () { $.fancybox( $('.form').html(), { 'width' : 950, 'height' : 1100, 'autoscale' : false, 'transitionin' : 'none', 'transitionout' : 'none', 'hideoncontentclick': false, 'onstart': function () { //on start callback if needed } } ); });
Comments
Post a Comment