similar to: Element.getDimensions() support for IE?

Displaying 20 results from an estimated 10000 matches similar to: "Element.getDimensions() support for IE?"

2006 Apr 26
3
DOM events not firing in IE6 with floated divs
Hi All Not strictly Scriptaculous but I came across this whilst trying to implement some Scriptaculous code. I am hoping some XHTML guru out there might be able to shed some light. If you load up the attached file in IE6, you''ll see the events only fire in the middle section of the title bar when your over the border ! - FF1.5 is fine.. Any thoughts / comments appreciated.. Cheers
2006 Apr 28
3
Serialize / deserialize an associative array
Perhaps I missed something but I don''t see an easy way to do this ? Basically just wanna hold some ui state in a cookie. Did I miss something obvious ? Best Matt *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorized and
2006 Apr 26
12
RE: how to use Effect.BlindUp for resizing a div
var height = someElementReference.offsetHeight; and to set it: someElementReference.style.height = "100"; It is worth saying that offsetHeight and offsetWidth are non-standard compliance. They will give you the total rendering height and this will cause problems in IE since they use a different box model than FireFox. So you will have to do some height juggling in IE if you are using
2005 Oct 13
3
Tweaks of Array.prototype
Hi all, I encountered a big problem when trying to use Scriptaculous and Htmlarea in the same page. The Htmlarea code uses a lot of "for (var i in array_variable)" to iterate on array elements. Problem is that prototype.js augments Array.prototype, which then show up in the iteration, severely breaking htmlarea. The easy workaround is for sure to use "for (var i = 0; i <
2006 Feb 16
3
Retrieve a property defined in a css
Hi all, I have a property, defined in an external stylesheet: .my_class { background-color: #FF0000; } I want to retrieve the value of this background-color of the class my_class. How can I do that with prototype/scriptaculous ? Thanks in advance, Nicolas Terray
2006 Jan 18
7
script.aculo.us killing IE
Hi, i am new to ajax and new to script.aculo.us. I created a blog, http://www.zorpal.com/blog/, using some of the script.aculo.us features and commands. My sites works great in firefox, which everyone should be using, but if you open it in IE it kills it. It only kills it after a script.aculo.us motion has been called and finishs it''s execution. i really like the layout and the visual
2006 May 09
5
anyone used the new firefox leak monitor?
One of the Mozilla developer released a new extension to detect JS memory leaks: https://addons.mozilla.org/firefox/2490/ If it''s accurate, it might be bad news for Prototype. I have some code using prototype 1.4 with no leaks, but other code with 1.5 leaks on every single bindAsEventListener call, and a bunch of other places. Not sure if it''s just me; I may just be
2006 Mar 17
3
Element.getDimensions
Hi all, should it be considered a bug that Element.getDimensions returns the offsetWidth and offsetHeight properties from elemens having not display none, but clientWidth and clientHeight from elements with display none? Or is it a feature? Regards Lorenz
2005 Sep 22
5
Prototype lib : for-each loops and DontEnum
All I realise that this isn''t strictly the correct place to discuss the prototype lib but being as scriptaculous is dependent on it I thought people might have some opinions. Easier to explain with the example below, copy into a html file and ensure the path to prototype.js is correct. You''ll see the first example prints an extra element "extend" when iterating over
2005 Oct 21
2
scriptaculous website - IE crashes
often when I "try to" visit the scriptaculous, it crashes IE - does anybody else experience this as well? _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
2005 Nov 25
4
BlindDown recommendations?
Hi folks, I''m putting together a site that will have a shopping cart tab along the top which, when clicked, slides down to reveal the full contents of the cart (covering the page underneath it). When designing it and getting the styling right, I had the page display the cart fully open by default. This worked fine - the cart can close and open any number of times without problem[1].
2005 Sep 18
3
Attaching effects during onload
I''m trying to attach effects to elements in my onload handler and my lack of Javascript-fu is showing... I want to call the effect from the onclick handler of an anchor inside the div I want the effect to apply to. Here''s what I''m trying to do: function doOnLoad() { var filters = document.getElementsByName(''filter''); for
2006 May 09
8
Dynamically printing a page
Does anyone know of a cross browser solution to print a page/url after a user clicks a button? Currently, I''m using a "hidden" iframe to do my bidding. But from my experience, IE requires that the iframe''s src attribute be set initially to the url, in order for the page to open properly. I wasn''t able to add the iframe to the page dynamically, either. So
2005 Aug 30
4
Java with Scriptaculous
I know that the prototype library was paired with Rails but I''m curious if anyone has used the ajax part (of the libraries) with java servlets? If so could you please point me to some examples or documentation. Cheers, Marty
2005 Sep 30
5
Converting text into a javascript array
Hey Guys, I know this isn''t specific to scriptaculous libraries but it''s something that I''m exploring as I use the ajax functions in prototype. My application server is not rails but java and I was thinking of returning a javascript array in the ajax response. When I get back my response is it, of course, text and I''m not sure how best to convert it into
2008 Jun 19
7
getDimensions() fails for elements with ancestors with display: none
Prototype v1.6.0.2 If any of an element''s ancestors are hidden, Element.getDimensions() returns misleading values. In order to address this in my own project, I made the following modification: getDimensions: function(element) { element = $(element); var display = element.getStyle(''display''); + var hiddenAncestor = element.ancestors().any(function(e) {
2006 Mar 31
9
File upload progress bar
I''ve seen a few demos online, for php, but I''m looking for a file upload progress bar implementation with Prototype. Can anyone point me in a good direction for one? I''m not using Rails, so I can''t use the upload_progress addon, unfortunately. Thanks for any info Jim _______________________________________________ Rails-spinoffs mailing list
2006 Mar 09
5
Comet support?
Just out of curiosity, is there a plan to support Comet (name coined by the dojo guys) w/ prototype? Comet represents persisting an http connection for low latency data operations. It also represents a nice alternative to polling. Jim _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Nov 04
19
Drag & Scroll
When using drag and drop, the browser window will not scroll if you move the mouse off the page. This makes it very difficult, if not impossible to create certain types of web applications. I know this has been mentioned before and is on the Wish List, but it''s very frustrating. If you look at this other Javascript library called "Drag''nDrop & DHTML Library"
2006 Mar 29
3
V1.6.0 is not stable in IE...
Hi, I tried using v1.6.0 of the scriptaculous libraries (including latest prototype library) in one of my existing apps that uses the 1.5.1 version, and found that IE 6 was very unstable. Actions get slower and slower over time until the page is basically unusable. This continues until the browser window closes - a page refresh does not solve the problem. I can''t provide the exact code