Topic: Back button, cutom code and info

Hello, your gallery interested me, I tested the free version is limited.

Looking in the documentation I have seen that can display a back button.

'http://www.juicebox.net/support/config_ … on-options'

I'd like to know if you know the back button displayed on iphone / android?

I want it added in a mobile application, and make a return on the application

but I use this type of code

<div onclick="Ti.App.fireEvent('closeWin');">Back</div>

I can custom in your script?

thanks

If you know all this custom, I'm fine buying your gallery because it is cool

Re: Back button, cutom code and info

I'd like to know if you know the back button displayed on iphone / android?

Yes.
By default, Juicebox will display the gallery in Small Screen Mode on mobile devices and you can have the Back Button displayed in Small Screen Mode by setting showSmallBackButton="TRUE".
Please note that in Small Screen Mode, the Back Button will be displayed only on the main image pages (and not on the thumbnail pages).
Alternatively, you could force the gallery to be displayed in Large Screen Mode on all devices and in all browsers by setting screenMode="LARGE".
For more information about Screen Modes, please see here.

I can custom in your script?

Yes.
You can run custom JavaScript code on clicking the Back Button using configuration options such as the following:

<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
new juicebox({
    containerId: 'juicebox-container',
    backButtonPosition: 'TOP',
    backButtonUrl: 'javascript: alert("Back Button clicked.");',
    backButtonUseIcon: 'TRUE'
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

Re: Back button, cutom code and info

Hello

Ok I understand

return mode is displayed when we click on the image and not the thumbnail page?
-> On this post on Africa Gallery in mobile mode in the thumbnail page we see the icon back icon symbolizing the home? It is normal that it works?

So you're saying that if we displayed in full screen mode it will display the home button
I must read here, is not it?


Ah ok if I do that,
it will work you thinking?

backButtonUrl: 'javascript: onclick="Ti.App.fireEvent('closeWin');',

Thank you

Re: Back button, cutom code and info

return mode is displayed when we click on the image and not the thumbnail page?

That is correct. In Small Screen Mode, the Back Button will be displayed only on main images pages and not on thumbnail pages.

On this post on Africa Gallery in mobile mode in the thumbnail page we see the icon back icon symbolizing the home? It is normal that it works?

The user has created his own 'home' button (using a custom image, CSS and HTML) and has overlaid it on top of his web page so that it displays on the thumbnail pages and covers Juicebox's own Back Button on the main image pages.
He has outlined the method he has used in this forum post.

So you're saying that if we displayed in full screen mode it will display the home button

No. In Small Screen Mode, the Back Button will be displayed only on main images pages and not on thumbnail pages (no matter whether the pages are displayed fullscreen or not).

Ah ok if I do that,
it will work you thinking?
backButtonUrl: 'javascript: onclick="Ti.App.fireEvent('closeWin');',

No. The correct format (if setting the configuration option in the embedding code like in my example above) would be:

backButtonUrl: 'javascript: Ti.App.fireEvent("closeWin");',

Re: Back button, cutom code and info

OK thank you Steven for answers
I think I bought it, but if it does not work in the project, I get a refund?

because I used a mobile intergration

thank you

Re: Back button, cutom code and info

I think I bought it, but if it does not work in the project, I get a refund?

If you run into any problems, I'll certainly do my best to help you out but, yes, we do offer a money-back guarantee, as noted in this FAQ:
Can I get a refund?

Re: Back button, cutom code and info

Steven thank you, I'll take this weekend or Monday
I finished my work and I attack from the gallery

Thank you for your professionalism