> It might be new in the context of all versions of IE, but it can
> hardly be a new bug in a browser that hasn't been released yet. ;-)
*Obviously* I meant new to the IE line. (And IE8 was released on
Thursday, although Microsoft's own Internet Explorer home page is a
bit divided about it...)
Hi,
The problem is here:
> for(s in allDivs)
The "for..in" construct isn't for looping through the elemnts of an
array (although lots and lots of people have been mislead into
thinking it is!), it's for looping through the properties of an
object. Details, an explanation of why those loops beh
Hi there,
First of all, I have been working now with prototype in combination
with scriptalous to create some animations on my website and it's
working great and very simple!
But, I just discovered that by including the prototype.js &
scriptalous.js, the function shown below doesn't execute prop
Oooh - don't say there's a post I can answer...
At 02:12 -0700 23/3/09, jazzylicious wrote:
>I might get some replys with: So you do use prototype, but don't use
>it for everything??? I just couldn't find a way to do the same thing
>in prototype.
...
>var allDivs = new Array
>("divreferenties",
Great, thanks for the super duper quick replies
--~--~-~--~~~---~--~~
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 prototype-scriptaculous@googlegroups.com
To un
Hi,
I use an Ajax request for posting my form. The response of this
request is a string which contains HTML "..". This html represents a row of a , my
goal is to add this row to my table. So I use this code:
firstRow = $('msg'+colorIndicator);
response = xhr.responseText;
firstRow.insert
Hi Jochem,
You definitely want to look into the following functions:
http://www.prototypejs.org/api/enumerable/invoke
enables you to hide multiple elements at once, e.g.:
$$(".referentie").invoke("hide"); // works if you'd add
class="referentie" to the div elements you want to hide
And instea
Hi,
Internet Explorer can be difficult about adding to tables using
strings, but the current version of Prototype (1.6.0.3) has code to
deal with it for you. Are you using 1.6.0.3? If I have a table with
a row in it with the id "rowbefore", this code works fine for me on
IE7:
$('rowbefore'
2009/3/20 Szymon Wilkołazki :
>
>
> 2009/3/20 Jeztah :
>> After a little playing ove the last couple of days i came up with a
>> nice easy way of shrinking many js files on the fly into 1 file ...
>> this will speed up load time heavily on heavy javascript loaded
>> sites . the code is php an
anyone got some idea?
Its bug or i do something wrong?
--~--~-~--~~~---~--~~
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 prototype-scriptaculous@googlegroups.com
Hi G. Sharon Yang,
go to the specific page: http://wiki.github.com/madrobby/scriptaculous/demos
ity refers to all previous demo, puzzle, shopping cart, effects, ...
btw, dead link should have been removed.
--
david
On 19 mar, 17:39, "G. Sharon Yang" wrote:
> yes, I know that link in github. I
2009/3/21 T.J. Crowder :
>
> Hi,
>
>> hmm, well, links[0] is returning a string, not the a object...
>
> No, it isn't. Richard already answered your question: Your alert
> coerces the object into a string, which implicitly calls the toString
> method on it, which (in the case of a link) returns
Does anyone know about a fix for this problem: Prototype.js event.stop
(event) FF2 not working (http://www.ruby-forum.com/topic/146797) ?
I have encountered this bug while migrating to Prototype 1.6.0.3
The error appeared in FF2.
It works fine in IE6, and I am not sure about FF3 or Chrome.
What
Hi,
I definitely successfully used Event#stop with FF2 in Prototype 1.6 at
some point. Can you post a minimalist, but complete, example
demonstrating the problem? (Perhaps to Pastie[1])
[1] http://pastie.org
> which seems to add dummy function if we use IE.
Not so much *dummy* functions, as
Being a good citizen, I changed:
$('venform').onsubmit = venFormHandler;
to:
$('venform').observe ('submit', venFormHandler);
However, venFormHandler() has a 'return false;' at the end (it runs
an Ajax script and shouldn't submit the form conventionally), and
this no longer works. I can't qu
in the form tag, add onsubmit="return false;"
or if you want to keep it clean, in your js...
document.observe('dom:loaded', function () {
$('venform').setAttribute('onsubmit','return false');
});
this isn't tested, but give it a try
Rick
-Original Message-
Date: Monday, March 23
Hi Chris,
When you hook up the handler with Element#observe, it will get passed
the event object as its first parameter (even on IE). Simply call the
stop()[1] method on that object instance, e.g.:
function venFormhandler(event) {
event.stop();
/* ...do your ajaxy goodness... */
}
[1
At 06:41 -0700 23/3/09, T.J. Crowder wrote:
>function venFormhandler(event) {
>
> event.stop();
>
> /* ...do your ajaxy goodness... */
>}
That's the one! I was trying to be too complicated.
Thank you.
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
A censor is
Hi,
Just noticed that if a draggable element uses a percentage in the
style for 'left', a couple things don't seem to work right.
http://ussda.demosphere.com/common/js/ps1.8.2/
prototype.js" language="JavaScript" type="text/javascript">
http://ussda.demosphere.com/common/js/ps1.8.2/
s
Sorry, I forget to write de prototype version I use. This is the
1.6.0.3.
My test is on IE 7. firstRow and response are good.
I will continue to investigate the issue...
On 23 mar, 11:47, "T.J. Crowder" wrote:
> Hi,
>
> Internet Explorer can be difficult about adding to tables using
> strings,
Hi, all, My use the prototype from
http://www.prototypejs.org/assets/2008/9/29/prototype-1.6.0.3.js
. I use the getDimensions function to get the size of the windows like
this
Get The Width And Height Of The Browser
function on_window_resize() {
var size = doc
I was very happy to see this posted. I am having the exact same
problem. Things seem to work fine in IE8's "Compatibility View." But,
when I turn compatibility view off, I have the same problem you're
describing here. Has anyone found a solution?
On Feb 2, 8:31 am, Surendra Singhi wrote:
> H
yes there is a bug somewhere ... i was doing something the other day that
required it.. and my work around was
var dims=$(document.body).getDimensions();
this seemed to work well with all browsers i tested on
(ie7,8,FF3,FF2,Safari -Win,Opera9)
HTH
Alex
- Original Message -
thanks guys, that makes sense. I hacked around w/ it and found that
the issue I'm running into was based on 2 things:
1. I'm selecting "gallery" as a class instead of an id (syntax error)
2. I'm running into an issue w/ IE in which I can't overwrite the
onClick attribute.
#2 isn't shown in this
...long story as to why I need to do this, but I have a set of links
that already have onClick event handlers set and I need to overwrite
them. If I could just get them to return false and do nothing else, I
could use the observe method to the the rest. Below is an example of
what I mean:
The f
Hi all,
I hope you can help. I have a bug when adding a value to my sortable
list - it all works fine when data is present in the 2 text boxes, my
issue is when there is no data.
When the 2 text boxes are empty and I press the button to submit
nothing happens UNTIL I enter any value into the bo
26 matches
Mail list logo