Jquery problem on website

Hello All,

I am working on a website..I have used many jQuery at different pages of the website..All the jQuery are working fine when I update them. But when I check the website aftyer 24 hours, All jquery becomes inactive.."I have used the free jQuery and link of
the page, where the Jquery is placed is inserted in the project".." No atchual code is present in the site"..is this the cause of my jquery getting inactive again and again?

Please suggest some solution..Thanks!

Naveen Jain

Here is the code of one page as example:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>

<script type="text/javascript" src="js/featuredimagezoomer.js">

/***********************************************
* Featured Image Zoomer (w/ adjustable power)- By Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

</script>

<script type="text/javascript">

jQuery(document).ready(function($){

var m=    ("#<%= DataList1.ClientID %> img").src;

    $("#<%= DataList1.ClientID %> img").addimagezoom({
        zoomrange: [4, 8],
        magnifiersize: [300,300],
        magnifierpos: ‘right’,
        cursorshade: true,
        largeimage:m  //<– No comma after last option!
    })
    

})

</script>

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Hi Naveen,

In most browsers, you can check the console for script errors. There’s a script error here (on
http://connellybros.co.nz/product.aspx?tb=images):

var dsm = jquery.noConflict(true);

This should be:

var dsm = jQuery.noConflict(true);

Start there and see if you get any other errors after that.

Regards,

Ax 

I have chnage that in the code but still have same problem…

Leave a Reply