Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <img class="ui-icon ui-icon-info" onclick="dynamicModal()"/> Click image
- dynamicModal = function() {
- $("<div>Dinamically created</div>").dialog({
- modal: true,
- draggable: false,
- resizable: false,
- position: ['center', 'top'],
- show: 'blind',
- hide: 'blind',
- width: 400,
- dialogClass: 'ui-dialog-osx',
- buttons: {
- "Destroy": function() {
- $(this).dialog("destroy");
- }
- }
- });
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement