Topic: back button enabled, but hidden in embedded mode?

Hi there,

is there a way to hide the back button, when the gallery is shown embedded?

There are two ways to reach my gallerie: By a "secret" direct hyperlink and embedded to a wordpress page.
I enabled the Back Button, because it should lead the user to the start page of my wordpress blog, nevertheless wether he surfed directly to the "secret" hyperlink or watches the galery in expanded mode (from the wordpress page).

But I wish the Button was invisible while the user watches it in embedded mode.

Is there a way to make the script act like this?

Re: back button enabled, but hidden in embedded mode?

If you set debugMode="TRUE" in your gallery's XML file, then you can set configuration options via a query string in the URL as documented here. Configuration options set via a query string override options set in the embedding code or in the gallery's XML file.
Therefore, you could embed your gallery without the Back Button and set the Back Button options in the query string of your secret direct hyperlink.
For example:
http://www.example.com/gallery/index.html?backButtonPosition=TOP&backButtonText=click

Re: back button enabled, but hidden in embedded mode?

Ah, thanks.
So it might work, but my idea of giving he "secret hyperlink" to friends just died ;-)

Nevertheless thanks for the quick and good response!

Re: back button enabled, but hidden in embedded mode?

I just had an idea and gave it a try: While the backbutton is enabled in the XML file of the gallery, I disabled it in the embedding code on the wordpress blog - and at least in Chrome it seems to work just the way I want it to.

Re: back button enabled, but hidden in embedded mode?

That would also work. Configuration options set in the JavaScript embedding code override those set in the gallery's XML file.
As noted in the Setting Config Options support section:

Option precedence takes the following order: Query String -> JavaScript Embed code -> XML config file

Re: back button enabled, but hidden in embedded mode?

Ah, thanks for that information.