Thanks.
I'll wait for the modification (hope you agree it doesn't look right with nothing in the 'box').
You are not logged in. Please login or register.
Juicebox Support Forum → Posts by stevesuk
Pages 1
Thanks.
I'll wait for the modification (hope you agree it doesn't look right with nothing in the 'box').
Any idea how I can get rid of the blank bar at the bottom when there is no 'caption' field?
see:-
http://www.stevesnellphotography.co.uk/ … /Lancaster
Steve.
Don't think it falls into the 'awesome' category but here it is:-
http://www.stevesnellphotography.co.uk
Features a 'slider' on home page (actually a 'fader') and galleries under the 'Photo' menu link.
Platform: Microsoft MVC3 - All JB xml produced dynamically.
Steve.
Thanks for help.
At least it is working.
The gallery URL is:-
configUrl: "http://devmedia.steve-snell.me.uk/DataJB/Italy"
.... which is on a different domain.
Unfortunately, I didn't know that JS fails in this case ... is it a security thing?
I Used to use flash (now JB!!!!) that has a crossdomain thingy.
"/DataJB/Italy" points to an Microsoft MVC3 controller method that returns xml depending on the url sent in (Here it's Italy).
Remember, as I said previously, it works correctly WITHOUT a domain name in front and WITHOUT '.xml' so it is valid what I am doing.
Can't see why it's not working with a domain name in front as it's only forming a url.
Did a bit of experimenting....
As you may well have noticed I am trying to dynamically load an xml file from an external server (devmedia is not where the web page exists).
So, I changed it to be as follows:-
<script type="text/javascript">
new juicebox({
configUrl: "/DataJB/Italy",
containerId: "juicebox-container",
galleryWidth: "940px",
galleryHeight: "730px",
backgroundColor: "rgba(34,34,34,0)"
});
</script>
... and it works .... no '.xml' needed.
It means that I have to have a 'jump' call where "/DataB/Italy" calls the devmedia equivalent to retrieve the xml.
Why do I really have to do this though?
Both of the code samples below return file not found, any reason for this?:-
<script type="text/javascript">
new juicebox({
configUrl: "http://devmedia.steve-snell.me.uk/DataJB/Italy",
containerId: "juicebox-container",
galleryWidth: "940px",
galleryHeight: "730px",
backgroundColor: "rgba(34,34,34,0)"
});
</script>
<script type="text/javascript">
new juicebox({
configUrl: "http://devmedia.steve-snell.me.uk/DataJB/Italy.xml",
containerId: "juicebox-container",
galleryWidth: "940px",
galleryHeight: "730px",
backgroundColor: "rgba(34,34,34,0)"
});
</script>
Pages 1
Juicebox Support Forum → Posts by stevesuk
Powered by PunBB, supported by Informer Technologies, Inc.