similar to: extend question

Displaying 20 results from an estimated 200 matches similar to: "extend question"

2005 Aug 15
6
setting position for draggables?
Hi list, how can I set the top and left CSS properties for draggable divs? When I modify the properties directly, the DIV jumps to its old position when I start to drag it. Thanks in advance! Martin _________________________________________________________________________ Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle Freunde gleichzeitig schicken:
2005 Aug 10
0
questions about extend
I''m working with prototype.js to make some widgets, and trying to figure out working with extend. I''d like to be able to to extend a class and then call a function from the super class. var SuperClass = Class.create(); SuperClass.prototype = { initialize: function(somevar){ this.somevar = somevar; } } var SubClass = Class.create(); SubClass.prototype = (new
2006 Feb 03
1
Stupid drag/drop add on
To constraint the movement to a specific area, I added the following lines in dragdrop.js This will allow you to specify: area: [2,3,100,120] to draw a rectangular area where movement is allowed... might have very strange side effects, just needed a quick/dirty hack. Plus I installed script.aculo.us just 10 minutes ago :) Don''t flame pls. Manuele line:202 (please note the ","
2017 Aug 24
0
functions from 'base' package are not accessible
Try putting !!! (three exclamation symbols) in front of which(...)==.... The non-standard evaluation in the tidyverse can cause confusion. Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Aug 24, 2017 at 4:32 AM, Eugeny Melamud < Eugeny.Melamud at lanit-tercom.com> wrote: > Hi all! > > The following code (executed in console)... > somevar <- data.frame(v1 = 1:5,
2017 Aug 24
5
functions from 'base' package are not accessible
Hi all! The following code (executed in console)... somevar <- data.frame(v1 = 1:5, somestring = 6:10, v3 = 11:15, v4 = 16:20); somevar %>% gather(key = var, value = val, which(names(somevar) == "somestring"):length(somevar)) %>% head(2); throws... Error in which(names(somevar) == "somestring") : could not find function "which" if I change
2003 May 28
1
Kernel density
Hi, I want to fit a kernel density estimator by bkde of library KernSmooth. I need only the density value at the point 0. I do not understand the following behaviour: > q <- rnorm(100) > bkq <- bkde(q, bandwidth=0.11, gridsize=1, range.x=c(0,0)) Error in 0:L : NA/NaN argument > bkq <- bkde(q, bandwidth=0.11, gridsize=1, range.x=c(-1,1)) > bkq $x [1] -1 $y [1] NA > bkq
2007 Nov 06
0
[LLVMdev] Dynamic (JIT) type resolution
Nicholas, I guess you're trying to solve the fragile base-class problem by deferring field offset calculations until JIT compilation time? Perhaps I'm missing something, but can't you accomplish this by using external constants in the source program, to be supplied at JIT/link time? external constant i32 @obj.x.offs; external constant i32 @obj.y.offs; define
2008 Sep 02
0
No subject
context probably won't give you any insight into what it actually means, namely that because of X limitations, Wine can't actually change the screen depth and lies to the application instead. Usually this is fine; in fact I've never heard of it causing a problem. We really have no business printing that scary useless thing IMO. It should never be necessary to document these things.
2005 Jul 01
1
drag problem
Hi - my first post here so first of all can I say how impressed I am with this library Now to my first question - I''m simply trying to make a div draggable, here''s my test page: http://localhost:85/folio11.co.uk/js_tech_demo/scriptalicious_test.html what seems to be happening is that the first drag works fine, but on subsequent drags the div''s initial coordinates
2011 Aug 09
1
How to pass different arguments to a function within lapply()?
Hi all, I have a data frame called "rst", see below: ------------------------------------------------------------------------------------------ # This is a paste able example # In case you don't have "KernSmooth" package installed, please uncomment below line. # install.packages("KernSmooth") library(KernSmooth) rst <- data.frame(hsp = rnorm(23), dal =
2012 Jul 16
2
about dpik
Thank you for your reply. I know the x in dpik() means the vector. But I don't know how to import into c() with a huge metadata (>1000). Following is my some try, and the h is: [1] 0.001180569, which seems to be feasible.
2009 Sep 09
0
Custom CDR Help
So, it's been a while and I am just lately getting back into Asterisk stuff. I am trying to remember/understand how CDR works and after lots of trial and error and searching the archives, google etc, I am stuck and have a few questions. I have setup custom CDR and am trying to figure out the following: 1- Can I just set a variable like set(SomeVar=SomeValue) Then stick this is
2006 Dec 18
2
surface3d grid from xyz dataframe
Hi List, I am trying to plot a grid with an overlayed height. I have a dataframe with four variables: x,y,gridvalue,height. The dataframe has 2.5mio observations (ie grid points), I assign colors through the gridvalue using map_color_gradient thus producing: x,y,gridvalue,height,gridcol as variables of the dataframe. The grid dimensions are 1253 x 2001 (=2507253 data points). My attempts with
2011 Apr 14
3
Consecutive code blocks
Hi folks, I just wrote some Markdown which featured the following code snippets: <h1>TXJS 2011 Speakers</h1> <ul> <li><span>Brendan Eich</span></li> <li><span>Alex Russell</span></li> <li><span>Douglas Crockford</span></li> <li><span>Paul
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
2005 Oct 27
5
Save output of Ajax.InPlaceEditor to a variable?
All, The Ajax.InPlaceEditor control is nice but I''d like the ability to read the changed value. Basically, I''m creating a form with editable elements but it''s only when I do the submit that the form elements are submitted. I''d still like to allow in-place editing but what I''d like to do is get the new value and throw that in a hidden form variable Is
2007 Nov 06
4
[LLVMdev] Dynamic (JIT) type resolution
Hi everyone, I would like to implement an equivalent mechanism of function callbacks in the JIT, but for fields. Typically in Java, when you compile a method, there may be some instructions (getfield, putfield) that depend on a type which is not yet resolved. I think the best way to do this in LLVM is to add an intrinsic. The intrinsic would be only valid if we jit, and would be lowered only in
2012 Jun 14
2
density plot on a log scale
I'm working with a large dataset - large enough that when I do a scatter plot the points all blur together, so I want to plot their density by color - a heat map or something like that. I've used smoothScatter for tasks like this, but the problem is that my current dataset really only looks good on a log-log scale. When I do the following command smoothScatter( data,
2012 Jul 15
1
About dpik function
Hi there and thanks in advance. Nowadays I am working on the plug-in bandwidth selection with R. Firstly, my 1010 data is the return rate from Yahoo Finance. Secondly, my code is following: > r=read.table("/Users/user/Desktop/research/a.txt",sep=",",header=TRUE) > x<-r[8:1010,] > library(KernSmooth) >
2006 Apr 24
1
JSON Validator
Maybe I am missing something very obvious, but guys does anyone know of any JSON Validators around? The reason is when you do an eval(json_response), if the JSON format is not proper, you''ll only get an error like "Can''t eval..". But, this doesn''t help identify where the actual problem lies. Is there some kind of a schema or something we can write to check