cross-browser

At which point do you decide to stop supporting older browsers?

倾然丶 夕夏残阳落幕 提交于 2019-12-22 05:07:36
问题 I would like to start a community discussion. As per my question, when do you decide to stop supporting older browsers? I've nearly completed the development of a large personal application. It uses a lot of HTML5, CSS3 and JavaScript. If I were to support older browsers, I would estimate that it would increase my front end work load by at least 50%. And to be frank, I don't want to support the older browsers. From a business point of view, one could argue that if I don't, I could lose

At which point do you decide to stop supporting older browsers?

僤鯓⒐⒋嵵緔 提交于 2019-12-22 05:07:04
问题 I would like to start a community discussion. As per my question, when do you decide to stop supporting older browsers? I've nearly completed the development of a large personal application. It uses a lot of HTML5, CSS3 and JavaScript. If I were to support older browsers, I would estimate that it would increase my front end work load by at least 50%. And to be frank, I don't want to support the older browsers. From a business point of view, one could argue that if I don't, I could lose

Tooltips (title=“…”) won't show in Firefox

旧时模样 提交于 2019-12-22 04:46:21
问题 I have an element with a title attribute (i.e., a tooltip), wrapped in some container: <div id="foo"> <input type="text" title="A tooltip" /> </div> and I attach a "mousemove" event listener on the container and stop event propagation: document.getElementById('foo').addEventListener( 'mousemove', function(e) { e.stopPropagation() }, false ) This combination of stopping propagation of "mousemoves" on the container now prevents the tooltip from showing up for the inner textbox, in Firefox 2 and

Feature-detect: mutation-event availability in JavaScript?

冷暖自知 提交于 2019-12-22 04:36:21
问题 How can my JavaScript detect if an event is available? I'm aware of some great event-compatibility tables, but I need to use feature detection, not browser-sniffing plus a lookup table. Specifically, my JS makes great use of the DOM mutation events ( DOMNodeInserted and DOMSubtreeModified ) -- which work great in all browsers except (of course) Internet Explorer. So, how would I detect if a browser supports DOMNodeInserted ? 回答1: If you just want to check if the browser supports mutation

Chrome won't play mp3 files?

元气小坏坏 提交于 2019-12-22 04:15:10
问题 There's something very weird on my server- chrome won't play mp3 files on it. for example, when chrome is pointed to an mp3 file on first server: http://tinyurl.com/czqfw5a - it won't play. When I place the same file on my second server: http://tinyurl.com/cju4yg4 - it works fine. I checked http response headers, on both servers it looks fine- mime type is set correctly. The problem happens only with chrome. ff / ie work fine. Anyone have an idea? 回答1: Short story , it's this bug: http://code

Does negative z-index have any side effects

匆匆过客 提交于 2019-12-22 03:55:09
问题 I've been searching for a while for an answer to my question: Does negative z-index have any side effects And I've already asked before here: Does negative z-index affect performance or compatibility? but it doesn't get enough attention (may be because I mixed things a little bit) And I wanted to try and asked in a other way. I am developing a web application for cross platforms (different browsers, devices), and sometimes I am in need to use a negative value for the z-index property, but I'm

javascript Ajax SCRIPT1003: Expected ':' in IE 11

可紊 提交于 2019-12-22 02:51:58
问题 var url="tabla.php"; $.ajax({ type: "POST", url:url, data:{place,names,repor}, success: function(datos){ $('#tabla').html(datos); } This code works in Chrome but in IE 11 returns the error SCRIPT1003: Expected ':' on line 5. I'd really appreciate any help. Note: place and names are arrays that are previously defined, and repor is also a previously defined variable. 回答1: Usually objects in javascript are initialized as key value pairs, so data should probably be initialized like data:{ place :

Why does my form not upload files in Internet Explorer 9?

拥有回忆 提交于 2019-12-22 01:34:00
问题 Welcome to episode 32,342,343 of "Why does Internet Explorer Suck So Much?" ... I've seen lots of reports that IE9 does a crappy job uploading files. Apparently it has lots of caveats about when it will or won't work (If someone has a definitive list I'd love to see it). However, most of the problems/solutions I see have found are related to javascript, usually the jQuery form plugin or something similar. My form is not submitted via AJAX and the the file input field is not hidden or obscured

Why doesn't this script work with successive page clicks?

可紊 提交于 2019-12-22 00:36:00
问题 I am currently using the following script in Tampermonkey in Google Chrome: // ==UserScript== // @name Youtube opt in Ads per channel // @namespace schippi // @include http://www.youtube.com/watch* // @version 1 // ==/UserScript== var u = window.location.href; if (u.search("user=") == -1) { var cont = document.getElementById("watch7-user-header").innerHTML; var user=cont.replace(/.+\/user\//i,'').replace(/\?(?:.|\s)*/m,''); window.location.href = u+"&user="+user; } It seems to work perfectly

display:table & display:table-cell not working in IE9

两盒软妹~` 提交于 2019-12-22 00:29:30
问题 Salam (means Hello) :) I'm trying to implement a 3 column layout for my web page using display:table & display:table-cell . It works fine in firefox and chrome, and I know that this feature should be supported in IE 9, but all I achieved so far is no more than this screenshot: how can I get this to work in IE 8+ ? here is my complete code: ( JS Fiddle available) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> <html> <head> <title>test</title> <meta http-equiv="Content-Type"