Hi Jan,
Doh! Fixed now. The wiki was still marked private, and so the system
wasn't letting you go to the second page. (It's not meant to require
membership just for *viewing*.)
Fixed now, sorry for the hassle!
--
T.J. Crowder
tj / crowder software / com
On Oct 8, 8:22 am, Jan Hansen [EMAIL
Hi,
Object.clone is documented as being a shallow copy:
http://www.prototypejs.org/api/object/clone
Deep cloning is more complicated than it seems at first. A naive
version would be along these lines:
Object.extend(Object, {
deepClone: function(source) {
var result;
var
Hi Richard,
Seems you need higher permissions to edit!
Just click the join link on the front page (or click link below).
Only site members can edit. Joining the site is separate from joining
WikiDot.
http://proto-scripty.wikidot.com/system:join
This (like moderating initial posts here) is to
Given the recent blog post from the prototype core, is this wiki going
to be endorsed by the core?
We don't need them specifically to be controlling it, as the whole
notion of a wiki is community contribution, but this is very long
overdue, and I fear that unless you get core support, it will
Hello,
i get an error message in FF while using tinMCE editor (latest
version). Output looks like
too much recursion
[Break on this error] return this.bodyElement || this.getDoc().body;
tiny_mce_src.js (line 7881)
too much recursion
[Break on this error] var t = this, ed = t.editor, b = ed.g...
Hi,
I'd like to use the BlindDown and BlindUp effects in a single
javascript wrapper.
The script would detect the current state of the element and apply
either the BlindDown or BlindUp effect accordingly.
ie
if its down, apply Up
if its up, apply Down
However, I can't find any way to detect
Sorry, fixing the subject line -- I seem to have left off an important
bit!
-- T.J. :-)
--~--~-~--~~~---~--~~
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
2008/10/8 T.J. Crowder [EMAIL PROTECTED]:
Sorry, fixing the subject line -- I seem to have left off an important
bit!
-- T.J. :-)
Seems you need higher permissions to edit!
Permission error
Oooops!
Sorry, you can not edit this page. Only members of this site, site
administrators and
On Oct 7, 7:42 pm, Hector Virgen [EMAIL PROTECTED] wrote:
Is there a Prototype way to get the descendants of an element that are only
text nodes? Element.descendents() only returns elements. Thanks!
-Hector
It's neither Prototype nor part of a published API, but I have noticed
that
If it's visible, then it's been BlindDown'd. BlindUp removes the
element from view. So a simple test for yourElement.visible() should
do the trick.
Walter
On Oct 8, 2008, at 9:08 AM, Garreth wrote:
Hi,
I'd like to use the BlindDown and BlindUp effects in a single
javascript wrapper.
This might not work in IE, as IE doesn't return textnodes in childNodes.
/Søren
On 07/10/2008, at 21.24, Hector Virgen wrote:
Thanks! That should do the trick :)
On Tue, Oct 7, 2008 at 12:12 PM, Justin Perkins [EMAIL PROTECTED]
wrote:
I think you will need to use the native methods to
True use-cases for deep-cloning are actually pretty rare.
When bumping into such an issue, it's usually a good idea to look for
a better coding pattern rather than to add complexity, augment memory
consumption and worsen the performance by bringing out the big guns.
I'm not sure what you are
Heya,
Given the recent blog post from the prototype core, is this wiki going
to be endorsed by the core?
You never know. I actually hadn't seen Andrew's post before setting
it up; we were both probably responding to the same issues.
I suspect it'll totally depend on what their own plans
Regarding Intellisense in IDE's how does the planned PDoc tie into the
OpenAjax initiative?
- Søren
On 08/10/2008, at 16.28, Brian Williams wrote:
Since M$ is going to support jQuery in VS, perhaps we, the
community, could start an initiative to develope a plugin for
Eclipse to
Maybe there's a better way to approach my problem.
I have a nested unordered list that contains an image (icon) and some text
in each LI. I want to extract just the text part of the LI without the
image.
ul
li id=fooimg src=icon.png alt= /Foo/li
li id=barimg src=icon.png alt= /Bar
you could put the text in a span element that should make it loads easier
On Wed, Oct 8, 2008 at 11:31 AM, Hector Virgen [EMAIL PROTECTED] wrote:
Maybe there's a better way to approach my problem.
I have a nested unordered list that contains an image (icon) and some text
in each LI. I want
Can you create a simple page that displays this problem? It is very
hard to debug/view your code on the live site.
Also, at this point I consider Chrome a novelty but obviously you want
things to work in IE and Safari might be a priority too.
-justin
In Safari, when I change the first drop-down, the second and third
drop-downs are updated but the second one remains disabled. Is that
your intention or is that the bug you are describing?
-justin
--~--~-~--~~~---~--~~
You received this message because you are
On 8 okt, 18:36, Mondane [EMAIL PROTECTED] wrote:
On 8 okt, 17:52, Justin Perkins [EMAIL PROTECTED] wrote:
Can you create a simple page that displays this problem? It is very
hard to debug/view your code on the live site.
Also, at this point I consider Chrome a novelty but obviously
Correction (but still untested):
$$('a.ajaxable').invoke('observe', 'click', handleAjaxClick);
-Hector
On Wed, Oct 8, 2008 at 11:09 AM, Hector Virgen [EMAIL PROTECTED] wrote:
I'm not sure how you'd do this with CakePHP's helper, but I think the basic
idea is you want to set up an observer for
Thanks for the all of the suggestions. Any chance something like this can be
added into Prototype for cross-browser compatibility and ease of use?
-Hector
On Wed, Oct 8, 2008 at 10:57 AM, solidhex [EMAIL PROTECTED] wrote:
You can also use Prototype's methods for removing white space,
I really need to have a separate copy of an object - they are small
and it needn't to have heavy computations and consume a lot of memory
On 8 окт, 17:16, T.J. Crowder [EMAIL PROTECTED] wrote:
True use-cases for deep-cloning are actually pretty rare.
I'll second that.
I'm not sure what
Walter,
I had given up on this and switched to jQuery's version of
autocompleter, but seeing how I hate jQuery I'm back at it again. I'm
working with my SAs to get Firefox/Firebug installed to take a peak
behind the scenes.
I just noticed that hitting any non-character button also seems to
Example of what HTML looks like if a user chooses to add 3 channels:
tr class=records
td align=leftinput type=checkbox class=form name=addch[]
value=0 checked/td
td align=leftinput type=text class=form
name=hlp_chan_num[] size=5 value=2/td
td align=leftinput type=text class=form
The problem is that each of your input boxes have the same ID. All instance
of the Autocompleter are being attached to that ID, and the DOM only returns
the first one.
On Wed, Oct 8, 2008 at 12:42 PM, kevandju [EMAIL PROTECTED] wrote:
Example of what HTML looks like if a user chooses to add 3
This is why i'm using the paramName function, because they all have to
be the same for them to be in a loop.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group,
Hector,
Thank you so much!! I'm so glad I finally posted this problem on
the forum. It worked perfectly. Not sure how I ever had this working
before, I must have done something similar in the past and removed it.
--~--~-~--~~~---~--~~
You received this
Hi jmanry,
I don't know if this can help you, but if you use a deferred or
delayed function when trying to change the left value, or class, like
this:
onEnd: function(draggable, event) {
(function() {
$(this).setStyle({ left:
whatever }).addClassName('whatever');
The DOM methods for manipulating text nodes are pretty fail safe these
days, once you clean up the white space. If you're creating the HTML
chunks dynamically, it's much easier to use insert and update methods,
but for cases where you need to access existing text nodes, Prototype
currently
29 matches
Mail list logo