similar to: getWidth(), getHeight(), and getDimensions() in IE6

Displaying 20 results from an estimated 20000 matches similar to: "getWidth(), getHeight(), and getDimensions() in IE6"

2006 Nov 28
11
Extending Element with getTop, getWidth, getLeft problem
Hi, I need to extend the Element object with getTop, getWidth, getLeft . I wrote something like this in an js file and loaded it after the prototype.js . ---------------------------------------------------- Object.extend(Element, { getWidth: function(element) { element = $(element); return element.offsetWidth; }, getTop: function(element) { element = $(element); var curtop
2007 Nov 07
1
draggable with iframeshim for ie6
you all know the problem with select and textbox in ie6 where you need an iframe under your divs so they will visually be on top. does scriptaculous have api for iframeshim like yahoo yui does? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send
2008 Jan 31
2
Odd things happening in ie6/ie7
As always, i am again having problems in IE6 and IE7 with scripts. The scripting works fine in FF2, opera and Safari. IE just wont load it. Could anyone help? It''s a static page for now, located at www.maifith.com/research/index.html The problem,although quite obvious, is that it doesn''t load the JS in IE6 or IE7. Any help would be appreciated.
2008 Apr 22
2
Prototype's cumulativeOffset() is not a function
Hi all, I''m sure I''m missing something obvious. I add prototype.js and my custom js file in the head: <script src="prototype.js" type="text/javascript"></script> <script src="my_js_file.js" type="text/javascript"></script> my_js_file.js looks like this: Event.observe(window, ''load'', loadTasks,
2006 Sep 14
1
Prototype on Windows CE .NET V4.2 - suppose to be IE6
Anyone tried this. I tried a quick page and works with firefox, ie on xp, but on on CE Any thoughts. According to MS its ie6 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
2006 Nov 25
2
Effect.Appear and PNG on IE6
Hi to all, I''m using an Effect.Appear on a div that have a PNG 24 (with alpha transparency). Works prefectly on all excecpt... IE6 that do not render alpha channel on PNGs. So I wrote a conditional comment to apply the propietary IE filter to load alpha adding filter: in a style tag. Well, during Effect.Appear, appear a black png background on the alpha. Have workarounds or tips to fix
2006 Nov 24
1
prototype crashes IE6
IE 6 SP1 crashes on pages with prototype.js AppName: iexplore.exe AppVer: 6.0.2900.2180 ModName: kernel32.dll ModVer: 5.1.2600.2945 Offset: 00012a5b It''s suggested that TextWare''s QuickFind BHO is causing the crash and that uninstalling it does the trick! I wan''t to find exactly what part of prototype is causing this... My findings will end up here and on
2007 Dec 03
3
DOMContentLoaded error on IE6
Hi, I am loading prototype dynamically using the following js: var scr=document.createElement(''script''); scr.setAttribute("type","text/javascript"); scr.setAttribute("src","./static/js/lib/prototype.js"); document.getElementsByTagName("head") [0].appendChild(scr); on IE6
2005 Nov 02
1
IE6 Text Selection Problem
Hi Guys, I have a problem with IE6. Using any version of prototype and any version of scriptaculous IE loses the ability to select text by dragging the text cursor over it. You can double/treble click text, or use shift and the arrow keys but you cannot use the mouse. This applies to text in both input and fixed elements. Has anyone else got this, or knows how to fix it? Cheers Paul Shannon
2006 Apr 10
4
Element.getDimensions() support for IE?
Hey all, I''m not sure if IE can support this, but I''m trying to get the dimensions of an element that has percentages for height/width. In the example code below, I''m trying to get the dimensions for the ''MyCell'' element. Firefox supports Element.getDimensions(''MyCell''), but IE returns 0 for the height & width returned by that
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) {
2007 Aug 25
2
insert HTML <select> value into a textarea - Works in IE6, not in FireFox or Opera
I have a simple form at http://mstramba.com/fb5.html It''s just a <select> and a textarea. The idea is to be able to either type into a text area directly or choose from a list of saved words in the select box. When a new choice is made from the select, it automatically gets inserted into the text area. This code DOES work in I.E6 (on my machine (XP pro), but doesn''t
2006 Jun 13
3
Weird flicker effect in IE6 (sortables)
Hello everyone I have made some strange expirience yesterday. I have an unordered list with sortable list items (basic). Within these are various contents (forms, divs, more lists) etc.. Now on only some of them the whole page (all text) begins to flicker / redrawn in Internet Explorer 6 if i pick up a dragable and move it above its original position (like moving it above the ghost of the
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
2007 Mar 13
3
Prototype question invalid error in IE6
Hi, I''m new to using Prototype and script.aculo.us. I''m trying to use prototype to adjust an elements top margin based on the height of the screen. I''m also using script.aculo.us to make the element move negatively off the left of the window to create a scrolling effect. It works fine in Firefox, but I keep getting an Invalid argument error in IE6. Here my margin code
2007 Sep 20
10
Element.addMethods functions swallowing exceptions (IE6 + 7)
IE6 and IE7 are not correctly handling the ''throw'' command for functions attached to Element via Element.addMethods. Firefox and Safari are fine. See the example below. For IE6: functions called with no attributes (ie: funcName()) correctly handle thrown errors. Funcions called with attributes (ie: funcName("foo")) will respond to the throw command and pass execution
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 26
0
RE: DOM events not firing in IE6 with floated di vs
Yea that''s what I am seeing also. Think I got round this before by turning the structure into a table :( Andrew - Thanks for your input.. > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On > Behalf Of Andrew Tetlaw > Sent:
2007 Jul 20
0
IE6 assigns "undefined" to _counted property when matching
I''m pretty sure I''ve come across a bug for CSS matching in IE6. (I''m kind of new at the collaborative thing, so I figured here would be a safer place to write this, as opposed to The relevant HTML is: <script type="text/javascript"> function getLineItems() { return $$("#LineItems tbody tr"); } function addLineItem(e) { var template =
2008 Jan 31
3
Multiple form weirdness in IE6
I am having an issue where I have multiple forms on a page. The first form has a couple of hidden inputs. The second form has all the visible controls including three buttons. Each of these buttons has a behaviour attached to it (From Ben Nolan''s Behaviour.js) based on its id. The code for the first button is something like this (I am also using prototype.js): var button1Func =