Revisions
-
joerixaop revised this gist
Sep 4, 2011 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,6 +17,7 @@ $(function(){ }, close: function(){ $(this).dialog('destroy'); $(this).remove(); } }); return false; -
spint revised this gist
Sep 1, 2011 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,7 @@ $(function(){ var link = $(this); $("<div><img src='" + BASEPATH + "images/small-spinner.gif' /> </div>") .dialog({ autoOpen: true, //for info, true is default modal: true, title: 'Apps used by ' + link.attr('data-name'), width: '720', -
spint revised this gist
Sep 1, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ $(function(){ $(".user-link").live('click', function(){ var link = $(this); $("<div><img src='" + BASEPATH + "images/small-spinner.gif' /> </div>") .dialog({ modal: true, title: 'Apps used by ' + link.attr('data-name'), -
spint revised this gist
Sep 1, 2011 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,9 +4,8 @@ $(function(){ $(".user-link").live('click', function(){ var link = $(this); var $dialog = $("<div><img src='" + BASEPATH + "images/small-spinner.gif' /> </div>") .dialog({ modal: true, title: 'Apps used by ' + link.attr('data-name'), width: '720', @@ -19,7 +18,6 @@ $(function(){ $(this).dialog('destroy'); } }); return false; }); } -
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ // Creates a jQuery UI dialog on the fly, every time a link .user-link is clicked, // dialog content will be loaded from the url specified by the clicked link $(function(){ $(".user-link").live('click', function(){ var link = $(this); var $dialog = $("<div><img src='" + BASEPATH + "images/small-spinner.gif' </div>") .dialog({ autoOpen: false, modal: true, title: 'Apps used by ' + link.attr('data-name'), width: '720', minHeight: '400', open: function(){ $(this).load(link.attr('href')); }, close: function(){ $(this).dialog('destroy'); } }); $dialog.dialog('open'); return false; }); }