opera

从IFrame中删除边框

蹲街弑〆低调 提交于 2019-12-25 21:20:06
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 如何从我的网络应用程序中嵌入的 iframe 删除边框? iframe 一个示例是: <iframe src="myURL" width="300" height="300">Browser not compatible.</iframe> 假设背景颜色一致,我希望从页面上的内容过渡到 iframe 的内容是无缝的。 目标浏览器只是IE6,不幸的是其他人的解决方案无济于事。 #1楼 如果您放置iframe的页面的doctype是HTML5,那么您可以使用 seamless 属性,如下所示: <iframe src="..." seamless="seamless"></iframe> Mozilla有关无缝属性的文档 #2楼 iframe src="XXXXXXXXXXXXXXX" marginwidth="0" marginheight="0" width="xxx" height="xxx" 适用于Firefox;) #3楼 我尝试了以上所有内容,如果这对您不起作用,请尝试以下CSS解决了我的问题。 这只是告诉浏览器不添加任何填充或边距。 * { padding:0px; margin:0px; } #4楼 使用HTML iframe frameborder属性 http://www.w3schools

href not working in Firefox and opera

寵の児 提交于 2019-12-25 04:06:15
问题 I am using Css3 effects to make my menu look fancier , no issues with that however , I dont know for some strange reasons , when I click on the menu items , they dont redirect to desired pages ie my href="abc.aspx" wont work in Firefox , Opera , but works well in Chrome.Here is the Css3 code which I use #Menu a:active, #Menu a.active:before,#Menu a:hover:before { Content: ' '; position:absolute; z-index:-1; width:0px; height:0px; left:50%; top:50%; border-radius:50%; box-shadow:0 0 35px 30px

Must an element be visible in order to “load” event listener to work?

拥有回忆 提交于 2019-12-25 03:44:40
问题 In my document, there are two svg images: the preview and the result. The result image is computed based on the preview image; I switch between them by adding/removing class hidden-display , which is further affected by css like this: .hidden-display { display: none; } This seems to be working well. While the result image is being computed, I want to hide the preview image and show only a progress bar; once the result image is loaded, I want it to be displayed and hide the progress bar. Here

mac10.8 NPAPI plugin not load on opera

半城伤御伤魂 提交于 2019-12-25 03:28:19
问题 I write a web plugin on mac10.8 with Xcode4.5,it can work on safari,firefox, but it can't work on opera,the question is opera can't load my plugin,the easy question is it can'n execute the function "NP_GetEntryPoints" and "NP_Initialize", and i don't know how to resolve the problems. somebody can help me,thank you very much. 回答1: It wouldn't surprise me if you are building it 64 bit and Opera may not support 64 bit plugins (but both firefox and Safari do). Make sure you're building it 32 bit

mac10.8 NPAPI plugin not load on opera

寵の児 提交于 2019-12-25 03:28:09
问题 I write a web plugin on mac10.8 with Xcode4.5,it can work on safari,firefox, but it can't work on opera,the question is opera can't load my plugin,the easy question is it can'n execute the function "NP_GetEntryPoints" and "NP_Initialize", and i don't know how to resolve the problems. somebody can help me,thank you very much. 回答1: It wouldn't surprise me if you are building it 64 bit and Opera may not support 64 bit plugins (but both firefox and Safari do). Make sure you're building it 32 bit

drag&drop not working in Opera 11.62 and Safari 5.1.4

强颜欢笑 提交于 2019-12-25 02:33:21
问题 I put this code in a test HTML file: <head> <script> f=function() { el=document.getElementById('dragdiv'); el.ondragover=function(){return false;}; el.ondragenter=function(){return false;}; el.ondrop=function(event){ el.innerHTML=event.dataTransfer.getData('Text');}; } </script> </head> <body onload='f()'> <div id='dragdiv'>DROP HERE ------------------------</div> <img src='image.jpg'></img> (Tags were removed) It works in Chrome but not in Opera and Safari because the mouse cursor does not

Opera firing mouse events on disabled input element

柔情痞子 提交于 2019-12-25 00:43:09
问题 I have an image element, following is the html for the button <input type="image"src="images/undo.png" onmouseover="this.src='images/undo-hover.png'" onmouseout="this.src='images/undo.png'" id="btn_back" onClick="back();" > When my application makes this input disabled (attribute disabled="disabled") all browsers stop firing mouse events. So I don't get hover images. But opera still keeps firing these event, and I keep getting the hover images on disabled elements. 回答1: Can you please try

Resizing an image using Javascript running in Opera Browser

无人久伴 提交于 2019-12-24 20:27:29
问题 I hope someone can help with this quirky issue I am having with the Opera Browser, I have version 11 Beta installed, but I suspect is a common problem in Opera. The website and page in question is http://www.amigaos.net/index.html. At the bottom of the body of the html I have the following code which resizes the 3 images you see on this webpage depending on width of the viewport at page load. In Safari and FireFox the code works fine, but in Opera the following lines which involve resizing

Mobile browser detection with .htaccess fails with Opera Mini

爱⌒轻易说出口 提交于 2019-12-24 17:39:05
问题 I'm having trouble figuring this one out. I'm trying to direct mobile traffic to the mobile version of a website via HTACCESS User-Agent sniffing, like so: RewriteCond %{HTTP_USER_AGENT} (android|blackberry|ipad|iphone|ipod|iemobile|mini|mobi|palmos|webos|googlebot\-mobile) [NC] RewriteCond %{HTTP_HOST} ^mobile\.mywebsite\.com$ RewriteRule ^([aA0-zZ9\-\/]*)/([^/]*)$ /index.php?page=$1&q=$2&q2=$3&setview=mobile [L,QSA] The string mini|mobi is where the Opera Mini browser should be detected.

Focus with Cross-domain Ajax in Opera

梦想的初衷 提交于 2019-12-24 14:53:58
问题 You'll need Opera 9.62 to see what this is all about... Because that is the only browser that behaves strange when I do cross-sub-domain JavaScript calls (with Ajax involved). Please consider the following three simple files and place them at appropriate domains. foo.html (parent of boo.html iframe) at foo.example.com <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv