Skip to content

@deefour /gist:6b725c673f750f80eaf0 secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$('#toggleDiv').toggle(function() {
$('#img360').hide();
$('#imgNormal').show();
$(this).html('View Normal');
}, function() {
$('#img360').show();
$('#imgNormal').hide();
$(this).html('View 360');
});
});
</script>
<style type="text/css">
#imgNormal {
display: none;
}
</style>
</head>
<body>
<div id="toggleDiv">View 360</div>
<br>
<br>
<div id="img360">Normal</div>
<div id="imgNormal">360 spin</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.