i have a image gallery. where the thumbnails are set like this:
i am not sure what is the best sollution...HTML Code:<div class="thumbnail"> <a href="#"><img src="img/img0001.pg" width="200" border="0" /></a> </div> <div class="thumbnail"> <a href="#"><img src="img/img0002.pg" width="200" border="0" /></a> </div> <div class="thumbnail"> <a href="#"><img src="img/img0003.pg" width="200" border="0" /></a> </div> etc.......
i want to click an image and instead of loading a new page or window i want just the width of both the thumbnail class and the img tag to change to 600.
can this be done with javascript??


Reply With Quote
Bookmarks