image disapper after opening it in a jquery dialog -


i have code opens image in dialog when clicked , works fine problem image clicked disappear position after opens in dialog, here code using:

        $(function () {         $("img").click(function (s) {             $(this).dialog({                 height: 750,                 width: 650,                 modal: true,                 zindex:900             });         });     }); 

what problem , thanks

you open clone of image, original doesn't disappear:

   $(function () {         $("img").click(function (s) {             $(this).clone().dialog({                 height: 750,                 width: 650,                 modal: true,                 zindex:900             });         });     }); 

hope helps. cheers


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -