Perfect! Thanks SOO much!! -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Christopher Mahan Sent: Thursday, September 23, 2004 2:58 PM To: thelist at lists.evolt.org Subject: Re: [thelist] Javascript not validating --- Kevin Switzer <Kevin.Switzer at Stamats.com> wrote: > document.write('<a href="Javascript:forward2()"><img > src="/images/home/random/R'+which+'.jpg" width="331" height="199" > border="0" id="photoslider" alt="Click to view next image"></a>'); use onclick on the image tag, like this: <img src="/images/home/random/R'+which+'.jpg" width="331" height="199" border="0" id="photoslider" alt="Click to view next image" onclick="forward2();" /> Eliminate the <a href tag Don't forget to close your image tag. ===== Chris Mahan 818.943.1850 cell chris_mahan at yahoo.com chris.mahan at gmail.com http://www.christophermahan.com/ _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !