Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#login-form').submit(function(e) {
- $.fancybox({
- content: '<h2>Hello Fancybox</h2>',
- modal: true
- });
- return false;
- });
- <div style="display:none" id="access-policy">
- blah blah blah
- </div>
- $('#login-form').submit(function(e) {
- $.fancybox({
- href: '#access-policy',
- modal: true
- });
- return false;
- });
- <div style="display:none">
- <div id="access-policy">
- blah blah blah
- </div>
- </div>
- $('#login-form').submit(function(e) {
- $.fancybox({
- content: $('#access-policy').show(),
- modal: true
- });
- return false;
- });
- $('#login-form').submit(function(e) {
- $.fancybox({
- content: $('#access-policy'),
- modal: true
- });
- return false;
- });
- <div style="display:none"><div id="access-policy">
- blah blah blah
- </div></div>
- content: $('#access-policy').html(),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement