Initializing Jquery from PHP page -- Please Help

Initializing Jquery from PHP page -- Please Help

Dear All,

I am glad i found this forum as i have been pulling my hair out i am very new to jquery and trying something which just seems impossible at this time so i thought i will ask for help from the professionals. My question might sound silly but i have no working knowledge of jquery but hey cant be rocket science .

Ok this is what i am trying to do :

I have a Test wholesale website called www.Fashioncocktail.co.uk/CW  The ecom portal is runnign zencart (php).

Wat i am trying to achieve is when i mouse over the images on the website a tooltip shows with item description and quantity.

I found a jquery plugin : http://flowplayer.org/tools/tooltip/index.html which does exactly what i want.

According to me this is how it works. The plugin uses a javascript which i have at www.Fashioncocktail.co.uk/cw/includes/templates/theme133/jscript/jscript_hoover.js

And according the website above to initilialize the tooltip i need to run this:

$("#demo img[title]").tooltip(); --

where #demo is the div id of the elements i need to create the tooltip for in my case this is the new products on my home page.

Now i have a test html page www.Fashioncocktail.co.uk/CW/Test.html and i can get this working but when i try this within my php page it doesnt work or to be honest i dunno how to get it working. so this is from the header of my website :

  1. <script type="text/javascript" src="includes/templates/theme133/jscript/jscript_hoover.js"></script>
    <script type="text/javascript" src="includes/templates/theme133/jscript/jscript_imagehover.js"></script>
    <script language="javascript" type="text/javascript">
    //<![CDATA[
    var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" :
    "http://www.trustlogo.com/trustlogo/javascript/cot.js";
    document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');
    //]]>
    </script>
    <script language="javascript" type="text/javascript">
    $(document).ready(function() {
    $("#whatsNew img[title]").tooltip()}
    </script>
    </head>












Now i dunno if what i am doing is correct but it is not working.But i would just love it if someone can point me to the right direction.

I do no that php is server side and jquery is client side but there must be a way to make this work. Please help Guys.

and thank you all.

Guvnor