I've got this jquery script, it seems to be working in other browser, but it doesnt work at all in Safari. Does anyone know why this might be happening? Its supposed to be accessed from an iphone.
url: http://connectsr.org.nz/calendar/
thanks
in safari 5 on windows 7 this works, but not with my iphone (iphone 4 with newest ios, not jailbreaked). i think this is because if you click and drag to scroll the colums, the safari on the iphone tries to scroll the site (which is what it normally does when you klick and drag on a website)
Jquery script is not working on the mobile perfectly. Instead of jquery, you can use jquery mobile (http://jquerymobile.com/)
Related
I have a problem with the mobile version of Chrome.
I want to scroll to a certain position in my html document after loading. I tried to simply use a anchor (#someId) at the end of the url which works fine in FF and desktop version of Chrome. But not on the mobile version.
To work around this I added a scrolTop with a little bit of delay like so:
var aTag = $("a[href='#someId']");
setTimeout(function() {
$('html,body').scrollTop( aTag.offset().top);
}, 250)
I'm using jQuery version 1.12.1
Again, it works everywhere except in the mobile version of Chrome - funny enough when I talk about the mobile version I just have to use the developer tools and tell them to display the page as it would be on the phone.
Any idea on how to fix this?
I am trying to get swiper to work. I have tried it on edge and firefox and it seems to work. However it doesnt work on chrome.
To reproduce, visit http://idangero.us/swiper/demos/ using chrome and select the first demo, try swiping, it doesnt swipe. There is nothing n the console to suggest any scripting errors. This did used to work in chrome, so my guess is that an update in chrome has caused it to fail.
Does anyone have a fix or a workaround?
It seems to be fine in Edge and firefox....
Same here !
Chrome 70 supresses touch events on desktops :
"ontouch* members on window, document, and element are disabled by default on desktop devices"
https://www.chromestatus.com/feature/4764225348042752
Any workarounds ?
btw , "slick" swiper (http://kenwheeler.github.io/slick/) seems to be working well with touch
Looking for ideas on how to debug instances where JS doesn't work on Safari mobile, works fine on desktop, and then in desktop when I open the Safari console and run the page again using Safari-iOS 9.3-iPhone (which is the version people have had issues on) on a mobile screen it still is working fine.
Thanks!
use can use safari remote debug, you can find a detail steps online
I am trying to implement a sliding div over pdf (Information : Pdf is Shown using iFrame). Its working on Mozilla Firefox, Chrome but its not working on Internet Explorer, Safari :(. Here is the jsFiddler Link. Click Here
Will any 1 let me know what should i do to work in all browsers.
try this tutorial
http://www.learningjquery.com/2009/02/slide-elements-in-different-directions
I think decent css is the key here
I am using Aurora 14.0a2 as my default browser (its the early release of firefox)
I have went into my about:config and have changed the value of services.sync.prefs.sync.dom.disable_window_move_resize; to false
Yet when I run my website the resizeTo(); function still doesn't work
here is my code:
jsfiddle_link
function onload(){
window.resizeTo(600,800);
}
I also tried it in other browsers:
Chrome (no surprise it didn't work since chrome never supports it)
opera
IE 8
Safari
None of which worked
I also tried making a link from a different website linking my website then clicking on it but it did not do the trick
any ideas?
I think the resize functionality of javascript would only work when you open it on popup windows and not when your openning it on a main browser window try checking on this link http://www.javascripter.net/faq/windowresizeto.htm it has the sample that I think would help you.