jquery - how can I hide a part of javascript from IE -
this javascript function open jquery dialog.
('#dialog').append(iframe).appendto("body").dialog({ autoopen: false, modal: true, resizable: false, show: 'slide', width: 800, height: 700, close: function() { } }); $('#dialog_click').click("callback",function() { $('#dialog').dialog('open'); return false; });
how can hide part show: 'slide,
ie ?
var options = { autoopen: false, modal: true, resizable: false, width: 800, height: 700, close: function() { } }; if ( ! $.browser.msie){ options ['show'] = 'slide'; } $('#dialog').append(iframe).appendto("body").dialog(options);
Comments
Post a Comment