I am running prototype.js RC3 in IE8 within a Radiant CMS. It seems
that I am getting the following error on line 598
'null' is null or not an object prototype.js, line 596 character 5
this is in the Enumerable Function:
var Enumerable = {
each: function(iterator, context) {
var index =
Check the script that is calling it.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: stegel ritp...@gmail.com
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Tuesday, July 28, 2009 2:59 AM
Subject: [Proto-Scripty] Error in IE8
I
Hi,
thank you for this hint. Didn't actually solve my problem but a way to
improve my code =)
Solution for my problem:
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/154cb11c642020f6#
On 27 Jul., 16:47, Diodeus diod...@gmail.com wrote:
Don't use the onload event in
This solves my problem perfectly. Thank you
if ($('foo')) new Effect.Highlight('foo');
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to
Afternoon guys
Is it possible in javascript to give out 2 answers to a tenary
opertor (doesnt make sense i know - see below)
function foo(arg) {
return ($(arg)) ? true : alert('Element Does not exist');false;
}
...
(wrapped in window loaded function)
foo('baz');
In my usual Not enough coffee moments i just used an If/Else instead lol
Not sure why i was trying to cut code using a tenary ...
We live and learn
Sorry for useless post
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: Jeztah webmas...@thecarmarketplace.com
Hello everybody,
another day - another problem :)
Due to the design of my project it is nessesary to manipulate the DOM-
Structure of the ghost created by the new Draggable function
ghosting:true
like in
this.Dragger = new Draggable($(this.widgetToolId),{revert:
Hi, T.J.
Thank you for the explainnation. It's very clear.
best regards,
Lin
On Jul 17, 12:18 am, T.J. Crowder t...@crowdersoftware.com wrote:
Hi Lin,
this.initialize(arguments) would call the initialize method and pass
in an array of arguments as the first and only parameter to the
Most scripts on a page are evaluated by the interpereter first.
COmment out all of your functions and see if its still happening
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: stegel ritp...@gmail.com
To: Prototype script.aculo.us
Hi everyone,
I'm new to scriptaculous and javascript. I've followed the examples
on
scriptaculous web site, but I can't find any examples implement the
events
without them being links, such as when the page loads.
currently what I'm trying to do is make a block of text fade in on the
page
when
document.observe(dom:loaded, function() {
// initially hide all containers for tab content
$$('div.tabcontent').invoke('hide');
});
Note: you can of course do anything you want in that function. The
function runs when everything is loaded and available to javascript.
On Tue, Jul 28, 2009
Hi
I page with multiple elements each of which are highlighted
(individually) onclick.
I would like the morph effect to be removed from the previous element
when a new one is clicked (highlighted).
I won't know what the id of the previous element was though, is there
a way to achieve this?
After I updated my firefox to version 3.5 my running code started to
not run and
i have an error from firebug (An invalid or illegal string was
specified code: 12) on prototype.js version—1.6.1 RC3 line 3342
in my code, code stop running on using Element.select function when I
get this code
Hello, I have a form http://spanglerdesign.com/test/glucocard/enrollment.php,
and when I hit the submit button in ie7 and below, I get an error message
saying Object doesn't support this property or method. I have tried versions
1.6.1 rc3, and 1.6.0.3.
It breaks on the line:
Why don't you use an array to store all of the elements that have been
clicked and treat it like a queue?
--
From: Andrew Dodd a...@slicethepie.com
Sent: Tuesday, July 28, 2009 7:02 AM
To: Prototype script.aculo.us
Make sure that this object is extended by Prototype before you ask for
any of the Prototype goodies. IE has this habit of not following the
prototype chain (small p prototype, that is) up to find the methods
that Prototype puts there. If you modify your code thusly:
if( !
Hi list
I have the next code, but how can be made better?
var i;
var suma=0;
var valor;
for(i=1; i=24; i++){
valor=$F( 'quincena_'+ i).strip();
if(valor!='' !(isNaN(valor))){
suma+=parseFloat(valor,10);
}
17 matches
Mail list logo