Thanks Richard, I couldn't get yours to work (my js knowledge is
pathetically rusty) and ran out of time to tinker with it, I ended up
just prepending the image to the div by class after it's randomly
added:

 $(document).ready(function(){
$("#main.nike").prepend('<img src="swoosh.jpg" alt="nike" />');
$("#main.adidas").prepend("<img src="3stripe.jpg" alt="adidas" />");
$("#main.reebok").prepend("<img src="rbk.jpg" alt="reebok" />");
});

Not the cleanest solution but it seems to be working... Thanks again
noon for your help as well

Reply via email to