Click here to Skip to main content
15,886,751 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Jquery is not working for image zoomer
http://www.dynamicdrive.com/dynamicindex4/featuredimagezoomer.js
JavaScript
jQuery(document).ready(function ($) {

        $('#Imglead1').addimagezoom({
            zoomrange: [3, 10],
            magnifiersize: [300, 300],
            magnifierpos: 'right',
            cursorshade: true,
            largeimage: 'http://i44.tinypic.com/11icnk5.jpg' //<-- No comma after last option!
        })
Posted
Updated 15-Nov-11 1:35am
v2
Comments
Dylan Morley 15-Nov-11 6:25am    
What does not working mean?

Any errors? Nothing happens? Look in your script debugger (e.g firebug), any clues there?

1 solution

That is a valid behavior. Run-Time Id of a control/tag gets change when you apply runat = server to it.

Check what is the Run-Time Id generated by checking "View Source" of the page or by "FireBug".
 
Share this answer
 
Comments
PKriyshnA 30-Jan-12 9:24am    
that means we cant use this jquery ????
or have u any another solution...please post that
i also got error like

Jquery is not defined...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900