search for: setheight

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

Did you mean: getheight
2006 Feb 08
2
Prototype: Position.clone()
...solute''; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + ''px''; target.style.left = offsets[0] + ''px''; target.style.width = source.offsetWidth + ''px''; target.style.height = source.offsetHeight + ''px''; }, clone: function(source, target) { var options = Object.extend({ setLeft: true, setTop: true, setWidth: true, setHeight: true, offsetTop: 0, offsetLeft: 0 }, arguments[2] || {}) // find page position of sou...
2006 Jan 06
3
Protoype problem
Hey everybody, I encountered an interesting problem today. Here is what I have: I used the prototype function "Position.clone(src, target)" which actually copies the top, left, offsetWidth and offsetHeight from the src to the target. interestingly, my src-object had a css-styled border of 1px, and a total offsetWidth of 320px. my target-object had the same properties, but once I did the position-clone function, my target-object had a 322px width, because the width AND the border (1px on each side...
2008 Feb 05
2
help with oop in R - class structure and syntex
...*the MountainBike subclass has one constructor* public MountainBike(int startHeight, int startCadence, int startSpeed, int startGear) { super(startCadence, startSpeed, startGear); seatHeight = startHeight; } // *the MountainBike subclass has one method* public void setHeight(int newValue) { seatHeight = newValue; } } What would be the R oop syntex for inheritance in the case of the MontainBike class? Thanks! -- Tom [[alternative HTML version deleted]]
2009 Feb 25
1
[PATCH] CompRect more intuitive
Hi, Compiz++ uses CompRegion instead of XRectangle, right? This patch tries to improve CompRect usability *First* I was using CompRect, but I've found that the only way to modify a CompRect is using setGeometry function: void CompOutput::setGeometry (int x1, int x2, int y1, int y2); So I created setX1, setY1, setX2, setY2 functions *Second* As you can see above, setGeometry uses:
2005 Dec 14
1
[scriptaculous] scroll down to show full auto completion list (w/ possible patch)
Hi everyone, lately I''ve implemented an auto completion textfield at the bottom of a form. I was a bit bothered by the fact that the user would potentially need to scroll down in order to see all the options offered by the auto completion. I couldn''t find any information on how to auto scroll to the auto completion list with bulit-in functionality so I modified controls.js
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...
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...diff --git a/src/flexchart/flexchart.mxml b/src/flexchart/flexchart.mxml index 7a86cd9..d4d097b 100644 --- a/src/flexchart/flexchart.mxml +++ b/src/flexchart/flexchart.mxml @@ -22,6 +22,9 @@ private function myInit():void { + Constants.setWidth(this.stage.stageWidth); + Constants.setHeight(this.stage.stageHeight); + var bus:ApplicationBus = ApplicationBus.instance(); mainChart.height = Constants.height; mainChart.width = Constants.width; @@ -57,6 +60,7 @@ } private function zoomOutSeries(e:Event):void { + ApplicationBus.instance().mainChart.clear...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...nt, update){ + this.options.onShow = this.options.onShow || + function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; Position.clone(element, update, { - setHeight: false, + setHeight: false, offsetTop: element.offsetHeight }); } Effect.Appear(update,{duration:0.15}); }; - this.options.onHide = this.options.onHide || + this.options.onHide = this.options.onHide || function(element, upda...
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