>- see footer for list info -< The best way is to change the class you are using
Onclick="this.className = 'newClass'" -- Russ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul Swingewood Sent: 14 August 2009 14:57 To: [email protected] Subject: [CF-Dev] Qucky onClick >- see footer for list info -< Can anyone tell me how to change a style backgroundcolour with an onclick please. <div class="SelectVideo"> <img title="(FANS FOOTAGE!) of GUNNRUNNER perfoming Knocking On Heavens Door" src="../video/#GetVideo.VideoThumbnail#" class="VideoThumbnail" /> <!--- Call logvideohits and pass parameters---> <a href="logvideohits.cfm?VideoID=#VideoID#" onclick="Change the background colour">#VideoTitle# - (#VenueName# - #lsdateformat(GigDate, 'dd/mm/yyyy')#)</a> <div id="VideoHits">#GetVideo.Hits# views</div> </div> I just want to change the background of this div tag area. Regards - Paul - www.gunnrunner.co.uk/mediatest.cfm _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
