Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy won't my jQuery work with version 1.9.1?
    primarykey
    data
    text
    <p>So basically my whole site works with jQuery version 1.9.1. Although, I would like to use a plugin that only uses version 1.4.1. Is there something small that must be changed within this plugin code for it to be compatible with 1.9.1?</p> <p>I have tried a few things like converting it to plain Javascript (had no luck) and trying to load version 1.4.1 aswel.. although that only caused many other things on my site to not work also.</p> <pre><code>$(document).ready(function () { // Get all the thumbnail $('div.thumbnail-item').mouseenter(function(e) { // Calculate the position of the image tooltip x = e.pageX - $(this).offset().left; y = e.pageY - $(this).offset().top; // Set the z-index of the current item, // make sure it's greater than the rest of thumbnail items // Set the position and display the image tooltip $(this).css('z-index','15') .children("div.tooltip") .css({'top': y + 10,'left': x + 20,'display':'block'}); }).mousemove(function(e) { // Calculate the position of the image tooltip x = e.pageX - $(this).offset().left; y = e.pageY - $(this).offset().top; // This line causes the tooltip will follow the mouse pointer $(this).children("div.tooltip").css({'top': y + 10,'left': x + 20}); }).mouseleave(function() { // Reset the z-index and hide the image tooltip $(this).css('z-index','1') .children("div.tooltip") .animate({"opacity": "hide"}, "fast"); }); }); </code></pre> <p>These are the errors I am recieving:</p> <pre><code>Failed to load resource: the server responded with a status of 404 (Not Found) http://jqueryui.com/slider/jquery-ui.js Uncaught ReferenceError: jq141 is not defined (index):574 2999 (index):660 Failed to load resource: the server responded with a status of 404 (Not Found) http://www.ozcaravan-sales.com.au/wp-content/themes/listings/style/images/ui-bg_glass_75_e6e6e6_1x400.png Failed to load resource: the server responded with a status of 404 (Not Found) http://www.ozcaravan-sales.com.au/wp-content/themes/listings/style/images/ui-bg_flat_75_ffffff_40x100.png Failed to load resource: the server responded with a status of 404 (Not Found) http://www.ozcaravan-sales.com.au/wp-content/themes/listings/style/images/ui-bg_highlight-soft_75_cccccc_1x100.png Failed to load resource: the server responded with a status of 404 (Not Found) http://dev.wizie.com/team/http://mangocell/favicon.ico event.returnValue is deprecated. Please use the standard event.preventDefault() instead. </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload