3 Replies Latest reply on Mar 26, 2010 6:59 AM by Houston.Brown

    Modifying the Swap image script

    Houston.Brown Level 1

      I have two links that change (swap image) "before | after" but I want to indicate wht image is being show by highlighting or controlling the background of the <a> tag through css to indicate to the user what image they are looking at. here is the page as it standsright now.

      http://www.hbip.com/gregory/before_after.php

       

      First of all, when the page loades, ther eis no way to tell if you are looking at the BEFORE or AFTER. How can I modify the script to controll the css in some way.

       

       

      Many thanks,

      Houston