Get started with roundabout CDN
BSD-3-Clause licensed
Roundabout is a lightweight, touch-friendly library for creating interactive 360-degree product views.
Tags:- roundabout
- turntable
- lazy
- susan
- carousel
- 3d
Stable version
Copied!
How to start using roundabout CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with roundabout CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/roundabout/2.4.2/jquery.roundabout.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.cdnhub.io/roundabout/2.4.2/jquery.roundabout.min.js"></script>
<style>
#container {
width: 300px;
height: 300px;
position: relative;
margin: 0 auto;
}
#panorama {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="container">
<div id="panorama">
<img src="path/to/your/panorama-image.jpg" alt="Panorama Image">
</div>
</div>
<script>
$(document).ready(function() {
$('#panorama').roundabout({
width: 300,
height: 300,
panorama: $('#panorama img'),
buttons: ['prev', 'next'],
prevText: 'Previous',
nextText: 'Next',
autoCenter: true
});
});
</script>
</body>
</html>
Copied!
Copied!