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?
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 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.
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.