[mochikit] Sortable Tables - when I click in a column

2007-01-23 Thread Adriano

In this example,  Sortable Tables ,
http://mochikit.com/examples/sortable_tables/index.html

I am trying to do this, when I click in some column, it does not
sortable.

I have some table with 4 column, but when I click in the 3ยบ column, he
can be sortable.

I try put some td on the contrary of the th, but he not works.

How can I make this works?

Sorry about my English.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] appendChildNodes Oddity

2007-01-23 Thread claypipe

___Newbie (with Mochikit) warning___

I am asynchronously updateing a page.

I create a  div element divnode.  Then I want to add content to this.

I have found that if I do
newelement1 = ...
newelement2 = ...
newelement3 = ...

appendChildNodes(divnode,newelement1, newelement2, newelement3);
swapDOM(targetnode, divnode);

it behaves nicely.

If I do
newelement1 = ...
appendChildNodes(divnode,newelement1);
newelement2 = ...
appendChildNodes(divnode,newelement2);
newelement3 = ...
appendChildNodes(divnode,newelement3);
swapDOM(targetnode, divnode);

It does something, but the new elements do not appear.

Is this a known gotcha?

(I am using Firefox 1.5.0.9.)

Claypipe


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] Re: DomContentLoaded?

2007-01-23 Thread troels knak-nielsen

I'm using the code from
http://webreflection.blogspot.com/2006/09/better-domcontentloaded.html

Works like a charm AFAIK.
-- 
troels

On 1/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I see that the ticket for a DomContentLoaded signal
 (http://trac.mochikit.com/ticket/192) has been moved to the 1.5
 milestone.  I'm a bit disappointed, because I was eager to use this!
 I may add it myself in the meantime, so I'm wondering -- are there
 complications, perhaps cross-browser issues, that make this a trickier
 issue than it seems?

 js


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] Re: DomContentLoaded?

2007-01-23 Thread Jacob Smullyan

On 1/23/07, Bob Ippolito [EMAIL PROTECTED] wrote:
 On 1/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  I see that the ticket for a DomContentLoaded signal
  (http://trac.mochikit.com/ticket/192) has been moved to the 1.5
  milestone.  I'm a bit disappointed, because I was eager to use this!
  I may add it myself in the meantime, so I'm wondering -- are there
  complications, perhaps cross-browser issues, that make this a trickier
  issue than it seems?
 

 It doesn't have any tests or documentation attached to the latest
 patch, so I don't know if it works or not. The original patch
 definitely had compatibility issues. It'd be a liability to try and
 get it in there when we're trying to wrap up the loose ends of this
 release (with little time to spend on it).

Thanks, that makes sense to me!

-- 
Jacob Smullyan
office: 212/669-3230
mobile: 917/576-5274

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] Re: appendChildNodes Oddity

2007-01-23 Thread Bob Ippolito

On 1/23/07, claypipe [EMAIL PROTECTED] wrote:

 ___Newbie (with Mochikit) warning___

 I am asynchronously updateing a page.

 I create a  div element divnode.  Then I want to add content to this.

 I have found that if I do
 newelement1 = ...
 newelement2 = ...
 newelement3 = ...

 appendChildNodes(divnode,newelement1, newelement2, newelement3);
 swapDOM(targetnode, divnode);

 it behaves nicely.

 If I do
 newelement1 = ...
 appendChildNodes(divnode,newelement1);
 newelement2 = ...
 appendChildNodes(divnode,newelement2);
 newelement3 = ...
 appendChildNodes(divnode,newelement3);
 swapDOM(targetnode, divnode);

 It does something, but the new elements do not appear.

 Is this a known gotcha?

That code doesn't make any sense. How about posting some actual code
that someone can run and let us know what you expected it to do.

-bob

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] Re: DomContentLoaded?

2007-01-23 Thread Bob Ippolito

On 1/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I see that the ticket for a DomContentLoaded signal
 (http://trac.mochikit.com/ticket/192) has been moved to the 1.5
 milestone.  I'm a bit disappointed, because I was eager to use this!
 I may add it myself in the meantime, so I'm wondering -- are there
 complications, perhaps cross-browser issues, that make this a trickier
 issue than it seems?


It doesn't have any tests or documentation attached to the latest
patch, so I don't know if it works or not. The original patch
definitely had compatibility issues. It'd be a liability to try and
get it in there when we're trying to wrap up the loose ends of this
release (with little time to spend on it).

-bob

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] Re: Executing javascript in an AJAX page

2007-01-23 Thread Aragorn450

Ok, so I modified my _graph.rhtml so that it only outputs JavaScript,
and then just loaded that via the DOM into the head of the document.
Thanks Tom for your insight, I was just having some issues with
understanding what could and could not be done (and you told me that,
basically, I couldn't do what I wanted to do.

If anybody wants some of the code I wrote, I'll be happy to post.
Basically, I'm doing dynamic loading of the JavaScript files (including
the _graph.rhtml output) via AJAX and then loading them into the
document via the DOM so that they're available for later use on that
page. Certainly keeps the initial page load time much lower and lets me
load all the JavaScript code I could ever need.

Thanks again for your help,
Charlie


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---