Displaying 20 results from an estimated 900 matches similar to: "[scriptaculous] scroll down to show full auto completion list (w/ possible patch)"
2005 Dec 05
1
Scriptaculous conflict with TinyMCE
I''m using TinyMCE[1], a popular javascript WYSIWYG html editor. The
editor fails to work when I load Scriptaculous before it -- well
depending on the browser.
I can make my application load the javascript in a different order,
but just in case it''s an issue in scriptaculous I thought I''d report.
I have a few pages up -- I''d like to find out if anyone else
2009 Aug 26
5
Noob DRY method question
Hi Gurus, I''m learning the Rails framework, and I have this exact
block of html/javascript in two places in an if/else construct in
application.html.erb:
<body onload="Modalbox.show(''<div class=\''warning\''> <p> <center> <%=
flash[ :notice ] %> </center> </p> <p> <center> <input
2006 Feb 08
2
Prototype: Position.clone()
Does the duplicate clone method of Position serve a subtle purpose
that I don''t understand? I feel kind of foolish even asking, but ...
I just don''t get it. I''ve been looking at this for a couple days now
and as far as I can tell, the first definition is useless as it gets
overlaid by the second one. I don''t see any closure trickery going on
here, either.
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
2009 Jul 14
4
[ActiveRecord::Base].collect {|a,b| ...} weirdness
Hey everyone.
My mind has been boggled by an issue I ran into a few hours ago. I am
completely lost as to why the following code behaves the way it does
and would appreciate any hints from you guys. It would already be
super-helpful if others could post their output for the following so
that I can figure out whether this is weirdness specific to my setup
or a global phenomenon.
So far,
2005 Dec 22
6
Scriptaculous and Prototype based Rich Text Editor
Hi Guys,
I'm currently using the Dojo Rich text editor on my site
https://wideword.net but am not 100% happy with it as I'm a prototype
kind of guy.
So I started writing this Rich Text Editor the other day on an
experiment. I used the In Place Editor as a template for it and have
gotten it to more or less work under IE and Gecko. Unfortunately it
still isn't working on Safari ( The
2008 Feb 05
2
help with oop in R - class structure and syntex
Hi,
I read section 5, oop, of the R lang doc, and I am still not sure I
understand how to build a class in R for oop. I thought that since I
understand the oop syntex of Java and VB, I am wondering if the R programmig
experts could help me out by comparing and contrasting the oop syntex in R
with that of Java. For example, the basic class structure in Java is like
this:
public class Bicycle {
2006 Jun 23
2
columnwise multiplication?
Hi all,
I'd like to do a multiplication between 2 matrices buy only want resulsts of
cloumn 1 * column 1, column 2 * column 2 and so on.
Now I do
C <- diag(t(A) %*% B)
Is there a bulit in way to do this?
Thank you.
[[alternative HTML version deleted]]
2009 Nov 19
3
t-criterion calculation using means and SE
Dear all,
is there any functions which allow to calculate Student t-criterion using means, their SE and sample size? I've seek for, but bulit-in t-criterion works only with initial sample...
Best regards,
A.Morkovin
2011 Sep 28
2
GAMs in R : How to put the new data into the model?
I have 5 GAMs ( model1, model2, model3, model4 and model5)
Before I use some data X(predictor -January to June data) to form a equation
and calculate the expected value of Y (predictand -January to June). After
variable selection, GAMs (Model 1)were bulit up! R-square :0.40
NOW, I want to use new X'( predictor -July - December data) and put into
Model 1, then get the expected value of Y'
1998 Jun 23
1
Printing on Windows 95
Hi,
I have installed v 1.9.18.p3 for IRIX 6.2. I can share my files between
SGI station and all local PC with Windows 95. I would like to send print
jobs from SGI machine to Windows 95 local machine printer too.
I tried it by smbclient and it was OK. However, cause it's not
practical. I try to print too using the sambalp command, by another name
the bulit-in Printer manager. The syntax of
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:
2006 Mar 08
4
Event.Observer - (was: Ajax.Autompleter not working on IE)
See if I can stir up a little life with a demo. I can''t believe that
Ajax.Autocomplete doesn''t work on IE, so I *must* be doing something
wrong.
Trying to figure this out I added some alerts to control.js and it
seems that IE is not getting the onkeypress events.
So, here''s a demo:
http://hank.org/demos/form.html
That contains two fields with onkeypress events:
2007 Jun 15
0
Freemind 0.8 problems on Centos 5
I just installed my rpms I bulit and scarfted for Freemind 0.8 on Centos
4.x on my Centos 5.0 system. I referenced all the proper 5.0 repos.
But....
No keyboard control (oh, Freemind is a platform independent Java
applet). That is <Enter>, <Insert>, <vntrl-S>, etc do NOTHING.
The long node format does not display. I can edit the node, and see the
edit dialog, but the
2017 Mar 08
2
Use of the C++ standard library in XRay compiler-rt
So I stumbled across an issue that I think is a bit fundamental:
The xray runtime uses the C++ standard library.
This seems like a problem because whatever C++ standard library is used to
compile the XRay runtime may not be the same as the C++ standard library
(if any) that is used to build the target application and link XRay into.
Does this make sense? Is this a problem?
Talking to Chandler
2008 Mar 21
5
foreign key question
Hi-
Say I have a db with following schema:
MyTable:
Id, name, user_id, date
User:
id, name, description
I know that I want to add "belongs_to" in my "user" model but how can
I enforce a proper constraint on the user_id in "MyTable"? Is this
done using a has_one in the "MyTable" model?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You
2006 Apr 03
5
Event.observe on IE
I''m working again on unloading events before making my ajax call.
This code works on Firefox/Opera, but IE doesn''t seem to get the
onclick events registered. Could someone with IE take a look?
http://hank.org/demos/ajax3.html
The js is included in that file. There''s alerts() to show when the
events are registered.
The idea of the code is to look for any
2006 Jan 16
11
Preventing bubble
I''m trying to prevent double ajax requests when I have nested onclick
handlers.
I have a table with clickable column headings (for sorting by that
column).
I have onclick handlers on both the <th> and the <a> link so that
clicking anywhere on the table heading should work.
<th onclick="window.location.href=''http://foo?sort=foo'';">
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
2006 Jan 23
1
autocomplete=off not working on Firefox
I noticed that the latest control.js disables auto complete:
this.element.setAttribute(''autocomplete'',''off'');
So I removed my inline "autocomplete=''off''" from my input fields.
But Firefox still auto completes.
Using the Firefox DOM Inspector I do see that it''s applied
by Ajax.Autocompleter as expected. The Inspector