[mochikit] Re: CSS selectors

2006-10-06 Thread Matt Goodall

MochiKit + cssQuery have been my standard JS libraries for a while now
so it would be really good to see something like cssQuery in MochiKit.
Thanks for the effort so far!

My only real comment is on the packaging and naming.

At the moment it's MochiKit.Selector.findChildElements(element,
expressions). I think MochiKit.DOM.getElementsBySelector(expression,
element=document) seems more in keeping with the rest of MochiKit.

MochiKit.DOM because I'm searching for DOM elements and it fits nicely
alongside getElement and getElementsByTagAndClassName.

element as the last arg, defaulting to document, because it makes it
more consistent with getElementsByTagAndClassName and covers the
common usecase of searching the whole document.

expression because I can't think of a time I've ever called cssQuery
with multiple expressions.

Hope the feedback is useful. Thanks again.

- Matt

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[mochikit] Re: Back Button

2006-09-20 Thread Matt Goodall

On 9/20/06, m_waschkowski [EMAIL PROTECTED] wrote:
 I guess its not possible to just update the browser's history as you
 make an AJAX request eh? (I'm targeting IE and Firefox only)

dojo may do what you want. See
http://manual.dojotoolkit.org/WikiHome/DojoDotBook/DocFn1.

- Matt

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[mochikit] Re: Back, Forward best practice

2006-07-04 Thread Matt Goodall

Dojo's dojo.io.bind has some sort of support for the back button.

http://manual.dojotoolkit.org/io.html
http://dojotoolkit.org/docs/intro_to_dojo_io.html

Dojo also includes a generic undo mechanism in the dojo.undo.browser package.

http://manual.dojotoolkit.org/WikiHome/DojoDotBook/DocFn1

I've not used either so I don't actually know much about them apart
from what I read.

- Matt


On 7/4/06, Jorge Godoy [EMAIL PROTECTED] wrote:

 Johannes Beigel [EMAIL PROTECTED] writes:

  above). I didn't manage to get this whole thing work on Opera for
  example, so if someone would make a MochiKit implementation of such
  functionality that works on all of the MochiKit supported browsers
  that would be awesome!

 IIRC, there's one implementation in either prototype or dojo...  I dunno where
 it works, though.

 --
 Jorge Godoy  [EMAIL PROTECTED]

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[mochikit] Annoying line through image on mochikit.com

2006-04-28 Thread Matt Goodall
Hi,

I finally worked out what causes the line through the image on the home page.

Set a text-decoration: none style on the link inside the main header
and the world will be a slightly better place :).

- Matt

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[mochikit] Re: Annoying line through image on mochikit.com

2006-04-28 Thread Matt Goodall
Looks like my patch has been applied to the live site already so you
won't see it anymore.

All the computers here (all Ubuntu) showed the same thing, and I've
seen the same problem on another site. Unfortunately, that other
site is not live or I would point you at it to try it out.

Bob, thanks for applying the patch so quickly. It looks good now.

- Matt

On 4/28/06, Jorge Godoy [EMAIL PROTECTED] wrote:

 Em Sexta 28 Abril 2006 06:38, Bob Ippolito escreveu:

  What browser do you see that with?  I've never noticed it and I don't
  see it in Safari.

 Me neither with Firefox or Konqueror...

 --
 Jorge Godoy  [EMAIL PROTECTED]


 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[mochikit] Re: [patch] DOM.formContents select mutliple

2005-12-19 Thread Matt Goodall
On 19/12/05, Bob Ippolito [EMAIL PROTECTED] wrote:
  Last night, I noticed that formContents did not support select ...
  multiple=multiple elements. Actually, I don't think it was working
  for select at all on IE but I cannot check that right now.

I just confirmed that the current version does not work on IE at all.

 
  The attached patch adds support for multi select form elements and is
  working for single select elements too. AFAICT, other behaviour is
  unchanged.
 
  I've tested on IE 5.5, IE 6. Firefox 1.07 and Safari 1.3.1 and,
  AFAICT, is working fine.
 
  Note: formContents has a slight difference in behaviour across
  browsers. Some send the submit button(s) in the query string; some
  don't. Is that an issue?

 The patch looks good, but it might be a few days before I have time to
 apply it.  The patch's chance at making it in would be significantly
 improved if it ended up in a ticket at http://trac.mochikit.com/ -- my
 laptop is in the shop and I have thousands of messages piling up in my
 inbox since my mail filters are client side...  In other words, the patch
 will probably get lost if you don't.

http://trac.mochikit.com/ticket/26