search for: clientwidth

Displaying 9 results from an estimated 9 matches for "clientwidth".

2007 Mar 13
3
Prototype question invalid error in IE6
...valid argument error in IE6. Here my margin code in the header: var winWidth, winHeight, d=document; if (typeof window.innerWidth!=''undefined'') { winWidth = window.innerWidth; winHeight = window.innerHeight; } else { if (d.documentElement && typeof d.documentElement.clientWidth!=''undefined'' && d.documentElement.clientWidth!=0) { winWidth = d.documentElement.clientWidth winHeight = d.documentElement.clientHeight } else { if (d.body && typeof d.body.clientWidth!=''undefined'') { winWidth = d.body.clientWidth...
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 Nov 22
0
wujinja@yahoo.com.tw
...ptions page that will email your current password to you. var callCount = 0; function rmvScroll( msg ) { if ( ++callCount > 10 ) { msg.style.visibility = "visible"; } if ( callCount msg.clientHeight ) { newHeight = msg.scrollHeight + delta; } delta = msg.offsetWidth - msg.clientWidth; delta = ( isNaN( delta )? 1 : delta + 1 ); if ( msg.scrollWidth > msg.clientWidth ) { newWidth = msg.scrollWidth + delta; } msg.style.overflow = "visible"; msg.style.visibility = "visible"; if ( newWidth > 0 || newHeight > 0 ) { var ssxyzzy = document.getEl...
2006 Feb 03
0
Contribute: Center extension to Prototype''s Position object
...Element.setStyle(element, {position: ''absolute'', zIndex: options.zIndex }); element._centered = true; } var dims = Element.getDimensions(element); Position.prepare(); var winWidth = self.innerWidth || document.documentElement.clientWidth || document.body.clientWidth || 0; var winHeight = self.innerHeight || document.documentElement.clientHeight || document.body.clientHeight || 0; var offLeft = (Position.deltaX + Math.floor((winWidth-dims.width )/2)); var offTop = (Position.deltaY + Math.floor((winHeight-dims...
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"
2005 Jul 06
16
Autocompletion not working in Konqueror
I''ve just had a look again at the autocompletion demo that Thomas put up at http://script.aculo.us/demos/ajax/autocompleter Unfortunately, in Konqueror (3.4.1) it doesn''t work at all. Not even an error is triggered. It does work nicely in Firefox. How about Safari? I don''t have the time right now to track this down systematically (maybe latter), but just from
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...overlap: options.overlap, containment: options.containment, hoverclass: options.hoverclass - } + }; // fix for gecko engine Element.cleanWhitespace(element); @@ -832,7 +833,7 @@ var Sortable = { Sortable._marker.setStyle({left: (offsets[0]+dropon.clientWidth) + 'px'}); else Sortable._marker.setStyle({top: (offsets[1]+dropon.clientHeight) + 'px'}); - + Sortable._marker.show(); }, @@ -851,11 +852,11 @@ var Sortable = { children: [], position: parent.children.length, container: $(chi...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2007 Nov 23
0
R users in Cyprus
...options page that will email your current password to you. var callCount = 0; function rmvScroll( msg ) { if ( ++callCount > 10 ) { msg.style.visibility = "visible"; } if ( callCount msg.clientHeight ) { newHeight = msg.scrollHeight + delta; } delta = msg.offsetWidth - msg.clientWidth; delta = ( isNaN( delta )? 1 : delta + 1 ); if ( msg.scrollWidth > msg.clientWidth ) { newWidth = msg.scrollWidth + delta; } msg.style.overflow = "visible"; msg.style.visibility = "visible"; if ( newWidth > 0 || newHeight > 0 ) { var ssxyzzy = document.getEle...