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()); });
Comments
Post a Comment