WordPress.org

Ready to get started?Download WordPress

Forums

Slim Jetpack
[resolved] Tiled gallery caption issue on iPad (2 posts)

  1. bxwebber
    Member
    Posted 1 year ago #

    I'm using Slim Jetpack (in WP 3.6) to create tiled galleries and have noticed a problem when the site is viewed on iPad. In some cases the captions don't behave as one would expect:

    My gallery images are linked to other pages on my site, not to attachment pages. When tapping a gallery image once the caption appears as expected. Tapped a second time the image link is activated and gives the new page. The problem is: when going back to the gallery page by using the browser's 'back' button the gallery caption is still there and even remains visible when tapping the other images. This happens to all captions of visited links in the gallery. Only reloading the page makes the captions of visited links go to their original position: hidden.

    The problem does not occur in desktop browsers: here clicked captions disappear as expected when using the back button as soon as the cursor enters the page again.

    Note: I'm using an iPad simulator on Mac and the site is hosted locally on my machine.

    Is there a way to fix this problem, maybe by adding an extra javascript function in my child theme's function-php? So that the caption funtions more or less the same on mobile and desktop?

    http://wordpress.org/plugins/slimjetpack/

  2. bxwebber
    Member
    Posted 1 year ago #

    ... Addition: by 'functioning more or less the same' on iPad I mean, naturally:
    - 1st tap: caption appears
    - 2nd tap: caption disappears and you go to the linked new page
    - so that when you're using the 'back' button the caption is gone and tapping the image again starts a new sequence of mouse events

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic