Displaying 20 results from an estimated 28 matches for "getheight".
2006 May 08
2
prototype getHeight safari
Hi
I have a weird bug with getHeight or getDimensions().hegiht
(prototype) only on safari
if I have a html file like this
<div id="test"></div>
and a embedded css
<style>
#test {
width:100px;
height:100px;
float:left;
}
</style>
In Safari $(''test'').getHeight returns 100...
2006 Apr 14
1
Script.aculo.us Effects with callbacks not working as it should.
...et very small and flashes
when the content_node is completely faded.
// For some reason if the height is lower than approx. 190px,
// the toolbar of the editor overlaps the content_controls div....??
var content_or_editor_height = ''height: '' +
Element.getHeight($(content_elements[''content_or_editor''])) + ''px;'';
$(content_elements[''content_or_editor'']).setAttribute(''style'',
content_or_editor_height);
// First let''s hide the div holding everything content/e...
2007 Jul 26
1
getWidth(), getHeight(), and getDimensions() in IE6
I''m getting an "Object doesn''t support this property or method" when
calling $(element).getWidth() in IE6. I dont see any note of this
method not working in IE so I''m confused.
Can someone help please?
Nate
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 May 30
0
problem with effect toggle - please help
...39;');
this.bTitle = this.bContainer.childNodes[0];
this.bBtnToggle = this.bTitle.getElementsByTagName(''IMG'')[0];
this.bContentWrap = this.bContainer.childNodes[1];
this.bContent = this.bContentWrap.childNodes[0];
this.originalHeight = Element.getHeight(this.bContentWrap);
this.boolUpdate = false;
this.btnToggleClick = this.toggle.bindAsEventListener(this);
Event.observe(this.bBtnToggle, ''click'', this.btnToggleClick);
},
toggle: function() {
Effect.toggle(this.bContentWrap, ''slide'', {...
2009 Dec 06
1
[LLVMdev] PR5382
Hello,
This patch fixes PR5382. The problem is that
"bu_ls_rr_sort::operator()" and "td_ls_rr_sort::operator()" call
getHeight() and getDepth() methods on SUnit, which can recompute
values, what invalidates heap (SPQ). This patch guarantees that height
and depth values won't be recomputed. The other solution would be to
reheapify SPQ everytime when new SUnit is pop()ed, however I think it
would be too expensive...
2006 Jun 07
0
How to determine width and height of FXImageView?
...; except one: to set the size : I don''t know what
> to tell Gnuplot there:
> - how do I see what the size of that
>
> @imageview_rec = FXImageView.new(@topFrame_rec, nil, nil, 0,
> LAYOUT_FILL_X|LAYOUT_FILL_Y)
>
> is ?
> I tried
> p @imageview_rec.getHeight
> p @imageview_rec.getWidth
>
> but that gives me 1 and 1.
The FXImageView widget isn''t going to have a known size until it''s created,
and I''m guessing you''re calling getHeight() and getWidth() before that happens.
2009 Oct 27
1
Rjava, RImageJ, and/or S4 question.
I am out of my league with this question. The following code starts the java imaging program ImageJ from within R, and displays an image (assuming ImageJ is installed on your computer).
library(RImageJ)
img <- IJ$openImage( file.choose() ) #pick an available .tif file
img$show() # make the image object visible
# An image is now displayed
# find out about the objects involved
>
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
2008 Nov 29
3
Can't run Evidence Scribe
...or details. The error is: The requested feature is not implemented [GDI+ status: NotImplemented] ---> System.NotImplementedException: The requested feature is not implemented [GDI+ status: NotImplemented]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000]
at System.Drawing.Font.GetHeight (Single dpi) [0x00000]
at System.Drawing.Font.GetHeight () [0x00000]
at System.Drawing.Font.get_Height () [0x00000]
at (wrapper remoting-invoke-with-check) System.Drawing.Font:get_Height ()
at System.Windows.Forms.Form.GetAutoScaleSize (System.Drawing.Graphics g, System.Drawing.Font font...
2006 Nov 28
11
Extending Element with getTop, getWidth, getLeft problem
...only way to access the function was like this
Element.getTop($(this))
----------------------------------------------------
Questions:
1. Have I done something wrong or the extend function doesn''t working
properly ?
2. Why aren''t these functions added by default to Element (only
getHeight() exists) ?
Thank you.
--~--~---------~--~----~------------~-------~--~----~
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
To...
2008 May 03
1
[Bug 15814] New: unable to view new york times feature
...dec_action_call_method: no
function named "stop" on object unknown
SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no
function named "setEnabled" on object unknown
SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no
function named "getHeight" on object SwfdecSpriteMovie
SWFDEC: WARN : swfdec_movie_asprops.c(83): mc_y_set: trying to move
ssController_mc._y to a non-finite value, ignoring
SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no
function named "getHeight" on object SwfdecSpriteMovie
SWFDEC:...
2007 Jun 09
23
hoverclass on droppable zone
Hi guys,
I''m trying to make a drag''n''drop portal using sortable element. I
would like to apply the "hoverclass" option only on the droppable zone
instead of the column border.
Any idea a about the solution?
Thanks for any help,
Sabri
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2006 Jan 21
8
scriptaculous accordion feature - Jump?
Trying the accordion feature as offered at:
http://wiki.script.aculo.us/scriptaculous/show/accordion+feature
The objective is to remove the "jump" reported in the Rico accordion
feature. My demo of the scriptaculous feature, however has a noticeable jump
when tested if FireFox. and IE Win. See:
http://www.jimdavis.org/accord3.html
Have I implemented this incorrectly?
Jim
2010 Oct 07
0
[LLVMdev] libcpu with m88k
What kinds of errors are you getting?
On Thu, Oct 7, 2010 at 9:36 AM, Pradeep Ramachandran <pramach2 at uiuc.edu> wrote:
> Hi,
> I recently downloaded and installed the libcpu package (from http://libcpu.org
> ) that uses llvm as the backend on my linux machine. I have a piece of
> Motorola 88100 code (essentially the output of the 176.gcc benchmark
> from SPEC CPU 2000) that
2007 Oct 04
0
Getting mouse position from a timed function - My Solution
...n);
},
within: function(element){
//is the cursor within the given element? Return bool
var el = $(element);
var vpo = el.viewportOffset();
return (this.x > vpo[0] &&
this.x < vpo[0] + el.getWidth() &&
this.y > vpo[1] &&
this.y < vpo[1] + el.getHeight());
}
});
Once you have that included in your page, you can use it like this...
//Start capturing mouse position.
var pointer = new pointerTracker();
//Close the toolbar if the mouse is not hovering over it. Check ever 3
seconds.
new PeriodicalExecuter(function(pe){
if (!pointer.within('&...
2008 Apr 22
2
Prototype's cumulativeOffset() is not a function
...d="content_menu">blah</div>
But when I attempt to load this page, I get a script error. I use
Firebug for debugging, and it tells me:
"$(''content_menu'').cumulativeOffset is not a function".
If I substitute cumulativeOffset() for something else, say,
getHeight() or getWidth(), then it works. I''ve tried stripping the js
and the HTML down to the absolute minimum, but it still gives the same
error. (In the original file, there are a BUNCH of other included
scripts that do various things on the page, and the HTML is a few
kilobytes in size.)
So......
2005 Oct 03
0
Prototype Ajax.Request (onLoading and onSuccess) question
...Calendar(t);}
}
);
},
onLoading: function() {
var calTable = $(''calendar'').getElementsByTagName(''table'')[0];
var loadingDIV = myxa.getLoadingDIV(Element.getHeight(calTable));
Element.hide(loadingDIV);
$(''calendar'').appendChild(loadingDIV);
Element.toggle(calTable, loadingDIV);
},
getLoadingDIV: function(height) {
if (undefined == height) {
height = 135;
}
var loading = document.createElement(''div'');
load...
2010 Oct 07
2
[LLVMdev] libcpu with m88k
Hi,
I recently downloaded and installed the libcpu package (from http://libcpu.org
) that uses llvm as the backend on my linux machine. I have a piece of
Motorola 88100 code (essentially the output of the 176.gcc benchmark
from SPEC CPU 2000) that I am trying to run using this emulator, but I
am running into errors when trying to run it.
Has anyone been able to successfully use the m88k
2011 Dec 20
0
[LLVMdev] specializing hybrid_ls_rr_sort (was: Re: Bottom-Up Scheduling?)
...t of BUCompareLatency. That function first checks
> for stalls and returns 1 or -1. Only after that does it look at the
> relative latencies.
Looking at this more carefully, I think that I see the problem. The
heights are set to account for the latencies:
PredSU->setHeightToAtLeast(SU->getHeight() + PredEdge->getLatency());
but the latencies are considered only if the node as an ILP scheduling
preference (the default in TargetLowering.h is None):
bool LStall = (!checkPref || left->SchedulingPref == Sched::ILP) &&
BUHasStall(left, LHeight, SPQ);
...
and the PPC backend...
2011 Dec 20
1
[LLVMdev] specializing hybrid_ls_rr_sort (was: Re: Bottom-Up Scheduling?)
...function first checks
>> for stalls and returns 1 or -1. Only after that does it look at the
>> relative latencies.
>
> Looking at this more carefully, I think that I see the problem. The
> heights are set to account for the latencies:
> PredSU->setHeightToAtLeast(SU->getHeight() + PredEdge->getLatency());
>
> but the latencies are considered only if the node as an ILP scheduling
> preference (the default in TargetLowering.h is None):
> bool LStall = (!checkPref || left->SchedulingPref == Sched::ILP) &&
> BUHasStall(left, LHeight, SPQ);
&...