I decided to post what I thought about using Sizzle:
http://www.garrickcheung.com/mootools/implement-other-selector-engines-eg-sizzle-or-peppy-into-mootools/
Aaron, Aaron, he's our man, if he cant do it, no one can!
On Dec 2, 7:57 am, Aaron [EMAIL PROTECTED] wrote:
I mentioned this in this relevant thread
already:http://groups.google.com/group/mootools-users/t/ccf8ec6c80b4f22
But I figured I'd post a thread of its own here. This new class allows
Please dont use a p tag as the container, and then do manipulations on
it.
Use a div
On Dec 4, 2:49 pm, ben [EMAIL PROTECTED] wrote:
again a question... I'd like that the scroll stop where it is when the
mouse goes out...
is it possible?
I've tried this code:
var scroll = new
Anyone know what happened to mooscripts.com? There were a lot of good
mootools scripts there.
Which field are you talking about?
Is it $('indicator')?
If yes, you are changing the visibility to hidden, and i think it's
ignoring hidden fields.
On Dec 3, 1:04 am, Dailce [EMAIL PROTECTED] wrote:
I have a form, and I am using formcheck to validate the fields (http://
@steve:
Mootools has created it's community from what it is, not from what people
want. I honestly don't think having a different selector engine is going to
make or break choosing a framework. Aaron pointed out the advantage of
sharing with other frameworks we gain when they gain. I see this as
nwhite, while I agree with most everything you said, and ultimately,
Sizzle will not be finding it's way into MooTools, you should note
that it is extremely extensible, and things like custom pseudo
selectors are no problem at all. I think I should just make sure
everyone is informed
Hi all i have made a Ocarina Score Compozer with mootools.
You can check it here : http://www.wintershine.com/iphone-ocarina
you can try Zelda score to :
1) please use pastebin for code - it's much easier -
http://paste.mootools.net/
2) .getElement(div[class=body])- you should use div.body as your selector
- what you have now wouldn't match a div with class=body foo
3) what is this.validator? where is that defined? That's not a standard
element
Check out 'dispose' http://mootools.net/docs/Element/Element#Element:dispose
If you have selectors loaded you can do the following:
$('selectitem').getElements('options[value=xyz]')
if you don't have selectors you could do the follow and get the same
results:
er, thanks?
On Thu, Dec 4, 2008 at 4:38 AM, electronbender (via Nabble)
[EMAIL PROTECTED][EMAIL PROTECTED]
wrote:
Aaron, Aaron, he's our man, if he cant do it, no one can!
On Dec 2, 7:57 am, Aaron [EMAIL
PROTECTED]http://n2.nabble.com/user/SendEmail.jtp?type=nodenode=1613340i=0
wrote:
I implemented a Registry class in Mootools. I know there is some debate over
the validity of this particular design pattern. While it can be abused, I do
think that there are valid cases for its use. The OO purist might argue that
it is in bad form to have any dependency on a global variable. If
I've posted a big followup:
http://www.clientcide.com/best-practices/dojos-dylan-schiemann-and-jquerys-john-resig-on-my-sizzle-post/
On Dec 4, 8:53 am, Tom Occhino [EMAIL PROTECTED] wrote:
nwhite, while I agree with most everything you said, and ultimately,
Sizzle will not be finding it's
Hi all,
Have a problem with a script for which I have a dirty work-around.
Can someone explain why the following code doesn't work in Safari
Version 3.2.1 (5525.27.1):
var input1 = new Element(input).setProperties({ type: 'text', name:
'price', id: 'price', class: 'i_el half' });
But
It might have to do with the fact that class is in the future keyword spec.
Have you tried ticking all your properties?
like so:
var input1 = new Element(input, {
'type': 'text',
'name': 'price',
'id': 'price',
'class': 'i_el half'
});
On Thu, Dec 4, 2008 at 2:13 PM, Jason [EMAIL
Have you tried ticking all your properties?
I had not and that fixed it. Thanks for the speedy reply!
Cheers.
On Dec 4, 1:17 pm, nwhite [EMAIL PROTECTED] wrote:
It might have to do with the fact that class is in the future keyword spec.
Have you tried ticking all your properties?
like so:
A while back ago I played around with the CSS exploit that allows you to
peak inside a browsers history. I know there are some ethical concerns. I
was bored and it seemed like fun at the time. It also presented some
interesting state challenges. I found it in one of my folders and figured I
would
Hi,
Wonder if anyone could help me? Im having a problem with a MooTools
slide script. Its used to drop down a contact form via a button. The
page loads and works fine however i get an error in IE6 and IE7
here is the error - 'null' is null or not an object
here is a link to the page i am
Thanks!
I've updated the GitHub wiki for the project with better instructions on
switching to the GreaseMonkey branch once you've cloned the project from
GitHub.
David
On Wed, Dec 3, 2008 at 11:20 PM, Aaron [EMAIL PROTECTED] wrote:
Blogged:
A While back ago I posted a image transitions class. I took the demo offline
its back up for anyone that is interested.
http://www.nwhite.net/2008/12/04/image-transitions-demo/
Im not trying to match class=body foo. I know that thats the class name
and it works fine
validator is a form validation object i am attaching to the form object and
gets set elsewhere. this is referning to the form as this would inside
a addEvent for a form object.
I got it working. For
its this bit here
-- Line 28 of slide.js
$('v_hide').addEvent('click', function(e){
e.stop();
myVerticalSlide.hide();
$('vertical_status').set('html', status[myVerticalSlide.open]);
});
v_hide is null. Its no where on the page
-Original Message-
sorry post it again, I think that my title is unappridacate, not let
people understand my meanint so that I change title post again.
I tryed to make tree by loop and when select each node show this node
's id, for example select Subnode2.2.1 show 2.2.1 but it did not
success alway show 2.2.10 .
Hi Wang,
I can't speak for others here, but this code example is both insufficient
enough to help you. Debugging this requires that you inspect
the response from the server. Use firebug to inspect your request and its
response and then log the result to the firebug console to see what is in
it.
Hi nutron
I just post part of my code. now I send you whole. Please tell me
how can I solve my problem. Thanks
window.onload = function() {
// --- ordinary MooTreeControl example:
tree = new MooTreeControl({
div: 'mytree',
mode: 'files',
Again, this forum isn't really here to debug your code for you. If your
problem is that your code isn't alerting the results of your Request.JSON,
you need to inspect the ajax request in firebug and use the console logger
to debug your code yourself.
On Thu, Dec 4, 2008 at 4:50 PM, wangsuya (via
Hi nutron
I just post part of my code. now I send you whole. Please tell me
how can I solve my problem. Thanks
window.onload = function() {
// --- ordinary MooTreeControl example:
tree = new MooTreeControl({
div: 'mytree',
mode: 'files',
Hi nutron
My problem is not my program have bug, it is just when I did below
.
for(j = 1; j = 10; j++){
index2 = 2.2.+j
var index1 = node2_2.insert({text:'Subnode 2.2.'+j,
id:index2, color:'#00a
000',
var f = new String;
http://getfirebug.com
On Thu, Dec 4, 2008 at 5:06 PM, wangsuya (via Nabble)
[EMAIL PROTECTED][EMAIL PROTECTED]
wrote:
Hi nutron
My problem is not my program have bug, it is just when I did below
.
for(j = 1; j = 10; j++){
index2 = 2.2.+j
Honestly, I'm torn, but ultimately it's heading away from the old
school bragging contest these framework discussions used to be.
We're splitting hairs with CSS selectors - we're done to milliseconds.
Break out a stop watch and time it yourself - can you really tell
which code is faster,
Hi, i trying to make that code to work:
HTML code :
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
$$('div#makeRequest a') would return an array so i would imagine it wouldnt
be attaching the event properly
try
$('makeRequest').getElement('a').addEvent(...
-Original Message-
From: mootools-users@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of guillem
Sent: Friday, 5
32 matches
Mail list logo