Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Coverflow

Hi,

I am debating about using coverflow for my project, but before I decide if it's the right fit, how easy is it to:

-have a link open up when any image is clicked? (I'm guessing the only way to do this is to add an EventListener)
-have text underneath scroll (like a caption for the image) with the images

Thanks,

Connor

— asked July 14th 2010 by Connor Zwick
  • caption
  • coverflow
  • image
  • link
0 Comments

2 Answers

  • On click or change event you can get which images is selected form the image list and than you can redirect to the respected page.

    var coverFlow = Ti.UI.iOS.createCoverFlowView({
        images    : [image list]
    });
    
    coverFlow.addEventListener('click', function(e){
        var imageNumber = e.source.getSelected();
    
        //Now depends on selected image number redirects to page
    });
    
    — answered January 7th 2013 by Raju Mahato
    permalink
    0 Comments
  • I'm very sorry…I don't know how it posted 4 times. Please disregard the other three, until they are deleted. ;)

    — answered July 14th 2010 by Connor Zwick
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.