Hi All, I am trying to build a script that allows me to click a pic with class 'threetest', then pics with classes 'onetest' and 'twotest' are toggle hidden, then 'threetest' is animated to move to 2% off the left margin and finally some other div called 'newtext' is revealed.
Here is my script so far, but I have not got it working, as I am new to jquery and I need a little help. $(document).ready(function(){ $('.threetest').click(function(){ $('.onetest, .twotest').toggle('slow'), $('.threetest').click(function(){ $('.threetest').animate({ marginLeft: ‘0px’, left: ‘2%’ }, 1500); }); }); }); Thanks for your help. Bill