hello
I am trying to insert a 3d gallery in my homepage,thought the gallery is running fine in a normal html page,i want to insert the same gallery in silverstripe.
My gallery consist of a js file(javascript file) one XML file which have information about the picture i am using and a html code to call the files.all the files are under a folder under the root.
when i insert the below code the gallery is showing correctly in a html file
<script type="text/javascript">
var fo = new SWFObject("TiltViewer.swf", "viewer", "100%", "100%", "9.0.28", "#000000");
// XML GALLERY OPTIONS
// To use local images defined in an XML document, use this block
fo.addVariable("useFlickr", "false");
fo.addVariable("xmlURL", "gallery.xml");
fo.addVariable("maxJPGSize","640");
//GENERAL OPTIONS
fo.addVariable("useReloadButton", "false");
fo.addVariable("columns", "3");
fo.addVariable("rows", "3");
// END TILTVIEWER CONFIGURATION OPTIONS
fo.addParam("allowFullScreen","true");
fo.write("flashcontent");
</script>
Please help me in inserting this code in homepage