Otherwise you can use the livequery plugin with older versions of
jQuery.
On Jul 30, 12:54 pm, solow <solow.wes...@gmail.com> wrote:
> JS ERROR:
>
> Gebruikersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
> Trident/4.0)
> Tijdstempel: Thu, 30 Jul 2009 22:52:44 UTC
>
> Bericht: Object doesn't support this property or method
> Regel: 18
> Teken: 6
> Code: 0
> URI:http://www.waysoflife.eu/poker.php
>
> <script type="text/javascript">
> $(document).ready(function () {
> $("li a").live("mouseover", function()
> {
> if ($(this).is(':animated')) {
> $(this).stop().animate({width: "83px"}, {duration: 250,
> easing:"easeOutQuad"});
> } else
> {
> $(this).stop().animate({width: "83px"}, {duration: 300,
> easing:"easeOutQuad"});
> }
> }, function ()
> {
> if ($(this).is(':animated')) {
> $(this).stop().animate({width: "20px"}, {duration: 300,
> easing:"easeInOutQuad"})
> } else {
> $(this).stop('animated:').animate({width: "20px"},
> {duration: 250, easing:"easeInOutQuad"});
> }
> });
> });
> function curCH(num){
> imagesLOC = new Array('images/avatars/av_01.jpg', 'images/
> avatars/av_02.jpg', 'images/avatars/av_03.jpg', 'images/avatars/
> av_04.jpg', 'images/avatars/av_05.jpg', 'images/avatars/av_06.jpg',
> 'images/avatars/av_07.jpg', 'images/avatars/av_08.jpg', 'images/
> avatars/av_09.jpg', 'images/avatars/av_10.jpg', 'images/avatars/
> av_11.jpg', 'images/avatars/av_12.jpg');
>
> $("#currentIMG").html('<img src="'+imagesLOC[num]+'"
> alt="Avatar '+num+'" />');
>
> }
> </script>
No comments:
Post a Comment