Created
July 20, 2010 15:15
-
-
Save kcarriedo/483081 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //How Can I access the other large image within my thumbnail image? | |
| //What I would like to do is click on thumbnail image and make that image not visible and the large image visible. Is this possible. | |
| SC.ImageView.design({ | |
| layout: { top: 100, left: 840, rotate: 90, height: 150, width: 130 }, | |
| value: static_url('resources/aly.JPG'), | |
| localize: NO, | |
| mouseDown: function(evt) { | |
| // This will hide the current image when clicked | |
| this.set('isVisible', NO) ; | |
| }, | |
| useImageCache: NO // this loads the image with out clicking the mouse. | |
| }), | |
| //This is a large View | |
| SC.ImageView.design({ | |
| layout: { top: 100, left: 100, rotate: 90, height: 650, width: 530 }, | |
| value: static_url('resources/aly.JPG'), | |
| localize: NO, | |
| mouseDown: function(evt) { | |
| // This will hide the current image when clicked | |
| this.set('isVisible', NO) ; | |
| }, | |
| useImageCache: NO // this loads the image with out clicking the mouse. | |
| }), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment