Topic: [SOLVED] Problem with Base URL
Hi there,
I'm trying to use the baseURL method to embed a JuiceBox gallery in my html page within a Moodle course.
I've uploaded my Juicebox Gallery to here:
www.habitsofmind.org/sites/default/files/JB_Galleries/Displays/
All the JB folders are inside the "Displays" folder.
I've modified the script to:
<!--START JUICEBOX EMBED-->
<script src="http://www.habitsofmind.org/sites/default/files/JB_Galleries/Displays/jbcore/juicebox.js" type="text/javascript"></script>
<script type="text/javascript">// <![CDATA[
new juicebox({
baseURL : 'http://www.habitsofmind.org/sites/defau … /Displays/'
containerId : "juicebox-container",
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "#222222"
});
// ]]></script>
<div id="juicebox-container">Here's the Juice Box Slide Show</div>
<!--END JUICEBOX EMBED-->
But nothing shows. Can't seem to workout what I've done wrong. Any clues?
Thanks
James