XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
Mouse leave/invert pnganimate https://www.bbs.xwidget.com/viewtopic.php?f=8&t=4882 |
Page 1 of 1 |
Author: | Jimking [ July 29th, 2014, 2:45 am ] |
Post subject: | Mouse leave/invert pnganimate |
Guys I have a pnganimate object. It starts on mouse enter, but I need the script so with mouse leave will make the inverse movement. Like a box that opens and closes.. I can't remember if I already use it in one of my widgets.. Thanks in advance! |
Author: | hamid [ July 30th, 2014, 1:22 pm ] |
Post subject: | Re: Mouse leave/invert pnganimate |
do you mean this way? Code: function pnganimate1OnMouseEnter(Sender)
{ Sender.Inverse=0 Sender.Play=1 } function pnganimate1OnMouseLeave(Sender) { Sender.Inverse=1 Sender.Play=1 } |
Author: | Jimking [ July 30th, 2014, 3:31 pm ] |
Post subject: | Re: Mouse leave/invert pnganimate |
I'll test it tomorrow but from what I see, should work ok! Thanks ![]() |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |