[Pro] Show/Hide Layer action jumps to top of page in iOS

On a new website I’m building I use the Show/Hide Layer action in combination with the rollover action to build a simple portfolio.

I just checked this on an iPad and iPhone and every time you touch one of the thumbs, the page jumps back to the top of the page. Is there a solution for this behavior?

The website is http://www.capteinbouw.nl


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You also seem to be using the same target group (Indigo) on both sets of images.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

True, but that page is work in progress. Before I spend hours on making a nice page, first I want to know for sure it will work like I would like it to.

And the page jumping back to the top is not something I would like my visitors to experience.

Thanks for the solution!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

that page is work in progress

I had assumed as much but you duplicated the Target show/hide changed the pics but didn’t change the target group so I thought it was an oversight.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It’s much appreciated. All the help here is always 110%.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I Agee, change the target layers.

Tony

On 3 Jun 2012, at 19:39, “DeltaDave” email@hidden wrote:

You also seem to be using the same target group (Indigo) on both sets of images.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Tony,

Thanks for your answer, but please read my previous post:

On 3 Jun 2012, 7:48 pm, DTP2 wrote:

True, but that page is work in progress. Before I spend hours on making a nice page, first I want to know for sure it will work like I would like it to.

I know I have to change the target layers, but first I had to make the “jump to top” issue work. This week I have contact with the customer and we will fill the portfolio page and make it work like it should.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

When you make a blank rollover (that is, a link to nowhere, used only to trigger a target on the same page) the default is to add a link to # (an empty anchor). Most browsers interpret a link to a nonexistent anchor target as a “back to top”.

If your trigger element has an existing link, the Rollover Action won’t provide one. To get a link that works, and is valid, but does not move the page, use the External tab of the Hyperlink dialog (on your Rollover element) to set the URL to:

javascript:

Put only that text in the URL field, nothing else. Now your anchor links will leave the page alone.

Walter

On Jun 4, 2012, at 8:29 AM, DTP2 wrote:

Hi Tony,

Thanks for your answer, but please read my previous post:

On 3 Jun 2012, 7:48 pm, DTP2 wrote:

True, but that page is work in progress. Before I spend hours on making a nice page, first I want to know for sure it will work like I would like it to.

I know I have to change the target layers, but first I had to make the “jump to top” issue work. This week I have contact with the customer and we will fill the portfolio page and make it work like it should.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options