Prototypes cumulativeOffset().top Google Chrome bug
For example if I go to a page $('element').cumulativeOffset().top returns 400 if I refresh this page it retrns 100 for the same element, only in chrome. Any idea how to solve this? ...
For example if I go to a page $('element').cumulativeOffset().top returns 400 if I refresh this page it retrns 100 for the same element, only in chrome. Any idea how to solve this? ...
I ran into a little problem today when I was creating a really quick script to scan lines files in a user specified directory for //todo:... So I had a line like this: if (stripos($data, '//todo:')) { //case-insensitive search ^^ //deal with the data appropriately } This did not find //todo: anywhere in any of the files! This was ...
http://en.wikipedia.org/wiki/Isner%E2%80%93Mahut_match_at_the_2010_Wimbledon_Championships So the longest ever tennis match broke the scoreboard on court at 47-47 and broke the website at 50-50. At least with the millennium bug it was about the date being stored in two digits. What excuse was there here and how common is it for progra...
I have 4 buttons on my canvas named item1, item2, item3 and item4. In the first frame i've written this code(as2): stop(); for (n = 0; n <= 10; n++) { this["item" + n].onPress = function () { trace('lol'); }; } When click the one named item1, it doesn't shows lol, which is funny because if i do this: stop(); for (n = 0; n <= 10;...
I have a string variable and a string constant. Both should be the same value (I'm testing for equality in a conditional). The 'correct' values of both should be "scl". While debugging, if I put a watch on each, look at them in the 'locals' windows, or hover over them, the value displayed is "sd", which is the value of a different consta...
Just stumbled upon a huge bug in Chrome (looks like it is fixed in coming Chrome 5): http://code.google.com/p/chromium/issues/detail?id=25185, basically it stops throwing timeupdate events after two or three seconds of playing, hence no way to update player interface. Is there any established javascript level fix for this? ...
this is the error show in console : objc[1589]: Class Account is implemented in both /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/System/Library/PrivateFrameworks/Message.framework/Message and /Users/hugohnery-garon/Library/Application Support/iPhone Simulator/4.0/Applications/E6874214-2DFA-4446-...
Hi, I've just updated my Rails gem version from 2.3.5 to 2.3.8 I'm using simple_form v=1.0 When I try to render a form I have an error message : undefined method `html_safe!' for # Can I patch it in my app or maybe it must be fixed in the simple_form version 1.0 ? Thanks for your advices :-) Fro_oo ...
I'm looking for catalogs of common bugs, weaknesses, and test cases or questions for software. In Lessons Learned in Software Testing I saw an example test catalog, but I typically can't find good, specific test catalogs out there for various common features or feature types. Can someone point me to a resource? Perhaps a community wik...
Hi, The following code works in Google Chrome and Firefox, but don't work in IE8. I don't know why, it's a tooltip and uses jQuery. It's not my code. When you run on Chrome or Firefox, hover over the element, the tooltip shows. In IE the tooltip doesn't, seems like a problem with the hover statement. I tried step by step debugging but j...
I'm seeing a strange issue when binding to ComboBox where the display value sometimes shows up blank. The case is repeatable however and happens the second time a dialog opened from another parent form. If the parent form is closed and reopened then the first time it's child dialog is opened the contained WPF ComboBox shows the display p...
hello guys i do created a FresnelPBMaterial material by away3D but after compile show this error ArgumentError: Error #2004: One of the parameters is invalid. at flash.display::ShaderJob/start() at SinglePassShaderMaterial/updateRenderBitmap() at away3d.materials::TransformBitmapMaterial/updateMaterial() at PixelShad...
Compiling this code int main(int argc, char **argv) { int xor = 0; } via g++ main.cpp results in: internal compiler error: Segmentation fault with i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659). Renaming the variable removes the error. Question: Is gcc from Apple crap? ...
I'm trying to do a short simulation where i needed a small bit array, and I chose System.Collections.Specialized.BitVector32. I'm running it inside a single-threaded object, in a single-threaded loop about 1,000,000 times, each time for indexes {0,1,2}. Here is the code: private System.Collections.Specialized.BitVector32 currentCalc...
Recently I developed a program that should run a process and make it foreground. Everything was ok except for one case: when there's a full-screen application active currently, the one that due to non-captioned styles and screen dimensions hides tasbar and fills all the area of the screen. In this case in Windows 7 the running applicatio...
I have a very simple code that uses HttpURLConnection to access some web site via proxy System.setProperty("java.net.useSystemProxies", "true"); System.out.println("Proxy: " + ProxySelector.getDefault().select(new URI(urlS))); URL url = new URL(urlS); HttpURLConnection ic = (HttpURLConnection)url.openConnection(); i...
I'm having this weird problem one of my pages. The page is XHTML valid, loads perfectly fine on Safari, Firefox but on Chrome the images load fine and then disappear instantly leaving that small icon that appears when the image is not found. I tried disabling all the javascript on the page, but still no luck. I can post a video of the be...
I am getting a javascript error on a page with this code.The error is "parentNode is null or not and object" The error is in this line: theParent.parentNode.removeChild(theParent); Is there some other code I can use to replace this or jquery that will work instead? var path = location.pathname; if( path == "/SearchResults.asp" ||...
html <div contentEditable="true">testing....</div> jQuery $(document).ready(function(){ $('[contenteditable]').removeAttr('contenteditable'); }); above codes is fine and working. you can feel it here. Now, try this $('[contentEditable]').removeAttr('contentEditable'); // notice the CamelCase of the string contentEditable in...
It seems that VB6 can't correctly compare dates in some situations. Are there any solutions to this? Private Sub CheckDate() date1 = #7/6/2010 2:00:00 PM# Debug.Print "Date 1: " + CStr(date1) date2 = DateAdd("h", -8, #7/6/2010 10:00:00 PM#) Debug.Print "Date 2: " + CStr(date2) Debug.Print "Equal? " + CStr(date1 =...