Posted 19 September 2011 - 11:19 PM
My client wants the jqmodal window to have a "close" button. I see that this is possible
http://dev.iceburg.net/jquery/jqModal/) , but am not sure where/how to include it in the jqmodal.js file....
$('#dialog').jqmAddClose('.hideDialog');
$('.dialogs').jqmAddClose($('#hideDialogs a'));
gets added how to this?:
var TubePressJqModalPlayer=(function(){var c=TubePressEvents,b="jqmodal",f=jQuery(document),e=getTubePressBaseUrl()+"/sys/ui/static/players/jqmodal/lib/jqModal.",a=function(m,l,j,i,g){var h=jQuery('
').appendTo("body"),k=function(n){n.o.remove();n.w.remove()};h.addClass("jqmWindow");h.jqm({onHide:k}).jqmShow()},d=function(l,m,h,g,i,k,j){jQuery("#jqmodal"+j+k).html(h)};jQuery.getScript(e+"js",function(){},true);TubePressCss.load(e+"css");f.bind(c.PLAYER_INVOKE+b,a);f.bind(c.PLAYER_POPULATE+b,d)}());
thanks,
Stephen