google-chrome

In which case webpage loads without external stylesheet in chrome or safari ?

In which case webpage loads without external stylesheet in chrome or safari ? I am talking about a case in which webbrowser first loads webpage without stylesheet and then redraw it with css once it becomes available. It would be great If you give me a small html page with external stylesheet, which always loads webpage without externa...

Problem with email validation in Opera and Chrome.

I use simple js email validation like: function validation(email) { var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; return reg.test(email); } function check(){ if ($("#subemail").hasClass("bad")) { var subemail = $("#subemail").val(); if((subemail!=0)&&validation(subemail)) { ...

Why Chrome does not show CSS3 ::-webkit-scrollbar scrollbar for iframe?

Why Chrome does not show CSS3 ::-webkit-scrollbar scrollbar for iframe? Demo http://jsfiddle.net/laukstein/C9s3P/ <iframe scrolling="yes" style="overflow-x:hidden; overflow-y:scroll; width:150px; height:50px;" src="http://en.wikipedia.org/wiki/Web_browser"&gt;&lt;/iframe&gt; CSS ::-webkit-scrollbar{ width:0.8em; height:0.8em...

LinkButton's OnClick does not fire in IE8

The following works just fine in Chrome. <asp:LinkButton runat="server" ID="lbEdit" OnClick="lbEdit_Click"> <button type="button" class="edit"> Edit </button> </asp:LinkButton> And here is the CSS for button and its subclass. button { padding: 3px; } button.edit { background:#3f6096; border:none; ...

Problem with Flash and non-latin text input

As most of you may know there is a problem when not using wmode='window' in google chrome. The problem that I have is that I'm integrating a system with facebook and if you do that you need to use transparent. This is because if you don't do that it's impossible to see the facebook messages like the share or some notifications. I leave...

Google Map implementation not working on Safari and Chrome

Hi everybody, I am implementing a google map on the contact page of this website: http://www.vqt.ch/dev/?lang=fr&amp;page=contact The map displays in the rectangle on the top of the page. Everything is working fine on Firefox, but nothing is displayed on Safari & Chrome... Here is the way I implement it: <script src="http://maps.g...

Fading in large images in Chrome

Hello, gurus! I'm having some trouble fading in large images, but only in Chrome. Here's the absolutely basic setup: $(document).ready(function(){ var img = new Image(); $(img) .hide() .load(function(){ $(this).fadeIn(3000) }) .attr("src", "files/originals/01.jpg") $("body").append(img) }); ...

Google Chrome won't let me place breakpoints

I've been using Google Chrome to debug my javascript, but then all of a sudden I can no longer place breakpoints. I click on the line number, where I previously clicked to add a breakpoint, but no breakpoint will be added. Sometimes if I click very fast, like a madman, I can see it trying to add breakpoints, but it won't stick. The only...

CSS 3D support on Mozilla,Chrome,Opera.

Hi ALL I am working on 3D Data rendering and I am not able to find out the equivalent of following in mozilla, opera, chrome Can anybody help me out from this problem. for e.g: -webkit-transform: rotateX(90deg) translateZ(200px) rotateY(90deg) rotateZ(90deg); Thanks, Amit ...

Multiple assignment in javascript?

For a project a developer sent us a .js file with code similar to this: var myList = [1,2,3]; var a,b,c; [a,b,c] = myList; It works in Opera 10.30, Firefox 3.6.x but it's not ok for Opera 10.60 and Chrome. It's just curiosity, do you have any reference or link that says this code is compliant to JS/ECMA standard or not? What do yo...

Whats the maximum File size upload limlit in Internet explorer

Hi all, I would like to know whats Maximum Upload size in IE ,in my rails application am able to upload only upto 1.5GB ONLY uisng IE but using chrome am able to upload 10 gb without any fail ,Why it is so..I am running mongrel as server ...

Random stylesheet caching in Google Chrome

Hey, So as in the title, my stylesheets keep on caching for no apparent reason. It is only today I have started testing my VB.Net website in IE8 and using jQuery on the customer front end, and it is only the past 30 - 45 minutes that I have noticed this happening. There was one background-color which I changed a few minutes ago with no...

SVG <image> doesn't work in <defs> on Chrome

I want to use image in a group definded in defs tag. But on Chrome nothing works. In Firefox only the .png file is displayd. Only Rectangle apears but with strange bug in Chrome. Is this is supported by SVG or im not using it right. plane.svg <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://...

jQuery working as expected in IE8 but not in Chrome... need someone to look over my code...

Hey, I have recently been updating a site so that it looks nearly as good in IE8 as it does in Chrome. I have managed to get the corners applied correctly, but if you take a look at http://clarkeyboy.zxq.net/test_longcatalogueitems.htm you will notice that the catalogue rows appear as expected in IE8 but not in Chrome. In Chrome they ap...

Chrome 7 interprets CSS percentage relative positioning differently from Chrome 6 (and other browsers)

My Chrome install updated itself last night (without telling or asking me!) It now interprets CSS percentage relative positioning differently to yesterday. Suppose I have: <body> <div class="everything"> <div class="centerMe"> Center me! </div> </div> </body> And this CSS: body { width: 100%; height: 100%; ma...

Access function from background page in Chrome extension

In my background (background.html) page I have the following js: function capturePage(){ chrome.tabs.captureVisibleTab(null, function(img){ var screenshotUrl = img; chrome.tabs.create({"url":"history.html"}, function(tab){ var t = tab; var addImage = function(){ var view = chrome.extension.getViews()[0]; ...

popup chrome NPAPI extention, redirecting to new tab

Hey I got a quick question: I have got a chrome extension that adds a popup page to the toolbar. It accepts input from the user then calls a NPAPI dll which generates an XML file. I would like to be able to, after the NPAPI dll finishes its work, create a new tab which would open to the newly generated XML page. Can anyone help me out ...

Weird mouseover behavior in Chrome?

We have a heading element styled as: <div class="sidebarHeadingFont">Operation</div> .sidebarHeadingFont {font-family: Arial, Helvetica, sans serif; font-size:10pt; font-weight:bold; color: #003366; } In Chrome when you put your mouse over this element the font size increases (making the width of the element bigger) and the color cha...

How to declare a json string correctly?

So I tested two ways of declaring a json string: 1: json = "{'name': 'ajsie'}"; obj = JSON.parse(json); // SyntaxError: Unexpected token ILLEGAL 2: json = '{"name": "ajsie"}'; obj = JSON.parse(json); // Worked! What is the problem with the first one? ...

Google Chrome slight mis rendering of button sprite

I cannot seem to get the butotn on the pop up of this page just right in Google Chrome: http://www.ryanpays.com/expedia/ There is an overlap which is not present when testing in other browsers. It's really bugging me :( ...