I'm working on a gallery, and want to use javascript. So when a user clicks on a thumnail image (which is a link) if javascript is supported it will create a new div on the page with an img in it using the href location.
So if Javascript is not enabled it will simply follow the link, and if it is enabled it will load the new div, styled by css in a fixed location.
I'm not too familiar with Javascript, and some of the examples on the net go overkill for me. Could someone give me some advice or point me in the right direction?
So if Javascript is not enabled it will simply follow the link, and if it is enabled it will load the new div, styled by css in a fixed location.
I'm not too familiar with Javascript, and some of the examples on the net go overkill for me. Could someone give me some advice or point me in the right direction?