Displaying 20 results from an estimated 2000 matches similar to: "Where to report prototype bugs?"
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 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'')
2008 Feb 18
6
inheriting static/class methods with new prototype.js class creation
Hey all.
I want something like this to work:
var Foo = Class.create();
Foo.myStaticMethod = function(){alert("I''m a static method!")};
Foo.myStaticMethod(); // works
var f = new Foo();
f.myStaticMethod(); // doesn''t work, but that''s good--I don''t want it
to
var Bar = Class.create(Foo);
Bar.myStaticMethod(); // doesn''t work, undefined :(
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
2007 Dec 03
3
DOMContentLoaded error on IE6
Hi,
I am loading prototype dynamically using the following js:
var scr=document.createElement(''script'');
scr.setAttribute("type","text/javascript");
scr.setAttribute("src","./static/js/lib/prototype.js");
document.getElementsByTagName("head")
[0].appendChild(scr);
on IE6
2008 May 24
5
TypeError : transport.responseText has no properties
Hello all,
I''m using prototype in conjunction with Extjs to build out an Ajax-
driven app. I''m noticing that occasionally there will be Ajax
Requests that will occasionally not complete. After some
investigation, I found that when I made a call to String#evalJSON, it
would throw a TypeError with the following message :
transport.responseText has no properties.
When this
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)
{
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 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
2008 Apr 24
4
Scriptaculous Help (page exit effects)
I was wondering if it was possible in Prototype/Scriptaculous to run
an effect when a link is clicked, then go to that page, or if it was
possible to have an effect run when the page unloads.
I have tried <body onunload="new Effect.Fade("whatever");> and some
prototype page exit events, could get a alert("") function to work,
but not the effects. Any ideas?
2007 Dec 08
2
Assigning submit handler to form
Hi folks,
A quick question for somebody. I''m adding a simple validation JS to my
form by attaching it like so:
$(''my_form'').observe(''submit'', function(e) { return
view_ns.validate_form(Event.element(e)); });
The validate_form() function returns true or false. But regardless of
it''s return value, the form is always submitted. ''sup wi
2008 May 01
3
Adding script line give errors Help!
I am trying to add this script
<script language="javascript" type="text/javascript" src="http://
www.expedia.com/pubspec/scripts/storefront/expe.sf.vertical.350.asp?pid=&aid="></script>
To my idex page and it give me errors, when I delete this line <script
src="js/lightbox/prototype.js" type="text/javascript"></script>
2008 Apr 18
5
show sum of textboxes
Hi all,
I have multiple textboxes containing numbers. I want to add up all the
numbers and show the sum. Can I select the textboxes by class and sum
the content?
This also has to happen realtime: when a number is changed ina textbox
the sum should also change.
can this be done?
regards,
Stijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2008 Mar 25
4
Prototype: toggle() not supported on TD in IE?
The following line causes trouble both with IE 6&7:
cels[i].toggle();
It tells me that this element does not support the property or method.
The element is a cell (TD) which I checked by outputting the tagName
and it works with FF, Opera and Safari.
The IE script debugger stops at this line but I didn''t find a single
posting on the net with a similar problem which is kind of strange.
2008 Mar 22
4
Ajax.Updater not fully work in IE7
My code snapshot: correct work in FF , Opera and Safari, but in IE7 -
isn''t return result
<form action="test.php" method="POST">
<div id="country" style="border: 1px solid #ccc; width: auto"></div>
<br/>
<a href="javascript:getTest()">test</a>
</form>
<script
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;
2008 Apr 14
2
transport.response is truncated
hi - i have a randon but recreatable problem whereby my
transport.responseText seems to get truncated. I have tried swithcing
btwn onSuccess and onComplete buit it happens on both.
As i said it''s totally random.
any ideas ?
what other info di i need to provide ?
many thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to
2008 Jun 16
2
Selecting radio group from element
I have a single radio button element (which is passed in via an
Observer) and I want to detect if ANY of the radio buttons in it''s
group are checked.
How can I query all the radio buttons on the page in it''s group with
just the element?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2008 Apr 28
3
How to pass variable to $$()?
Hi all,
I want the $$() method to take the selector as an variable. See
below, I am trying to pass the class name as javascript variable so I
can write a generic function in my application but $$() returns
nothing for the following line
var currentHightLightGroup ="amountsFields";//This one comes as a
function parameter