Click to See Complete Forum and Search --> : How do I add a link to a picture in this script I already have?
Allard888
09-18-2007, 03:18 AM
I dont no anything about XML, but I have a flash gallery on my site that uses it.. Trough a program is generates a flash file, index file, image files (thumbs and bigger versions), js file and xml file. At the moment.. its a gallery with thumbnails.. when I click them..the biggger version appears.. But I want to at a link to the bigger version.. that will show the original picture in a new page. But I dont know how to do this..Ive added both xml and js file in the attachment.. thank you!
Stephen Philbin
09-18-2007, 04:26 AM
It doesn't sound like your problem has anything to do with XML, really. If your users are interacting with the content via Flash, then it's more likely that it's a flash issue. I'll move this thread to a more appropriate forum category, but I'll also keep an eye on this thread in case it needs moving again for help in another category.
If you need the thread moving again and I haven't done so, then please feel free to send a PM to me asking to move the thread for you, but please don't PM me asking for specific help with your problem. Good luck.
Webjedikungfu
09-27-2007, 12:03 AM
If you have access to the Flash file to open in Flash and manipulate:
Add a "getURL" function to the thumb's movieclip that will set it to open a new window containing the image.
Like:
this.mythumb.onRelease = function() {
getURL("server/images/any_JPG.jpg", "_blank"); // _blank here specifies new window opening
}
Then disable the current function of how it shows a bigger pic.