You're problem is that hover is supposed to take two function
callbacks, you only give it one. See
http://docs.jquery.com/Events/hover#overout Instead you might want to
use .mouseover() or .bind('mouseenter')
This type of question would probably be faster answered on the general
jquery mailing list as it doesn't involve an official UI plugin :)
On Tue, Sep 23, 2008 at 5:50 PM, Mevaser <[EMAIL PROTECTED]> wrote:
>
> Hello every one, I have a problem, I am creating a page, but I get the
> following error:
>
> line: Char: 10976
> Error: 'guid' is null or not an object
> Code:0
> Url: (is a local file)
>
> I am not a jquery ninja like many of you. I did search the web for
> other sites using this script, but there was none without the error. I
> am testing it in EI 6 (the only one I have at work) and firefox, which
> does not show as a problem.
>
> The code is:
>
> <script type="text/javascript" >
> <!--
> $(document).ready(function(){
> lastBlock = $("#a1");
> maxWidth = 220;
> minWidth = 75;
>
> $("ul li a").hover(
> function(){
> $(lastBlock).animate({width: minWidth+"px"}, { queue:false,
> duration:400 });
> $(this).animate({width: maxWidth+"px"}, { queue:false, duration:
> 400});
> lastBlock = this;
> }
> );
> });
> // -->
> </script>
>
> The website where the sample comes from is:
> http://designreviver.com/wp-content/demos/jquery_accordion/
>
> Please help me.
>
> Thanks,
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---