Gallery for JQuery version 1.2.6 or below - javascript

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.

Related

How to make a jquery script compatible with jquery 2.x.x

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();
});
});
});

Get easy commenter and Bootstrap to work with same version of jQuery?

I am using bootstrap 3 and jQuery version 1.10.2
I am also using easy commenter and they require jQuery version 1.5.2 I have tried to just keep version 1.10.2 , just keep version 1.5.2 and keep both of them. But in every case one of them does not behave as expected. With version 1.5.2 the collapsible menu in header stops working with version 1.10.2 easy commenter stops working. How should I deal with this problem?
Here is a link to the page I am working on http://8mags.com/lessons/php/phpcalendar.php
Use the newer JQuery plus the migrate plugin
The correct answer is: If the "easy commenter" plugin doesn't work with a current version of jQuery, rather than one from three years ago, you want to find a different plugin or take the existing one and modify it so that it works with the current jQuery. The differences between 1.5.2 and 1.11.2 (the current version as of this writing) aren't really all that big, and are easily updated.
If you don't want to do that (why not?), then you can use both versions of jQuery on your page, but it doubles the size of an already-large library, increasing page load time.
Here's how:
<script src="jquery-1.5.2.js"></script>
<script src="easy-commenter.js"></script>
<script>
var $old = jQuery.noConflict(true);
</script>
<script src="jquery-1.11.2.js"></script>
<!-- all your other plugins and such, including bootstrap -->
You load jQuery 1.5.2, load the easy commenter plugin, then use noConflict to release both the $ and jQuery symbols, and load jQuery 1.11.2.
When you want to use the easy commenter plugin, use $old rather than $.

Cannot Group Header of Slickgrid with Jquery new version

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.

wordpress jquery lightbox suddenly not working

I'm using Jquery Lightbox plugin on Wordpress. I updated to Wordpress 3.6.1 and now the plugin not working. I already tried to disable the other plugins but nothing changed.. I still think it may be a jquery conflict or a problem with my theme. Someone told me that the solution is to comment out the jquery lines of my theme to run the local installation of Jquery, but I can't do that because of the jquery slider inside my theme.
This in the link to my site. Can anyone help me? Thank you very much.
It seems you have already resolved the issue. I can see that lightbox is working fine

Why are bootstrap javascript features not working?

I'm using Gantry template on Joomla! that has bootstrap integrated into it. I wanted to use the bootstrap javascript components, like lightbox, tabs. I added jQuery (no conflict) as mootools is already loaded, and then added the required code. But, it doesn't work as expected. I set up a test page at http://v2.marlownailandbeauty.co.uk/index.php?option=com_content&view=article&id=47&Itemid=127
Neither the tabs, nor the lightbox work (just below youtube vid). I can't see any JS errors, just wondering why it might not be working? Any bright ideas? :)
Looking at your code quickly, it seems to me that you load:
jQuery
JQuery no conflict
Mootools
Various other Mootools scrripts
To the best of my understanding, it's recommended to load jQuery (no conflict) after Mootools and all the other scripts have loaded: source http://docs.jquery.com/Using_jQuery_with_Other_Libraries
ie:
jQuery
Mootools
Various other Mootools scrripts
JQuery no conflict
A couple of ways to test this quickly. You could edit the template file directly and change the order, or use an extension like jQuery Easy to load the no conflict scripts.
Or a third option ... have you checked if you even need Mootools in your template? You could use an extension to disable mootools and see what happens. If you are lucky your template will still work well and your site will load faster. And it's easy enough to reverse if mootools is indeed needed.
Good luck!

Categories