Nice work guys... now i have the mamoth task of updating everything with the
new version!!!..
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "T.J. Crowder"
To: "Prototype & script.aculo.us"
Sent: Tuesday, September 01, 2009 10:23 PM
Subject: [Proto-Scripty] P
Hi Radoslav,
Thanks for reply, I have indeed did something very similar to this,
just some different terminology
plus i have wrapped the Form.Element.setValue method to fire
'value:changed' event too.
You might wanna do that too if you are initializing your form elements
with some default values o
Hi,
I just bumped into something unexpected and thought it might not be a
bad idea to share it with you..
I just read the post about the new prototype release (1.6.1). On the
bottom of the blog post there's a link to download prototype.js
(http://prototypejs.org/assets/2009/8/31/prototype.js).
I
Hi,
You're probably running into equality vs. identity (loose equality vs.
strict equality). The emerging standard for what Array#indexOf is
supposed to do uses strict equality (===), not ==, whereas previously
Prototype used loose equality. This is an issue with strings because
"mpg" !==
after Element removed from dom Element.Storage[uid] still exist?
--~--~-~--~~~---~--~~
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@googl
Hi.
Until tomorrow you can reproduce it with IEs and fitting hardware/
software-environments. (On a virtualBox-installation on a macosX I
could not reproduce it, on an Ubuntu with VMWare a colleage could,
another could with a native Installation):
Try
http://www.jungstil.de/akn/bundle.htm?bu=2023
Hi,
That's not a "...pared-down, self-contained example..." Please have a
look at Step 3 at the link[1] again, there's a _reason_ for going
through the process of creating the pared-down example.
[1] http://proto-scripty.wikidot.com/faq#xyzprob
--
T.J. Crowder
tj / crowder software / com
www.cr
Looks like this is fixed in 1.6.1.
Thanks,
~Jon
On Aug 29, 12:15 pm, "Jon B." wrote:
> I just "rediscovered" the bug described here
> --http://www.nickstakenburg.com/tests/viewportoffset/-- where
> viewportOffset doesn't work properly in Opera 9.5+. I also found the
> patch which can seemingl
Hi tweeZz,
thanks for sharing, but I think it's better to "save as" to a /path/to/
prototype.js.
--
david
On 2 sep, 09:47, TweeZz wrote:
> Hi,
>
> I just bumped into something unexpected and thought it might not be a
> bad idea to share it with you..
> I just read the post about the new protot
Hi Mojito,
it seems to be a problem on float and it's accuracy.
If the resulted value must be exactly defined (0.3 and not
0.30004), then you should do a small calculation to set it to the
correct value :
value = parseInt(value*100,10) / 100
--
david
On 1 sep, 22:51, Mojito wrote:
> I did
Is that a question? An observation? A bug report? What?
--
T.J. Crowder
tj / crowder software / com
www.crowdersoftware.com
On Sep 2, 11:10 am, Yaffle wrote:
> after Element removed from dom Element.Storage[uid] still exist?
--~--~-~--~~~---~--~~
You received this
Hi Hades,
try to find the style applyed to the element after the appear
function, and see what CSS property could be wrong, then set this
property before the effect.appear is launch.
This could be verified, but a lot of things could append.
If you'll have a live exemple, we could check what could
Hi Yaffle,
and on which prototype version ?
--
david
On 2 sep, 13:17, "T.J. Crowder" wrote:
> Is that a question? An observation? A bug report? What?
> --
> T.J. Crowder
> tj / crowder software / comwww.crowdersoftware.com
>
> On Sep 2, 11:10 am, Yaffle wrote:
>
> > after Element removed from
Since I expect it to be a race condition (pushing up the script node
which registered the function for "dom:loaded" some lines in the html-
source fixed the problem), and since it is only reproducable on
certain hardware/software-environments, producing a pared-down example
could take very long. I
Hi mau,
just a guess, because I do not have IE7 on my work computer.
If you set the filter opacity to a value in the CSS, does it wotk
better ??
--
david
On 31 août, 16:56, mau wrote:
> Hi, I've an issue with scriptaculous appear effect and IE 7, when I
> nest a div inside another div with d
Hi Gabriel,
which IE version have this behaviour ?
Have you a live exemple ?
--
david
On 29 août, 17:46, Gabriel Andrade wrote:
> Heyyy there guys, so here's my problem, and I guess a lot of you guys
> had the same problem once. When I set the element to be dragable, the
> border of my table d
Hi
How to call some action if content of the div element has changed?
I'm talking about something like this:
$("my-div").observe("change", function(e) {
alert("hello");
});
Expecting behavior:
I have this
some text
now I'm changing "some text" to "some other text" and "alert("hello")"
shoul
There's no reliable cross-browser event that gets fired when the
content of a DIV (as opposed to a form element, say) changes. One
thing you might try would be to have a PeriodicalExecuter running.
Have it compare a global variable with the current innerHTML of that
DIV, and if they don't
OK, let it be a bug report =)
I think, it's not good.
--~--~-~--~~~---~--~~
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,
There's a difference between primitives ("mpg") and objects (new String
("mpg")). The == operator allows for a *lot* of type coercion; the ===
operator is _supposed_ to be a strict equality operator including type
and so "mpg" !== new String("mpg") because they're different types.
See section
... latest version
--~--~-~--~~~---~--~~
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 unsubscribe from this group, sen
Does this msg imply that Scriptaculous 1.8.2 is thought to be
compatible with Prototype 1.6.1? If so, is that official? If not, I
hate to ask, but is there any estimate of when that might happen?
The big thing in Prototype 1.6.1 for us is better IE8 compatibility,
which I imagine is of interest t
Hmmm, even outside the indexOf() question, this is a bit creepy to me.
I hadn't previously tested, but these are all true, at least in
Firefox 3.5 and IE8:
"mpg" === "mpg"
"mpg" !== new String("mpg")
new String("mpg") !== new String("mpg")
new String("mpg") != new S
Ah, that's the missing piece, the difference between a string
primitive and a string object. Got it.
e
On Sep 2, 12:17 pm, "T.J. Crowder" wrote:
> There's a difference between primitives ("mpg") and objects (new String
> ("mpg")).
--~--~-~--~~~---~--~~
You receiv
What's the Prototyped syntax equivalent of:
window.frames['iFrameID'].document.getElementById
('elementInsideIFrame');
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to t
Thanks Walter!
I would like to avoid of using PE and global variable to store current
innerHTML. I thought that it will be quiet easy and any trick can help
me...
There is other way - hidden form field and prototype's observer. But
this solution doesn't satisfy me too.
Anyway, thanks.
On 2 Wrz,
Its a good question.
I asked it months ago and ended up havaing to use JQuery's find() to deal
with ajaxy saving of a html editor
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Mojito"
To: "Prototype & script.aculo.us"
Sent: Wednesday, September 02, 2009 7:2
I'm using the Ajax.Updater. I'm looking for the callback that is
executed after the server response text has been inserted into an
element. The server is inserting some form elements and I want to
apply Scriptaculous's inPlaceEditor to them. Which callback would
this be?
--~--~-~--~
I don't think there is one that fires afterward. If you function#defer a
function onsuccess it should have been completed after the defer timeout.
On Wed, Sep 2, 2009 at 3:11 PM, Mojito wrote:
>
> I'm using the Ajax.Updater. I'm looking for the callback that is
> executed after the server resp
I (Mojito) [don't know why my first post name differs from reply name]
have solved by issue. I was passing in strings with '\0' on their
ends. So 'mpg\0' does not equal 'mpg'. It was a nightmare to debug
because '\0' is invisible.
On Sep 2, 10:29 am, enigment wrote:
> Ah, that's the missing p
On Sep 3, 1:56 am, enigment wrote:
> Hmmm, even outside the indexOf() question, this is a bit creepy to me.
> I hadn't previously tested, but these are all true, at least in
> Firefox 3.5 and IE8:
[...]
> new String("mpg") !== new String("mpg")
> new String("mpg") != new String(
Let me first thank you for helping me differentiate the words
"function" and "method" . I mean really, perhaps 1 year from now, when
someone thank me for the same reason, I wouldn't think of it much, I
would think that the road ahead is still far for that person, which is
how I feel for myself. Bu
In my , I'm loading several JS files. I'm expecting this to
occur:
1) script1.js is loaded
2) script1.js runs - it creates an object
3) script2.js is loaded
4) script2.js runs - it creates a different object that depends on
script1's object.
5) and so on
This works perfectly in Firefox and
On Sep 2, 2:23 pm, Mojito wrote:
> What's the Prototyped syntax equivalent of:
>
> window.frames['iFrameID'].document.getElementById
> ('elementInsideIFrame');
Current version of Prototype doesn't really support programmatic
context extension (such as that of `window.frames['iframeID']` in your
If you need to garuntee that a variable,function or method exists i would
always wait until the dom is ready or in each function that gets called test
the function,variable or method exists else timeout untill it does
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
Fro
35 matches
Mail list logo