Skip to content
Create a gist now

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<script src=""></script>
$('#toggleDiv').toggle(function() {
$(this).html('View Normal');
}, function() {
$(this).html('View 360');
<style type="text/css">
#imgNormal {
display: none;
<div id="toggleDiv">View 360</div>
<div id="img360">Normal</div>
<div id="imgNormal">360 spin</div>
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.