Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show/Hide Layer From Dynamic Link

Status
Not open for further replies.

paultux

Technical User
Mar 9, 2007
1
GB
Hi all,

I have been given the task of upgrading our camera club website. This is my first attempt at dynamic websites, I'm not doing bad for a newbee thanks to this forum. I have managed to populate a gallery page with a photographers thumbnails using an ID passed from the URL. What I'm stuck with is that I want to show the larger images on the same page by showing and hiding a layer contains the larger image, when the thumbnail is clicked. The thumbnails are populated on the page using a repeat region and recordset paging. I can show/hide layers using the behaviours but how can I do this dynamically showing the layer with the correct image each time. Hope this makes sense. Thanks for any help and ideas. Regards

Paul
 
Take a look at Preview Gallery

In the javascript there is an array of image hrefs, this is built dynamically and each thumbnail has the array ref coded into the onmouseover/onclick event.

If you view the page source you will see all the javscript that drives it.


Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top