PDA

View Full Version : Image Thumbnail Viewer II onClick syntax



buvwon
04-24-2006, 07:18 PM
Script: Image Thumbnail Viewer II
http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

My Working File:
http://www.deanamason.com/women


I noticed that I set up my onClick syntax incorrectly when I did this site. However, it seems to be working. Are there any advantages using the code the way you show vs. what I did?

Your Way:
<a href="#" onClick="return modifyimage('dynloadarea', 1)">


The Way I Did It:
<a href="#" onClick="modifyimage('dynloadarea', 1);return false">


Thanks!