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.

http://jsfiddle.net/nlcmh/21/

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                       }                  }             );     }); 

http://jsfiddle.net/rqq5r/1/


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -