Topic: Config XML error _ have tried various solutions here
OK... have read thru a number of posts and tried a number of things. What I don't get is why the code that the desktop gallery creates doesn't seem to work and we have to find the code elsewhere here... ?
Anyway... Here's my current "path"... and the (3) sets of code I've tried, based on things I've read here.
Current html page I'm pasting the code into: http://xtreme-remodeling.com/dream-decks.htm
(it is not avail via navigation yet)
Folder name is: dream-deck-gallery
Inside that folder are all the files that Juice Box generated...
I dragged the entire folder into the main public html folder.
Then, I tried these (3) variations of the code.
THIS IS THE ORIGINAL CODE... GOT NO RESULT AT ALL:
<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId : "juicebox-container",
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "#222222"
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
THIS IS THE NEXT CODE I TRIED, BASED ON THINGS READ HERE...
AND GOT SOMETHING, BUT WITH THE XML ERROR:
<!--START JUICEBOX EMBED-->
<script src="http://www.xtreme-remodeling.com/dream-deck-gallery/jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId : "juicebox-container",
baseUrl : 'http://www.xtreme-remodeling.com/dream-deck-gallery/',
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "#222222"
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
FINALLY... I READ ANOTHER POST TALKING ABOUT THE config / XML FILE BEING RENAMED... And discovered, MY CODE HAD NEVER EVEN "CALLED" THAT FILE... SO I ADDED THE configURL to this code, PLUS renamed my file to mygallery.xml... Not clear if it should have been named the actual gallery name? - so I also tried it with the actual gallery name included in the code and the name of the xml. SAME RESULT. :(
<!--START JUICEBOX EMBED-->
<script src="http://www.xtreme-remodeling.com/dream-deck-gallery/jbcore/juicebox.js"></script>
<script>
new juicebox({
configUrl: "mygallery.xml",
containerId : "juicebox-container",
baseUrl : 'http://www.xtreme-remodeling.com/dream-deck-gallery/',
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "#222222"
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
Not sure what to try next. This site is an older html site.
thanks!
Christine