opera

Display flex and auto height (100%) inside

我怕爱的太早我们不能终老 提交于 2019-12-11 16:23:22
问题 I'm trying to do flex grid but I want to make like any column have same height. It work perfect for IE and Firefox, but in Chrome and Opera not. http://jsfiddle.net/micchaleq/Nz6fC/ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>min-height test</title> <style type="text/css"> html, body { padding: 0px; margin: 0px; height: 100%; text-align: center; } #test{

KeyPress malfunction in Opera

天大地大妈咪最大 提交于 2019-12-11 16:13:42
问题 I'm using the following code to detect users' key pressing, in JavaScript: $(document).bind('keydown', function (event) { 'use strict'; var keyCode = event.keyCode; switch (keyCode) { case '{N}': doSomething(); break; default: break; } }); Where doSomething is a previously defined function and {N} is any of the JavaScript Char Codes. It works properly in every major browser, but in Opera even if a key remains pressed, it only calls doSomething once, instead of doing it until the key is

How can I wrap button text in Opera?

二次信任 提交于 2019-12-11 15:47:48
问题 I have almost created a website that works in all major browsers flawlessly. Yesterday, I celebrated because that was true. Today, I found out that it is not. Apparently, Opera won't wrap text on buttons. I tried everything that popped up in my searches - from spacing to outdated Mozilla Firefox hacks. How can I tell Opera to wrap text on a button? Shortening the text is not an option, as the shortest it could be is still too long. EDIT: Here is a JSFiddle: http://jsfiddle.net/JavaAndCSharp

How to fix/workaround inconsistency in browser implementations of the transitionend event for CSS3 Transitions?

Deadly 提交于 2019-12-11 13:52:49
问题 I set up a jsfiddle here to show some of the inconsistencies I'm noticing. Opera throws 'bonus' transition events for you to dodge... Firefox is probably as it should be, which is still frustrating... Chrome is predictably great , even making assumptions for me like event.target.style["margin-left"] giving the correct value instead of requiring me to use event.target.style[event.propertyName.toCamelCase()] I'd like to know the cleanest possible unified approach to this. Thanks. 回答1:

Opera: .js file won't load

馋奶兔 提交于 2019-12-11 12:56:00
问题 I have a page that calls a script in the header, like so: <script type="text/javascript" src="http://www.discoverfire.net/analytics/l/a.js"></script> (Note you will NOT be able to load this script as it is DNSd locally as a staging domain) Very Simple. Firefox, IE, Chrome all have no problem with this basic, square-one feature. Opera, however, refuses to load the script. Any variables or functions in it are "undefined" and in dragonfly, the script tag is shown in the DOM, but the "Script" tab

Opera - Prevent input from having focus

只谈情不闲聊 提交于 2019-12-11 10:19:42
问题 I have a hidden input on one of my pages, and by hidden, I mean visible, but just looks like plain text. Take for example http://jsfiddle.net/imoda/nVhp8/ But I don't want a user to be able to click in it and edit the information. Essentially disabling it, but without setting it to disabled in the html. I think I'm close but whatever I've tried isn't working. Seems to work in everything except Opera. Help please? 回答1: Instead of using jQuery, why not simply use the readonly attribute,

input type file in Opera

你。 提交于 2019-12-11 08:06:16
问题 I have tried to fire onkeydown, onkeypress and onkeyup events on file input(e.g. when the element is on focus and a key is pressed the events are not fired), but they doesn't work in Opera. Firing 'click' with jQuery , doesn't work too (e.g. $('#myFileinput').Click() or $('#myFileinput').trigger('click')). Is there a way to trigger these events in Opera ? Here is my code: <input type="file" class="foo" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>

In mobile site Opera Mini select all the links of list items at once, any solution?

旧城冷巷雨未停 提交于 2019-12-11 07:56:07
问题 I'm making a mobile site for old mobile and testing on Nokia 5130 Xpress Music which has Opera Mini Browser. The problem is when I have links list on a web page opening in Opera Mini and I try to select one link of the list, but it select the all list items instead of single. Code of list <ul id="nav"> <li id="nav-1"><a href="#"><span>Nyheder</span></a></li> <li id="nav-2"><a href="#"><span>Kalender</span></a></li> <li id="nav-3"><a href="#"><span>Job</span></a></li> <li id="nav-4"><a href="#

Why is (0 || eval) not treated as indirect in Opera?

痴心易碎 提交于 2019-12-11 07:51:16
问题 In strict mode, indirect calls to eval should have this bound to the global object in eval code. 10.4.2: In Edition 5, indirect calls to the eval function use the global environment as both the variable environment and lexical environment for the eval code. In Edition 3, the variable and lexical environments of the caller of an indirect eval was used as the environments for the eval code. However, in Opera, this expression results in undefined : (function(){'use strict'; return (0 || eval)(

Why does this php script work fine in firefox but not Safari or Opera?

こ雲淡風輕ζ 提交于 2019-12-11 07:42:38
问题 I have a script that mails me my form data for a classified ad. Yesterday when I left work it worked fine. Now it is only working in FireFox and I'm getting my "else" statement "We encountered an error sending your mail, please notify XXXX@XX.COM" in both Opera AND Safari which makes no sense to me. What's causing this error, and why does it fail in some browsers but work in others? <script language="javascript"> function submitt() { setTimeout('document.paypal.submit()',1000); } </script> <