No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Greetings. I am using this code for a photo gallery. <script language="JavaScript"> function LoadGallery(pictureName,imageFile,titleCaption,captionText) { if (document.all) { document.getElementById(pictureName).style.filter="blendTrans(duration=1)"; document.getElementById(pictureName).filters.blendTrans.Apply(); } document.getElementById(pictureName).src = imageFile; if (document.all) { document.getElementById(pictureName).filters.blendTrans.Play(); } document.getElementById(titleCaption).innerHTML=captionText; } </script> With an onclick statement like this: <a href="#_self" onclick="LoadGallery('Gallery', 'image.jpg', 'Caption', 'captiontext')">Link</a> It totally works but I would … |