Currently having issues browser and device testing a website. The Jquery slide toggle navigation works on all devices and browsers apart from ones running versions of Safari below 9 (however Safari 9 works completely fine).
I have used the following code:
jQuery(document).ready(function($) {
function toggle() {
$("#nav").toggleClass("toggle")
$("#button_pannel1").toggleClass("toggle")
$("#button_pannel2").toggleClass("toggle")
$("#button_pannel3").toggleClass("toggle")
}
$("#toggle_button").on("click", toggle);
});
I built this using the following code on Codepen (which also doesn't work on old Safari versions either)
Any help would be much appreciated.
The issue is not with your jQuery code.
You are missing the necessary browser prefix in your CSS to make it work on Safari in versions below 9. Where you have "transform: translate3d(-300px,0,0);" you need to also add "-webkit-transform: translate3d(-300px,0,0);" to the CSS rules.
Here you can see which browsers require prefixes in order for 3d transforms to work in CSS:
http://caniuse.com/#feat=transforms3d
Related
Just as the title states. Initially I tried to use polyfill smoothscroll by just adding this to the bottom of my body tag:
<script src="https://unpkg.com/smoothscroll-polyfill#0.4.4/dist/smoothscroll.min.js"></script>
But this didn't seem to really do anything. I'm clearly missing something here. Do I need to add something for the smoothscroll functionality to work? Are there any other vanilla js solutions to have smoothscroll work on Safari?
You can use Zenscroll, It is a JavaScript library that enables animated vertical scrolling to an element or position within your document or within a scrollable element
It works on
Android Browser 2.2+
Chrome for Android Chrome 14+ (probably earlier too)
Edge
Firefox 9+
Internet Explorer 9+
iOS Safari 4+
Opera 10.6+
etc..
https://zengabor.github.io/zenscroll/
There is an issue with the hover effect that only appears on Safari 10.0.
The web is this:
Manu Caballero
What is happening is that the effect is working radomly, or not working at all:
To see it working, you can use Chrome or Firefox.
The most strange thing is that, on Safari 10.0, if I try to use the inspector, the hover effect works...
On Safari 10.1 and other common browsers like Chrome, Firefox... is working perfectly.
Looking at this site it appears to be using jQuery 1.12.4 and jQuery Migrate 1.4.1 - this is adequate if you need to support IE6 but not something I'd expect to be sufficient for Safari 10 (released after these legacy libraries).
On top of this you appear to be using Isotope 3.0.1, which is also about a year out of date.
So, first I'd recommend:
Upgrading to a current version of jQuery and dropping Migrate - IE6 is dead and IE8 is marginal.
Upgrade Isotope to the current version.
In particular check their issue logs for similar issues before raising them on here.
If the problem persists after that then you may have an issue specific to your implementation. Isolate the code in a snippet in your question - it's much easier for us to help you with one specific issue without reverse engineering your entire site.
Delete this code https://yadi.sk/d/YmKdx2Rd3M2Fcj and your effect will be work fine
and look this video https://www.screenmailer.com/v/EEa7t15khxyLE9s
Although it mentions that Skrollr Stylesheets are compatible with IE 8+ I can't seem to get the working on my site. http://group.com/good-to-go-training. Works great in Chrome, Firefox, and Safari.
For reference: https://github.com/Prinzhorn/skrollr-stylesheets
The tests are now passing it IE 8. Please grab the latest version and make sure to read the changelog! https://github.com/Prinzhorn/skrollr-stylesheets#002
I have the below site:
http://kelseydelo.com/
When I click the main nav links in Safari the content slides properly. However in Chrome and Firefox nothing happens when I click these (no errors in Firebug either).
I believe it used to work in FF so it seems a recent upgrade has broken it.
Anyone know what the problem could be?
you use mootools 1.2.3 which is old. in 1.2.3, mootools utlised feature detection for browser detection - and in particular, it was a problem with firefox as it relied on the following code:
if (!document.getBoxObjectFor ...)
but that method got made obsolete by mozilla. subsequently, in 1.2.5 and 1.3 mootools detection was done so it does not rely on this any more (breaking change was FF 3.6.nn or something)
on your site in FF 4.0 you can run
console.log(Browser.Engine)
and it comes back as 'unknown' - which will make any browser-specific hooks and fixes fail.
In Chrome 13 Canary, it detected webkit fine but does not work either so there must be something else -- legacy here... in other words, UPGRADE to 1.3.2 (which uses ua-sniffing) - if noobslide supports it, else go 1.2.5.1
Im using jCrop http://deepliquid.com/content/Jcrop.html and there is a weird problem
it wont work while im in ie8
if I was on ie8 and select document mode ei7 from developers tools it works fine
what can I do ?
Are you using the latest version? Seems there is an IE8 fix:
http://deepliquid.com/blog/archives/142
Edit: Strangeness ahoy! It only works after i turn on compat. mode, then turn it off o_O. My IE8 window was open from an earlier test and I didn't notice.
can you test with the latest and greatest version on github? It has major MSIE updates. I am currently working on a blog post announcing this release.
The issue is dealt with here, which is a bit of a hack to hide the radio button