All pastes #614226 Raw Edit

Stuff

public text v1 · immutable
·published 2007-07-11 13:04 UTC
rendered paste body
<script type='text/javascript'>
		$(document).ready(function(){
			$(".open").click(function(){
				var src = $(this).attr("src");
				$("body").append("<div id='over'></div>");
				$("#over").css({"background-color" : "#000", "position" : "absolute", "top" : "0px", "left" : "0px", "z-index" : "44", "width" : "100%", "height" : "100%", "filter" : "alpha(opacity=80)", "-moz-opacity" : "0.8", "opacity" : "0.80"});
				$("body").append("<img src='" + src + "' class='img'/>");
				$(".img").css({"position" : "absolute", "top" : "20%", "left" : "50%", "z-index" : "49", "border" : "5px solid white"});				
				close();				
			});
			
			function close(){
				$("#over").click(function(){
					$("#over").empty();
				});
			};
			
		});
	</script>