View Single Post
Old 07-09-2009, 06:02 AM  
calmlikeabomb
Confirmed User
 
calmlikeabomb's Avatar
 
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
I'd also suggest jQuery.

Assuming you wanted to slide an ad in when something is clicked. You'd just adjust the animate method to move your element to where you'd like it to go.

$("#clicked_element").click(function(){ $("#my_ad").animate({"left": "+=50px"}, "slow");});

Lots of different events you can bind to besides a click.
__________________
subarus.
calmlikeabomb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote