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

    Code:
    //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 right....how 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:
    Code:
    this.myPhotoDivElement.mojo.manualSize('500','320');
    Also, this obviously only fullscreens for the Pre, not the Pixi. Keep that in mind.

Posting Permissions