Results 1 to 2 of 2
  1.    #1  
    I'm using an imageView widget like;
    <div id="myPhotoDiv" x-mojo-element="ImageView" align="center"></div>

    //Image STUFF
    var attributes = {
    //noExtractFS : true //optional
    this.imageModel = {
    onLeftFunction : this.wentLeft.bind(this),
    onRightFunction : this.wentRight.bind(this)
    this.controller.setupWidget('myPhotoDiv', {}, this.imageModel);

    this.myPhotoDivElement = $('myPhotoDiv');
    this.myPhotoDivElement.mojo.centerUrlProvided(imagePath, imagePath);

    and it works...double tapping zooms all the way in, I can flick left and can i show the image in full screen on click and preferably back/close on click again.
  2. #2  
    This might be a "hack" way to do it, but the only way I figured out how to do it is putting this line in your activate function:
    Also, this obviously only fullscreens for the Pre, not the Pixi. Keep that in mind.

Posting Permissions