I have slickgrid in this fiddle.
It works with Jquery version 1.8.3, but with jquery version 1.9.1 or 1.10.1, it doesn't work anymore.
You can change version of jquery in this fiddle to know more clearly.
My project work with lastest jquery(version 1.10.1 now) and slickgird.
Anyone has any ideas to fix?
I found that jquery remove something from version 1.9.1, so I need jquery-migrate to make some old function work again.
Details for anyone's interested.
This fiddle's working now, after insert jquery-migrate-1.2.1.
Related
I'm trying to reproduce the example from W2UI 1.5rc-1 using an installed version of jQuery (3.2.1). I tried a grid, say. Nothing works fine. I switched to the exact jQuery version used in the example, i.e. 2.1.1 and everything ran fine.
Does someone know if W2UI 1.5rc1 is compatible with jQuery 3.2.1 and, if it is, what should I do to make this example work: w2ui grid example
Now I'm working with old web-site(developed at 2008 or 2009). I have simple task to install some kind of gallery, like item's pictures preview in e-shops to be precisely.
So I tried to integrate this plugins: Rebox, Fancybox, Lightbox. All of them need JQuery 1.11.1 or above... but i'm dealing with JQuery 1.2.6
Then I tried to update JQuery version on web-site. My plugin began to work, but all other plugins broke...
All day i spent searching for plugin compatible with JQuery v.1.2.6 or below, but found nothing.
Maybe somebody have plugin what i need, or should I write my own plugin in this situation?
Found fancyZoom plugin(don't confuse with fancyBox) for jQuery 1.2.6. For now it works fine, no bugs detected.
I'd like to use this multi-level push menu in my webapplication. But the problem with this plugin is that it needs an older version of jQuery. It will crash in combination with v2.x.x of jQuery.
The owner has done this on purpose, so that older browser versions are covered with the plugin as well.
So I'd like to convert/migrate this script to make it compatible with the latest version of jQuery, the only problem is, is that jQuery isn't my 'thing' (yet). I'm not sure where to start, what to remove of what to add in the script.
My question basically is, can someone point me into the right direction to get this script working with the latest version of jQuery?
I'd really really appreciate any help!
EDIT:
UPDATED ANSWER:
Use Version2 from the Multilevel Push Menu download page! ::link:: ...
I downloaded that version, and changed from jquery-1.10.2 to jquery-2.0.3 ... and it's working perfectly! Here's a jsfiddle: jsfiddle.net/vLrp51g3
PREVIOUSLY ANSWERED
As suggested by A. Wolf, you can use migrate jquery js file to handle the older jquery version. Since the remaining plugins/scripts of your webpage might require latest jquery, you could use the getScript() function to load the migrate jquery for only the pushmenu plugin! Therefore, you should probably use the code provided below for your requirement...
$(document).ready(function(){
$.getScript( "http://code.jquery.com/jquery-migrate-1.2.1.min.js", function() {
$.getScript('js/jquery.multilevelpushmenu.min.js', function() {
$('#menu').multilevelpushmenu();
});
});
});
I'm building a website which use Nivo Slider. At first, it worked nicely. But yesterday, when I tried again, it's suddenly stop moving. I haven't changed anything yet before I discovered this issue. I looked into the console and there is a javascript error which says:
Uncaught TypeError: Object [object Object] has no method 'live'
When I tried to look into jquery.nivo.slider.js, the error is on $('a.nivo-prevNav', slider) like below:
$('a.nivo-prevNav', slider).live('click', function(){
// function's content
});
Using google's inspect element feature, I search into the page and found there.
What is wrong with that? why it is suddenly stop moving? Any help would be appreciated.
The Nivo Slider needs jQuery to work. On your website you refer to jQuery like this
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
This is pretty dangerous, as the latest version constantly changes. As can be seen from the jQuery documentation at
http://api.jquery.com/live/
the live function is deprecated since jQuery 1.7. Looking at the unminified jQuery source at
http://code.jquery.com/jquery-latest.js
it seems like the function is not there anymore, which is why you get the error.
Solution: bind jQuery with a specific version - probably you can find out which version you need from Nivo Slider documentation. Some of the older versions of jQuery can be found here: http://jquery.com/download/
In jQuery version 1.9, which it looks like you're using, the live() function is actually deprecated: http://api.jquery.com/live/
I guess you may have to wait for Nivo to update their source to support the latest jQuery, you can go down to jQuery 1.7, or modify the Nivo source yourself.
There is now a new version of Nivo Slider (3.2) that uses .on instead of .live.
Or use an older version of jQuery (1.7.1 is working for us)
Replacing all the .live() with .on() in the nivo slider's js file worked for me. My jquery was version 1.9.1 .
the latest version of jQuery Marquee Simple, uses jQuery 1.4.2.
but the newer version of jQuery is 1.6.2, and I use that version.
that script, doesn't work with 1.6.2 (work perfectly with 1.4.2!). And I don't know how can I upgrade that code to 1.6.2.
Can you help me?
jquery simple marquee demo 1.4.4
jquery simple marquee demo 1.6.2
Thanks ..
There are a number of changes. Most notably the offsetHeight/offsetWidth attribute getter will return undefined instead of a number. I've modded the fiddle - don't try to use cookies in it - I don't think it will work!
Demo - this has only been tested in Chrome although the theory should carry!