S
Skip
Hi all,
I have created a structure for a thumbnail gallery (html / css)
Each thumb img is contained in a div class 'slide'
within the slide div is another div class 'caption'
I'm trying to find a way to automatically populate div class 'caption'
with the file name (not path ideally) of the image in the parent div
class 'slide'
I've been playing around with snippets of code found online since
yesterday but got no-where. Optionally, I would also like to populate
div class 'caption' with the alt and or title attributes.
Can anyone help?
I have created a structure for a thumbnail gallery (html / css)
Each thumb img is contained in a div class 'slide'
within the slide div is another div class 'caption'
I'm trying to find a way to automatically populate div class 'caption'
with the file name (not path ideally) of the image in the parent div
class 'slide'
I've been playing around with snippets of code found online since
yesterday but got no-where. Optionally, I would also like to populate
div class 'caption' with the alt and or title attributes.
Can anyone help?