opera

Opera frames BUG?

别说谁变了你拦得住时间么 提交于 2019-12-02 11:24:18
问题 <!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></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <script> var G = function (id) {return document.getElementById(id); } var C = function (tag) {return document.createElement(tag); } window.onload = function () { var f = C('frame'); f.name = 'my'; f.id = 'my'; f.src = 'about:blank

Why background-repeat: no-repeat doesn't work with .svg images in Opera 12?

你。 提交于 2019-12-02 07:08:47
I got stuck with a strange problem in Opera 12: I have an .svg image which is linked within my css code. When I resize to zoom-out the page where the image is displayed, Opera repeats the image as if I didn't use the "no-repeat" value in background-repeat. What am I missing? Here is my css code: .svgImg { background: url("../img/img.svg") no-repeat; height:100%; width:100%; } I also tried this: .svgImg { background: url("../img/img.svg"); background-repeat:no-repeat; height:100%; width:100%; } But it didn't work. Why opera does that? .svgImg { background: url("../img/img.svg") no-repeat;

Opera: Can't get load event from window.open()

不问归期 提交于 2019-12-02 06:09:08
问题 var openedWindow = window.open("test.html", "title"); openedWindow.addEventListener("load", function() { console.log("received load event"); }, false); I want to get the load event from an opened window. The code above works, but the callback function does not get called in Opera 11.62 (works on other browser). EDIT: It works when i register the event after 0ms timeout: var openedWindow = window.open("test.html", "title"); window.setTimeout(function() { openedWindow.addEventListener("load",

fb:serverfbml won't render on Opera and IE

自作多情 提交于 2019-12-02 04:44:06
I asked the same question in Facebook developer forum, but for some reasons I want to repost it here. I hope that's okay. I have the following fb:serverfbml snippet. <fb:serverfbml id="invite_friends_form" style="width: 100%"> <script type="text/fbml"> <fb:fbml><p>Testing FBML rendering</p></fb:fbml> </script> </fb:serverfbml> <script> $(document).ready(function() { // Parse XFBML tags FB.XFBML.parse(); }); </script> It renders correctly in Firefox and Chrome. I got the usual Facebook loading animation for a moment, and then the sentence "Testing FBML rendering" is displayed. BUT, when I test

CSS not loading in Firefox, Opera and IE - Chrome and Safari works just fine

廉价感情. 提交于 2019-12-02 04:41:28
Im having some problems at a website construction, and the point is that in Chrome and Safari it works just fine, but not quite the same in Firefox, Opera and Internet Explorer. Check the website here ! You can try it in the browsers that i mentioned, and confirm what i just said. Any tips ? Thanks ! Hey Change to your css type you define type="text/javascript" it's wrong just define type="text/css" Now change This <link rel="stylesheet" type="text/javascript" href="estilos/estilos.css"> into <link rel="stylesheet" type="text/css" href="estilos/estilos.css"> 来源: https://stackoverflow.com

window.print not working with opera browser

给你一囗甜甜゛ 提交于 2019-12-02 04:21:59
I am trying to open a print dialog box in Opera browser using javascript code as <script language=javascript> window.print(); //This is working in IE, Netscape, Firefox, but not working in Opera </script> where as if I am using the following code Opera browser understands and able to open print dialog box <input type="button" value="Print this page" onClick="javascript:window.print();" ID="Button1" NAME="Button1"> My requirement is to open print dialog box in Opera browser using script block. Can anyone help me? Try putting your code in load event: <script language=javascript> window.onload =

Prevent select dropdown from opening in FireFox and Opera

夙愿已清 提交于 2019-12-02 00:52:11
问题 In jQuery, you can stop a <select> from opening it's dropdown menu by using event.preventDefault in the mousedown handler. Allowing you to replace the dropdown with something else while still retaining the original style of the form element. This works fine in Chrome and MSIE, but in FireFox and Opera the dropdown appears regardless. (Not tested on Safari) Example: http://jsfiddle.net/9cmEh/ The select element should look enabled and still respond to all user interaction as if enabled, but

JQuery security error in Opera and Internet Explorer

别等时光非礼了梦想. 提交于 2019-12-02 00:29:02
问题 I am developing an app for social network which works in IFrame . The app works just fine in Google Chrome and Microsoft Firefox browsers, but in Opera 12.15 JQuery library v1.10.1 fails to load with security error Unhandled error: Security error: attempted to read protected variable on line 1513 . The screenshot is here: It looks like the same bug exists in Internet Explorer 10. How to deal with it? UPDATE: I have made dirty hack by commenting the lines 1513-1517 in the code of jquery: //

Opera: Can't get load event from window.open()

依然范特西╮ 提交于 2019-12-01 23:34:38
var openedWindow = window.open("test.html", "title"); openedWindow.addEventListener("load", function() { console.log("received load event"); }, false); I want to get the load event from an opened window. The code above works, but the callback function does not get called in Opera 11.62 (works on other browser). EDIT: It works when i register the event after 0ms timeout: var openedWindow = window.open("test.html", "title"); window.setTimeout(function() { openedWindow.addEventListener("load", function() { console.log("received load event"); }, false); }, 0); this seems to be a known bug in Opera

Prevent select dropdown from opening in FireFox and Opera

十年热恋 提交于 2019-12-01 22:31:46
In jQuery, you can stop a <select> from opening it's dropdown menu by using event.preventDefault in the mousedown handler. Allowing you to replace the dropdown with something else while still retaining the original style of the form element. This works fine in Chrome and MSIE, but in FireFox and Opera the dropdown appears regardless. (Not tested on Safari) Example: http://jsfiddle.net/9cmEh/ The select element should look enabled and still respond to all user interaction as if enabled, but the dropdown should not be rendered. Instead the dropdown will be replaced by something custom rendered,