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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -