Hi Steven,
Thank you so much for your help with this and my other current topic. I've tried it and it works - just need to tweak bits to get it to look good in the page.
Yes, I really need to learn JavaScript!
Seb
You are not logged in. Please login or register.
Juicebox Support Forum → Posts by seb
Hi Steven,
Thank you so much for your help with this and my other current topic. I've tried it and it works - just need to tweak bits to get it to look good in the page.
Yes, I really need to learn JavaScript!
Seb
Hi Steven,
As I can't read JavaScript, I'm guessing that I put your script under the
<script src="colStonewareBrick/jbcore/juicebox.js"></script>
in the head of the page. This, however just brings back a grey area saying that the config file cannot be found. What do I do?
Thanks for your help.
Seb
Hi Steven,
Thanks for taking the time to write this script. Unfortunately, I can't read JavaScript. How exactly would I implement this in my page? This is the test page: http://www.artwebs.co.uk/colStonewareBrick.asp
Seb
Hi,
I have a gallery in a test page here:
http://www.artwebs.co.uk/colStonewareBrick.asp
Is it possible to adjust the gallery height for smaller browsers: Under 480px and especially phones (cells) the space above and below the main image is unacceptable large.
Cheers,
Seb
Hi,
I want to position my thumbnails to the side of my main image in a large browser (1200px) - but when the browser is under 700px, I want the thumbnails to reposition themselves under the image. Is this possible?
Seb
Works a treat! Thanks again!
Thank you very much for the new code. I'll give it a go!
Seb
Hi Steven,
Thanks for your quick reply. Can't put a page up yet - but here's the code I'm using:
in the header:
<script src="glass3010/jbcore/juicebox.js"></script>
in the body:
<div id="juicebox-container"></div>
<script>
$(document).ready(function() {
//load gallery 1
loadGallery('glass3010/');
//initialize top buttons
$("#button-1").on("click", function(){loadGallery('glass3010/');});
$("#button-2").on("click", function(){loadGallery('glass3010Sets/');});
});
function loadGallery(base) {
new juicebox({
baseUrl : base,
containerId : 'juicebox-container',
backgroundColor : 'fff',
galleryWidth:'100%',
galleryHeight:''
});
}
</script>
Further down the body:
<p><span id="button-1" class="link-button" >Reference</span></p>
<p><span id="button-2" class="link-button" >Sets</span></p>
Using the Juicebox interface, I have put a height of 465px in the "glass3010" gallery and a height of 800px in the "glass3010Sets" gallery.
However, the gallery defaults to 800px high on both galleries. I'll try to put a test page up tomorrow, but any ideas in the meantime?
Cheers,
Seb
Hi,
I have checked out your code for enabling 2 or more galleries on the same page.
The problem I have is that I would like each gallery to be different heights. I have tried to change the height using the Juicebox interface. As I am embedding the galleries, the height is not effected this way.
The only way I can change the height of the gallery is by altering the gallery height in the embedded html code in the page.
The problem I have is that with your code for embedding 2 or more galleries on the same page, the height for each gallery must be the same. Do you have code so that I can alter the gallery height for each individual gallery on the same page? Or do I alter the height by using CSS?
I'm not a JavaScript coder, so I don't know where to start to alter our code!
Thanks for any help you can offer.
Seb
Hi Steven,
Thanks for the advice - here is the test page: http://www.feltbetter.com/galleryNeedleFeltAnimals.asp
If you narrow the browser - the vertical slide bar encroaches on the page layout when it comes into contact with it. Mouse off the browser window and wait a few seconds and the vertical slide bar disappears. It re-appears when you mouse back over the page - but covers the right part of the page.
I'm using quite few style sheets from P7 so there is probably a conflict. I'm afraid my programing skills are poor so I'm a bit lost!
Any help would be appreciated!
Cheers,
Seb
I have an issue with right hand margins. When I put an embedded gallery into a page, the right margin to the page is not respected when the browser window is narrowed (to emulate a hand-held device). The slider bar on the right of the browser window encroaches onto the gallery window – only by a little, but enough to cover images in the rest of the body of the page. Is this a known problem? I don’t have a live page to show you the problem yet.
Cheers,
Seb
Hi,
Works a treat!
Thanks. One more problem though.... when the browser is re-sized the text is replaced with original image - and you have to refresh the page to get the JS to fire again and return the text.
(To make the text seen, I had to give ".jb-dt-main-image" class some new rules - color: black; and font: arial;)
Thanks
Seb
Hi,
Thanks for the heads up on this. Unfortunately, I'm not a javascript programmer, so although I sort of understand the code you've written, I've no idea how to apply it to the page - or to link it to a js file. (I have tried to understand the API feature, but any advice would be appreciated, although I know it's not support you officially offer.) I'm OK at CSS coding though!!
Cheers
Seb
Had a look at the SEO content part of JuiceBox Pro - it wasn't what I had in mind though.
Here's the page I'm working on: http://www.artwebstest.co.uk/joshjohn/pagham.asp
I want some text to show in the first slide of the gallery. I've done this by putting a blank image in for slide 1 and overlaying with caption text. There are some problems with this though:
1. When the browser is reduced in size, the caption disappears i.e. it doesn't re-size. Is it possible to edit the CSS media rules anywhere to compensate for this?
2. I've put a .jpg with bitmap text in the second slide - which does work on re-size but isn't as crisp as html text.
Also noticed that the swipe feature (to change images) does not work on IE11, Win8. Is this a known issue?
Cheers,
Seb
Hi Steven,
Thanks for your advice - looks like I've got some studying to do!
Cheers,
Seb
Hi,
New to Juicebox - very good app and am using it in Dreamweaver with success - at least on my local server.
I'd like to put text onto the first "image" slide - but don't want it as a jpg. Is it possible to code in html text into a slide so that Google bots can pick up key words?
Cheers,
Seb
Juicebox Support Forum → Posts by seb
Powered by PunBB, supported by Informer Technologies, Inc.