[jQuery] binding to an event in the-silky-smooth-marquee
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am trying to bind to a trigger issued by the silky smooth marquee
based on jquery (http://remysharp.com/2008/09/10/the-silky-smooth-marquee/)
Every time the marquee loops, I want to issue an alert. This is done by
binding to the 'stop' event, according to the documentation. I must not
be doing the binding correctly:
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery.marquee.js"></script>
<script type="text/javascript">
$(function () {
$('#marquee_header').marquee();
$('#marquee_header').bind('stop', alert("blah"));
});
Can someone help me? This is driving me crazy.
- - Scott
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoXThsACgkQARR1QiSWUG66cwCcD5onciwUyt8OvXoDj7v+hoSH
pK4AoKbP8vMUhQLr182CBR1qZ5Cc77Rr
=xTfm
-----END PGP SIGNATURE-----