Displaying 20 results from an estimated 2000 matches similar to: "RE: Autocompleter that auto scrolls through resu lts.."
2006 Mar 13
3
Autocompleter that auto scrolls through results..
Hi All
Before I investigate further, has anyone implemented an Autocompleter that
will auto scroll down / up the results div as the user moves down through
the list (using arrow keys) ?
Any pointers / thoughts appreciated.
Best
Matt
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
2006 Apr 28
3
Serialize / deserialize an associative array
Perhaps I missed something but I don''t see an easy way to do this ?
Basically just wanna hold some ui state in a cookie.
Did I miss something obvious ?
Best
Matt
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorized and
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:
2005 Sep 22
5
Prototype lib : for-each loops and DontEnum
All
I realise that this isn''t strictly the correct place to discuss the
prototype lib but being as scriptaculous is dependent on it I thought people
might have some opinions.
Easier to explain with the example below, copy into a html file and ensure
the path to prototype.js is correct. You''ll see the first example prints an
extra element "extend" when iterating over
2005 Aug 26
0
Reset element state
Great work guys :)
Simple Q for ya.
Is there a way to reset a DOM elements state after using a combination
effect ? I search around but couldn''t see anything in the docs.
Example
I have a DIV that periodically appears. The user acknowledges the dialog by
clicking the DIV, causing an Effect.Puff() to fire.
Now, when the DIV reappears next run, it''s state starts off set
2005 Oct 19
1
Help needed with filtering rules - how to copy named director ies only
Hi Wayne,
What would be really nice, and I imagine quite easy from a coding
perspective would be to allow the user to apply a regex match on the full
pathname of the files being transferred.
Anyway, thanks for your confirmation - I have worked around this problem.
Cheers,
David Carter-Hitchin.
--
Royal Bank of Scotland
Interest Rate Derivatives IT
135 Bishopsgate
LONDON EC2M 3TP
Tel: +44 (0)
2005 Oct 18
1
Help needed with filtering rules - how to copy named directories only
Hi,
I'm sure what I'm trying to achieve is remarkably easy, but I just can't
figure it out. What I want to do is to copy all directories named lib (and
their contents) over to a local drive. It's currently a pull operation, but
I could set it up as a push.
I've read the man page twice, looked at the FAQ, examples and searched on
google but no joy.
My command looks like the
2005 Aug 31
4
Element.show - element.style.display=''''
All
Head up.
I found that when I had a hidden DIV (using css - display: none) which I
wanted to Effect.Appear on some event (although the underlying problem seems
to be with Element.show()), I had to make an amendment to the underlying
prototype.js code by changing :
element.style.display = '''' -> element.style.display = ''block'';
I think the problem was
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
2005 Oct 13
3
Tweaks of Array.prototype
Hi all,
I encountered a big problem when trying to use Scriptaculous and
Htmlarea in the same page.
The Htmlarea code uses a lot of "for (var i in array_variable)" to
iterate on array elements. Problem is that prototype.js augments
Array.prototype, which then show up in the iteration, severely breaking
htmlarea.
The easy workaround is for sure to use "for (var i = 0; i <
2006 Feb 16
3
Retrieve a property defined in a css
Hi all,
I have a property, defined in an external stylesheet:
.my_class {
background-color: #FF0000;
}
I want to retrieve the value of this background-color of the class my_class.
How can I do that with prototype/scriptaculous ?
Thanks in advance,
Nicolas Terray
2008 Sep 17
1
Extracting subsets by factor level?
Hi
I have a data frame which looks like the following (it is a table of commit logs to a source repo). The Author column
is treated as a factor, by virtue of stringsAsFactors being set to TRUE, so I can extract the number of commits
per author by using table(logs$Author).
Is there an elegant way to extract all subsets of this frame by the Author column - i.e. that returns say a list of
data
2008 Dec 05
1
Cartesian Product Of Character Vectors
Hi all
(I'm sure this question has been asked before, but I cant find it).
If I have two character vectors:
> x <- c("aaa","bbb","ccc")
> y <- c("1","2","3")
How can I get the cartesian product of the string values?
> expand.grid(x,y)
Gives me a data frame with separate columns...however, I cant seem to get *apply
2008 Dec 05
1
Lexical Permutation Algorithm in R
Hi all
Here is a rather naive implementation of the SEPA algorithm for generating lexical permutations:
lexperm3 <- function(x, n=length(x)) {
perms <- list()
k <- 1
perms[[k]] <- x
k <- k + 1
for (y in 1:(factorial(n)-1)) {
i <- n-1
while (x[i] > x[i+1] && i > 0) {
i <- i - 1
}
# i is largest index st x[i] > x[i+1]
j <- n
#
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
2009 Jan 30
1
R DCOMServer Manager 2.0
Hi All,
I am from the packaging team in RBS.
We use R DCOMServer Manager 2.0, this application uses RGUI 2.3.0 as one of its components.
We are planning to upgrade to the latest version of RGUI 2.8.0 but found that R DCOMServer manager is not compatible with the latest version.
Can you direct me from where can I download the compatible version of DCON server Manager?
Thanks,
Smita Kumar
RBS
2008 Sep 02
1
Moving to a new bug reporting system?
Hi all
This may be an issue that has been discussed at length before, so apologies if I have missed that discussion, but is there any desire to switch from Jitterbug to something more capable and modern? Say JIRA, for instance?
Rory
Rory Winston
RBS Global Banking & Markets
Office: +44 20 7085 4476
***********************************************************************************
The
2008 Aug 21
1
x[order(x)] vs sort(x)?
Hi
I have a question (which may be an obvious one). It is about an idiom which I have seen quite often:
o <- order(x); <- x[o]
vs. the alternative
x <- sort(x)
I am just wondering as to the rationale behind the order/reindex idiom vs sorting. Especially as there seems to be a marked performance difference (especially for integer vectors):
> x <- trunc(runif(1E6, 1, 100))
>
2008 Nov 25
3
Line color based on data values?
Hi all
Does anyone know if it is possible when plotting a line or scatter plot, to selectively color the data points based on the data value? i.e. if plotting say the percentage change in stock price movements, to color +ve points in green and -ve points in red? And extending this to a user-defined range of colors based on the quartile of the data points?
Thanks
Rory
Rory Winston
RBS Global