PDA

View Full Version : Resolved How to remove animation from Speech Bubbles Tooltip script



nealrEAL
12-13-2010, 05:20 PM
1) Script Title: Speech Bubbles Tooltip

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex5/speechbubblestooltip.htm

3) Describe problem: I would like to remove/control the animation. Perhaps speed it up, or slow it down. I really want to just remove it so that the speech bubble just pops up. I looked through the code but I couldn't find, nor do I understand how I would change this. All help is appreciated.:)

ddadmin
12-13-2010, 11:07 PM
Sure, try finding the below line inside the .js file:


$speech.css(speechcss_before).show().animate(speechcss_after)

and change that to:


$speech.css({left:x, opacity:1, top:y+10}).show()

nealrEAL
12-14-2010, 02:32 AM
Thanks! It worked.