locked
Semantic Zoom, ListViews, and that press animation

    Question

  • I have 2 questions that may not seem related, but seem to be in my html/js/metro app.

    1. Is a ListView required to use Semantic Zoom? Or can I just provide the zoomed in and zoomed out regions in 2 separate divs?

    2. Is there a way to disable the default press animation for ListView items?

    More context:

    I have some pages that are composed of groups of content (similar to how tiles are grouped on Start). At the moment each group is a single image (we're still prototyping). Each group is built from a ListView and we have Semantic Zoom working great. Unfortunately, when panning on the page, each picture has the default press animation behavior, which is totally inappropriate since each image is supposed to represent a group of data. I'm sure it won't do this once we've converted the image to real marked up data/content, but since we're showing this to customers, we want to disable this subtle-but-annoying animation.

    We don't need the ListView, but we do need Semantic Zoom and to use images for the time being. What are my options?

    Thanks a bunch,
    Don

    Tuesday, April 03, 2012 3:14 AM

Answers

  • Doh! I found the answer within a minute of asking this.

    Setting the tapBehavior option to 'none' was exactly what I needed.

    Cheers,
    Don

    • Marked as answer by LockSmithDon Tuesday, April 03, 2012 3:22 AM
    Tuesday, April 03, 2012 3:22 AM