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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -