Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Click and drag mouse horizontally on the following image to change the view




HTML
<style>
.draggable {
	width: 1200px;
}
</style>

<p></p>

<div id="dummy"></div>

<div id="view360">
</div>


Javascript
AJS.toInit( function()
	{	AJS.$.getScript( "/download/attachments/128142989/pdt360DegViewer.js")
		.done( function( script, textStatus ) {
    			console.log( textStatus );

				document.getElementById("dummy").style.display = "none";

				var path = '/download/attachments/133071628/';
				pdt360DegViewer('view360', 64, path, 'jpg', false, false, true, false, false, false, false); 

		});
	}
);