Hi,
I’m trying to write a photo gallery page here using javascript, xhtml and php.
In my main html page, i have 1 div tag that holds a image (default image to a company logo) and 1 IFrame, which contains a brunch of little thumbnail images.
Within my IFame, I already got the javascript function to handle the scrolling.
What I’d like to do, is each image will have a onclick function, when user click that image within Iframe, I’d like to load that image within the div tag on the main html page. How can I trigger the parent’s div tag using script?
p.s: i’m a very novice javascript programmer, if possible, please try provide cross browser solution.
Thank you very much ?