jquery lightbox expand across the browser window when clicked -


i want button appear on image. when clicked on button image should expand across whole browser window. think make sense.

thanks.

$('#expand').on('click',function(){   $('img#myimage').width($(window).width());   $('img#myimage').height($(window).height()); }); 

demo --> http://jsfiddle.net/mohammadadil/vwqum/3/


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -