Displaying 20 results from an estimated 9000 matches similar to: "inheriting static/class methods with new prototype.js class creation"
2008 May 19
6
obtaining table cell text data
I''m writing some code to subset a table based on the contents of
particular columns. My event handler starts off like this:
subsetChange: function(e) {
var subset = $F(''subsetSelector'');
var rows = $$(''.content-row'');
rows.each(function(row) {
var value = row.down(''.Platform_Category'').childNodes[0].data;
2007 Oct 25
5
A new JavaScript Framework based on Prototype and Scriptaculous : Archetype
After several months of development, we are proud to announce you the
first public release of Archetype JavaScript Framework (License MIT,
version 0.1)!
Archetype is a JavaScript framework. It''s not a simple toolkit, but a
real framework which affects the way you code in JavaScript. Made on
top of excellent libraries as Prototype and Scriptaculous, it aims to
ease development of real
2007 Sep 18
4
Prototype.js and Multidimensional Arrays
Hi there,
this code works only fine , if i dont embedding the prototype.js in my
document:
<script type="text/javascript">
var myCheckBox2 = new Array();
myCheckBox2[''Ort''] = new Array("hamburg","berlin","hannover");
myCheckBox2[''Art''] = new Array("programmierung","support");
2008 Mar 07
6
creating a model registry
Hi all,
This is a problem I''ve approached so many times and always worked
around, that now I want to solve it once and for all. Say I have
something like this:
---
class X < ActiveRecord::Base
acts_as_wacky
end
module Wackinator
class ControlAllWackos
@@wackos = []
def self.kill_wackos
@@wackos.each(&:kill)
end
end
def acts_as_wacky
2008 Jun 09
3
Prototype + Chess !?
Not sure how many of you saw this article =>
http://www.prototypejs.org/2008/5/28/an-interview-with-piotr-dachtera
but Chess.com is looking for 1 more JavaScript guru to help build out
Chess.com Live Chess! We need help optimizing the javascript libraries
we are using, etc. Please email chessdev=>gmail if you are interested.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You
2007 Feb 22
7
Serializing non-ascii characters
Hello, I''m new to the Prototype Framework.
I''m trying to serialize a simple form with a few checkboxes.
It seems like non-ascii characters, like Ö, are not encoded properly
in some cases.
Please take a look: http://troxy.net/serialize.htm
Checking both boxes gives the following string:
namn=%25C3%25B6rjan&namn=adam
..while it should look like this:
2007 May 13
2
prototype - get inputs()
hi,
i have the following function which is not working for me:
function uploadimg (theform,ajaxAction,ajaxTarget){
var imgDesc = theform.getInputs(''page1'', ''text'',''imgDesc'');
alert(imgDesc[0]);
defaultAction=theform.action;
defaultTarget=theform.target;
theform.action=ajaxAction;
theform.target=ajaxTarget;
theform.submit();
2007 Nov 12
15
If form changed ask if you really want to exit page...
First things first: Hi all! I''ve been sucked into prototype and
script.aculo.us develpment thanks (because of?) the Symfony PHP
framework...
I''d like to implement a feature on some admin pages, but I can''t seem
to find the right search term to google it; I want to ask the user to
confirm exit of a page, if she has changed anything on the forms
displayed on it.
I have
2008 May 30
7
Styling an Anchor Tag With Prototype
I have a question: How do you style the various components of the
anchor tag? I am doing it this way:
$$(''a:link,a:visited'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp4_Hex'') });
});
$$(''a:hover'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp5_Hex'')
2007 Dec 09
5
capturing arrow keypress on IE7 with Prototype 1.6 doesn't work?
Hi!
does anyone know a fix for this?
in FF and Opera everything is fine, but in IE7 arrow keys are ignored.
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
2006 Dec 14
17
Should Event.stopObserving() remove itself from cache?
Just wondering why Event.stopObserving() doesn''t remove the itself from
the Event.obervers array?
Is there a reason for this?
--~--~---------~--~----~------------~-------~--~----~
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
2008 Apr 16
3
non-bubbling mouseover/mouseout
First, I have only played with Prototype for about a month, so I don''t
know it well. Second, I am more of a server-side programmer than a
client-side programmer.
In my page, I have a div that appears as a result of a link mouseover
event. This div is nested within another div that houses everything
(id = ''menuContainer''). I want the resulting div (which is a submenu)
2007 Sep 03
10
My JS doesn't run only with IE
Former excuse me if that''s not the most appropriate place where to ask
this question!!!
Latter: hi! ^^
At this link (http://melive.freehostia.com) I''m developing a project
in my rare spare time.
I''m loving Web 2.0 and I hope it will become my work in a near future
(after this damn University LOL).
Never mind I have and huge problem.
I developing on a Mac using
2008 Jun 20
5
About prototype.js and xml dom
Hello,
I''m looking for a cross-browsers library based on prototype.js that
wraps XML dom.
I tried to extend XML dom elements by using Object.extend and
Element.extend without success.
It works fine with firefox (Object.extend) but don''t work with IE
(msxml).
I suppose that IE objects are not ''prototype based'' objects.
Is there a way to go around this issue like
2008 Jun 19
7
getDimensions() fails for elements with ancestors with display: none
Prototype v1.6.0.2
If any of an element''s ancestors are hidden, Element.getDimensions()
returns misleading values. In order to address this in my own project,
I made the following modification:
getDimensions: function(element) {
element = $(element);
var display = element.getStyle(''display'');
+ var hiddenAncestor = element.ancestors().any(function(e)
{
2006 Nov 23
3
Prototype Safari onSubmit Issues
Hi folks. Another Prototype question.
I have a simple ajax form which I want to return results on an
onChange. Works in IE6 (Win) and FF, but Safari doesn''t seem to take
the onChange too well. Upon the return key, it blanks out the form.
Upon tabbing to the next field (actually the next form), I get the
results.
<form name="form1" id="form1"
2008 Jan 14
13
prototype/script.aculo.us ecosystem
Recently errtheblog (http://errtheblog.com/) put up a nice post about
jQuery. Putting aside all the assertions about cleaner code and fewer
lines of code than with Prototype, the one thing that struck me from
his (and others'') writing and from direct inspection is this: jQuery
seems to have a more of an ecosystem surrounding it. That is, more
plugins, widgets, locked-and-loaded
2008 Apr 21
2
Using Prototype Scripts and Google Spider?
Hey... Curious if you anyone has any experience with how Google Spiders
index content that is served via a Ajax Call... just curious, cause this
would have some impact on whether I would not i would use ajax in for
somethings
--
Joe Harman
m
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Jun 04
1
Where to report prototype bugs?
Having posted this ;-
http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/f4a18442e59d87f2?hl=en#
and got no response, I figured I should report this as a bug so the
devs will see it.
Is there a link for a bug log?
jam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Feb 15
2
Where to report typos/bugs in the Prototype API online docs?
I was wondering where to report typos/bugs for the Prototype online
API docs (http://prototypejs.org/api)? Seems a bit overkill to submit
typos to the Rail Trac - but perhaps that''s the correct place?
Additionally, the website indicates that this documentation is written
in Markdown. Is the documentation from which the online API is
generated in SVN? I saw a documentation branch