jQuery problem with 5.6 *not fixex

Permalink
Hi,

I'm building a website with a jQuery effect, it works fine on HTML version of the website, I just made a version for C5.6 but it does not work, I can see the height of browser changing but the screen does not slide. I'm kinda lost on how to fix it.

To see the effect check the working HTML version below and the not-working c5.6 version.

The working HTML version:http://www.informismentis.nl/edwin-beta/...
The broken C5.6 version:http://www.edwinwenink.com/beta/...

Thanks for any help!

- I fought changing the jquery library to a newer version fixed it, but it breaks the editing functions. so this fix does fixes the effect problem but edit function won't function anymore: replaced jQuery version 1.7.2 to 2.1.1 in concrete/js/jquery.

 
JohntheFish replied on at Permalink Reply
JohntheFish
Both are showing after-owl.js as 404. But the slider is working the same in both.

I suspect the difference is that you are logged in and I am not logged in.

When logged in, I would expect your messing with the jQuery version would be causing errors when the dashboard bar is showing.

If you look back through older versions of owl you will likely find one compatible with tyhe right version of jQuery. There is a good owl slider block in the 5.6 marketplace, so it definitely can be made to work.
jasteele12 replied on at Permalink Reply
jasteele12
Like John said, the after-owl.js is returning a 404, but it also looks like you're including the slider js twice:
<script src="/beta/themes/edwinwenink-thema-v2/owlcarousel/owl.carousel.js"></script>
<script src="/beta/themes/edwinwenink-thema-v2/after-owl.js"></script>
<script src="/beta/themes/edwinwenink-thema-v2/owl.carousel/owl.carousel.js"></script>
There is also the earlier version of Owl Slider (v1.3.3) that works with jQuery 1.7:
http://www.owlgraphic.com/owlcarousel/changelog.html...

In either case, I think you wouldn't want it loaded in edit mode anyway?
<?php if(!$c->isEditMode()) {
?>
<script src="/beta/themes/edwinwenink-thema-v2/owlcarousel/owl.carousel.js"></script>
<?php
}
?>
Same would go for including a newer version of jQuery I believe.

You definitely never want to replace files in the concrete/ directory!