Displaying 20 results from an estimated 1000 matches similar to: "Prototype.js: Is there an "in_array"-like function?"
2006 Jun 16
6
Drag and Drop work in IE?
Please,
I''m build an drag and drop tree using scriptaculous and it is perfect in
FF but when I test in IE don''t work, I drag the element and when I free
the button the element don''t go to the place, stay in the mouse pointer...
What can do it happen? I''m using last version of scriptaculous.
Thank you,
Pedro
2006 Jun 24
6
Few questions
I apologize if these questions are not relevant to Scriptaculous. I
just want to get a general idea if I can acomplish some or all of
these things with the framework, and then what (if any) I''ll need to
do outside just using javascript.
For now, I have 2 column layout. On the right I want a form palette
where form elements can be dragged to the left column. I have a form
inside the
2006 Jun 24
10
Looking for Javascript IDE
Hi everyone!
I am looking for a good Javascript IDE. Complete code-completion, should
understand object oriented models and anonymous functions.
Any suggestions?
PS: Im on windows.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Jul 24
15
XML Question
I''ve got an XML file which is pretty well structured. I need to retrieve
specific elements from that file to fill out empty HTML elements on a page.
I think what I need is xPath? Or - is that overkill? Is there some easier
way to locate an XML element?
What I have in mind is pulling the XML file using Ajax, then xPath to get
the bits I need.
Am I on the right path and does
2006 Jun 15
12
Why such bad performance with IE ?
Regarding DragDrop
I am wondering what the deal about Internet Explorer 6 is. My application is
near to final and now while testing browsers all but the IE6 are running as
supposed to. Any other browser is performing smooth movement while IE
compared provides a very bad expirience. I''ve seen some "tuning" infos on
this list but they are either outdated or not actually working
2007 Mar 10
2
Managing PeriodicalExecuters in an Ajax app. How?
Hi all
I have to deal with multiple PeriodicalExecuters over several
Interfaces. Each has it own. Now this all works, but i when i go back
and forth between them i spawn another and another etc...
I tried to push the instance of PE to a global array and on each
change in the interface invoke a stop() on them. This sounds okay, but
it is obviously not working 100% of the time.
Any ideas how to
2007 Mar 23
7
Lightbox-eske Dialogish Object
So, one of the things I''ve always wanted to do was expand upon the
simplicity of the Lightbox Gone Wild! object that the coders at
www.particletree.com put together months ago. I used it on an
application I wrote to organize my own picture albums on my localhost
web server, but I had to hack it apart to get it to do the things I
wanted it to do. I looked at the Prototype Window
2006 Jun 16
4
can someone please show me how to feed a drop down ....
Hi there...
I have a html page that i have to use as a template page for an exucuting
CGI file. (search engine). that source can not be modified on that CGI.
The CGI file pulls in the template file and provides a way to format the
resulting CGI output. (the htm template have has CSS in it to formate the
CGI resulting page)
of cource with html being stateless .. i have no way to put a feed drop
2007 Sep 06
2
Wordpress Javascript Index Loop
I want to use javascript to display the categories that the post is
filed under when a icon/image is clicked. The list of categories
should expand at the bottom of the post under the icon(s).
This works great on the single post page, but the index (main) page
lists 10 posts, and it will only work on the first post. No matter
what post icon is clicked the first post expands. I think I
understand
2006 Jun 13
3
Weird flicker effect in IE6 (sortables)
Hello everyone
I have made some strange expirience yesterday. I have an unordered list with
sortable list items (basic). Within these are various contents (forms, divs,
more lists) etc..
Now on only some of them the whole page (all text) begins to flicker /
redrawn in Internet Explorer 6 if i pick up a dragable and move it above its
original position (like moving it above the ghost of the
2007 Jun 15
13
API of scriptaculous
Hi all,
Is there anywhere an API with the different method and descrption of
the different JS of SCRIPTACULOUS ?
Thanks for your good work in Prototype and Scriptaculous !!
--
Cyril
--~--~---------~--~----~------------~-------~--~----~
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
2010 Apr 30
1
re.findall equivalent?
Hi,
The regular expression (grep) below does not behave at all like the equivalent in Python. Also, I would be happy if somebody could tell me what the R equivalent for Python's re.findall is. The regex filters out any numbers not enclosed by square brackets, including fractions (with either comma or dot as the separator) and percentages. How should the R code below be modified so it does the
2007 Dec 17
6
Checkbox array and Ajax.updater
Hello all,
I have some checkbox array like these:
<input type=checkbox name=list[] value="1">Java<br>
<input type=checkbox name=list[] value="2">JavaScript<br>
<input type=checkbox name=list[] value="3">ASP<br>
<input type=checkbox name=list[] value="4">HTML<br>
<input type=checkbox name=list[]
2003 Jul 08
3
Characters and Numeric Values in One Matrix
Dear R-Users,
I want to ask a question for a colleague of mine. He wants to put a
character vector and a numeric vector into one matrix and still have the old
character and numeric type for the respective columns.
Unfortunately, I am just starting using R and I could not help him.
Is there an easy and straightforward way to do this in R?
Maybe a little example facilitates understanding our
2007 Sep 12
2
Prototype.js and Coremetrics eluminate.js issues
Hi,
I am trying to use prototype.js on a JSP that also contains some
javascript from Coremetrics (eluminate.js). Coremetrics is used for
tracking marketing clicks.
When I have both of these javascript imports on the page I get
javascript errors in the eluminate.js file. I get javascript errors
that say "Undeterminate string constant."
It looks like the prototype.js file is somehow
2015 Jan 21
2
reducing redundant work in methods package
Hi all,
The function call series genericForPrimitive -> .findBasicFuns -> .findAll
happens 4400 times while the GenomicRanges package is loading. Each time
.findAll follows a chain of environments to determine that the methods
namespace is the only one that holds a variable called .BasicFunsList. This
accounts for ~10% of package loading time. I'm sure there is some history
to that
2006 Apr 08
6
Deploy with Capistrano Win32 -> Linux
Im trying to deploy with capistrano from win32 to Linux but no success.
I''ve been installed: cwRsync to ssh
I ran
rake remote:exec ACTION=setup --trace
and get:
Anyone knows how to get capistrano log ssh comunication?
Any idea?
Thanks
rake aborted!
End of file reached
c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.8/lib/net/ssh/transport/version-negot
iator.rb:51:in `readline''
2006 Mar 27
2
Capistrano deployment issues under Ubuntu Dapper
I''ve recently upgraded my box from Ubuntu Breezy to Dapper, and for
the life of me can''t figure out why I''m getting this exception thrown.
I''ve switched from Switchtower to Capistrano, and when I run rake
deploy I get this output:
** [update_code] exception while rolling back: NameError,
uninitialized constant Net::SSH::Transport::OSSL
2006 Jun 20
4
Prototype Array bug??
function CreateTOC(){
var $aTOC = document.getElementsByClassName(''tocitem'');
var $temp = '''';
if(isArray($aTOC)){
for($t in $aTOC){
$temp += ''t='' + $t + '', '' + $aTOC[$t].name +
''<BR>'';
}
$(''test1'').innerHTML = $temp;
}
}
When I run this code
2005 Dec 22
4
Switchtower problem - `sysread'': bignum too big to convert into `long'' (RangeError)
I''m trying to set up switchtower, following the info in the Manual,
but am getting this error when I run "rake remote_exec ACTION=setup":
servers: ["cantona.dnswatchdog.com"]
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in
`sysread'': bignum too big to convert into `long'' (RangeError)
from