Pannellum is a lightweight, free, and open source panorama viewer for the web. This version provides panorama views without using iframes.
For more information about usage and compatibility, please visit https://bitbucket.org/mpetroff/pannellum/
All credits goes to mpetroff.
View index.html for examples.
<html>
<head>
<!-- ... -->
<script>
new Pannellum({
id:'panoramaOne',
autoload:"yes",
showFullToggle:true,
showZoom:true,
rotation:{
direction:"right",
speed:0.10
},
author:"Clément d’Esparbès",
license:3
});
</script>
<!-- ... -->
</head>
<body>
<!-- ... -->
<img src="1_10.jpg" id="panoramaOne" width="435" height="330" title="Reception room"/>
<!-- ... -->
</body>
</html>
- Read properties from img - tag where possible
- Added roation feature
- Refactored pannellum to read properties from object instead uf url