Is there a way to create a form in Livecyle Designer and add thumbnail images and then be able to click on a thumbnail image and a larger version of the image pops up in a popup window or a new window? I tried the gotourl function and referenced the image on the hard drive but this did not work because it is not a url. Is there javascript to do this ie. app.openDoc(c:\image.jpg, NewWindow);?
Thank you.
Views
Replies
Total Likes
I do not see an option to do that in LC.....however if your intent is to display enlarged image here is what you can do.....
load all your thumbnail images and have blank Image field next to them using mouseEnter and mouseExit events display the image that gets focus....like...
//mouseEnter
this.parent.ImageField2.dataNode.value
= this.parent.ImageField1.dataNode.value;
//mouseExit
this.parent.ImageField2.dataNode.value
= "";
Note: Do not forget to set "Scale Image Proportionally"
Good Luck;
Views
Replies
Total Likes
Thank you.
Views
Replies
Total Likes