Yep, on an even more careful look it was a path error. My fault. Oooops.
All working now.
Pages 1
You are not logged in. Please login or register.
Juicebox Support Forum → Posts by mindfulbydesign
Pages 1
Yep, on an even more careful look it was a path error. My fault. Oooops.
All working now.
Thanks for your help.
I don't think I have a choice of entering raw HTML.
I carefully checked the code and this is what I've pasted - before my editor adds stuff to it.
<!--START JUICEBOX EMBED-->
<script src="http://www.habitsofmind.org/files/JB_Galleries/Displays/jbcore/juicebox.js"></script>
<script>
new juicebox({
baseUrl : 'http://www.habitsofmind.org/files/JB_Ga … /Displays/',
containerId : 'juicebox-container',
galleryWidth : '800',
galleryHeight : '600',
backgroundColor: '#222222'
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
The URL I'm using is within a Moodle installation (behind a password etc). But I've also tried the same code on a test web page and couldn't get it to work. Have a look here
http://www.habitsofmind.org/node/1020
Thanks
James
Actually, looking at the script above, that's not what I put in. What I put in was
<!--START JUICEBOX EMBED-->
<script src="http://www.habitsofmind.org/sites/default/files/JB_Galleries/Displays/jbcore/juicebox.js"></script>
<script>
new juicebox({
baseUrl : 'http://www.habitsofmind.org/sites/defau … /Displays/',
containerId : 'juicebox-container',
galleryWidth : '800',
galleryHeight : '600',
backgroundColor: '#222222'
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
but then it got changed somehow to the above with the error messages.
So... any ideas? I'm not a html person, but can usually do simple stuff like this.
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
Pages 1
Juicebox Support Forum → Posts by mindfulbydesign
Powered by PunBB, supported by Informer Technologies, Inc.