using jquery marquee

I am using the jquery Marquee by:

Giva Labs
Marquee jQuery Plug-in v1.0.01

But that is probably not working:

it gives an error:

$("#marquee").marquee is not a function

Line 34

So here is what i have defined:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="jscode/jquery.marquee.js"></script>
<link type="text/css" href="css/jquery.marquee.css" rel="stylesheet" media="all" />

and then below like this:

<script type="text/javascript">
$(document).ready(function (){
  $("#marquee").marquee();
});
</script>

<ul id="marquee" class="marquee">
<cfoutput query="listRecipies">
  <li>
    #rcp_content#
  </li>
</cfoutput>  
</ul>

Now data is loaded dynamically, i checked it and ok!

each content is appearing in separate LI

also i tried to use the

<script type="text/javascript">
$(document).ready(function (){
  $("#marquee").marquee();
});
</script>

at the bottom of the page also but not working..

Please tell me what is wrong!
LVL 16
Gurpreet Singh RandhawaCEOAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve KrileCommented:
Often this is caused by a bad reference to your script file.  If you replace your script reference with this, does it work?

{COMMENT OUT THIS}
<!--<script type="text/javascript" src="jscode/jquery.marquee.js"></script>-->

{ADD THIS}
<script type="text/javascript" src="http://remysharp.com/downloads/jquery.marquee.js"></script>
Gurpreet Singh RandhawaCEOAuthor Commented:
still the error is same! no corrections
Steve KrileCommented:
OK, let's start with a basic example.  This works for me.  Does it work for you?
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
	<script type="text/javascript" src="http://remysharp.com/downloads/jquery.marquee.js"></script>
</head>

<body>

<script type="text/javascript">
$(document).ready(function (){
  $("#marquee").marquee();
});
</script>

<ul id="marquee" class="marquee">
<cfoutput query="listRecipies">
  <li>
    Hi there
  </li>
</cfoutput>
</ul>


</body>
</html>

Open in new window

Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Gurpreet Singh RandhawaCEOAuthor Commented:
ok neither worked for me nor the rayn stuff nor the giva solution!

it just says mauqee is undefined. please tell me any other jquery marquee plugin which can do the same effect but better this time
Steve KrileCommented:
The example I posted here is the MOST BASIC version of this plugin (or any jquery function for that matter).  So, my next question would be perhaps your web browser is not allowing ANY javascript.  If that is the case, no jquery or jquery plugin will work.  Could security settings on your browser be an issue?

As a simple test, does the following code work for you?
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
        
</head>

<body>

<script type="text/javascript">
$(document).ready(function (){
  alert("I am jquery-triggered");
});
</script>



</body>
</html>

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gurpreet Singh RandhawaCEOAuthor Commented:
javascript do work! firebug showing eror
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
jQuery

From novice to tech pro — start learning today.