I'd like to create a jQuery function that accepts an image url, and when executed, displays the image full screen matching the height and width of the current page.
Thanks.
I'd like to create a jQuery function that accepts an image url, and when executed, displays the image full screen matching the height and width of the current page.
Thanks.
.css({height:'100%',width:'100%', position:'fixed', top:0, left:0});
You can use animation too.
.animate({height:'100%',width:'100%', position:'absolute', top:0, left:0});
Look here for reference.