a problem with jquery

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
_jwc_
Regular
Posts: 27
Joined: Tue Jun 17, 2008 9:51 pm
Contact:

a problem with jquery

Post by _jwc_ »

Hi Guys,

I am writing because I have few troubles with the development of my blog.

The most important seems a problem with jquery.
I am trying to animate a simple dropdown menu using jquery but when I put the code to invocate the jquery function the page has not displayed.

In other words it seams that because a problem the page can't be showed. You will see a white page.
I tried the function in local and it doesn't give problems.

<head>
<script>
$(document).ready(function(){
$('ul.menu li.multi').mouseover(function(){
$('ul.menu li.multi').addClass("dropdown");
});
$('ul.menu li.multi').mouseout(function(){
$('ul.menu li.multi').removeClass("dropdown");
});
});
</script>
</head>

As you can see the code is pretty simple.

I would appreciate if you can also answer this 2 more question, please.

Is there any plugin or system I can use to upload files from the admin area?
Is there any plugin to manage podcast mp3 files?

Thanks a mil
j
------------
..::JWC::..
_jwc_
Regular
Posts: 27
Joined: Tue Jun 17, 2008 9:51 pm
Contact:

Re: a problem with jquery

Post by _jwc_ »

Is there any plugin or system I can use to upload files from the admin area?
"I found it"!

Still have problem with jquery
------------
..::JWC::..
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: a problem with jquery

Post by Don Chambers »

wrap your code beginning with {literal} and ending with {/literal}.
=Don=
_jwc_
Regular
Posts: 27
Joined: Tue Jun 17, 2008 9:51 pm
Contact:

Re: a problem with jquery

Post by _jwc_ »

Thanks Don, it works well!
------------
..::JWC::..
Post Reply