... I figured it out: I need to say "marginTop". Cheers, mwh...
513
Michael Hudson
michaelhudso...
Mar 15, 2009 10:19 pm
I was naively expecting to be able to access the various parts of the 'margin39; css class through getStyle, but this doesn't work for me. ... "-35px 0pt 0pt...
512
Adam Moore
adam.moore
Mar 13, 2009 7:03 pm
... Y.each delegates to the appropriate each function, and returning the instance helps to provide some level of chaining support. It also seems a bit...
511
micky97402
Mar 12, 2009 5:38 am
Hi, What is the math used to calculate font sizes for YUI: /* ** ** Font sizes: Pixel to percent conversion: ** 10px = 77% ** 11px = 85% ** 12px = 93% **...
510
Eric Miraglia
ericmiraglia
Mar 11, 2009 8:45 pm
The ANT-based component build tool that we use to build YUI components from their source code is now publicly available on GitHub. This is a component build...
509
laurentfortin50
Mar 11, 2009 2:56 pm
Ok now it's working. Thanks for your reply!...
508
pro1712
Mar 11, 2009 11:15 am
"Include" these modules: 'io-base39;, 'io-upload-iframe'...
507
reflexiv1
Mar 10, 2009 7:23 pm
It just seems like returning the result array would be so much more useful in any situation. Why does Array.each return the YUI instance? Thanks, Andy...
506
laurentfortin50
Mar 10, 2009 6:24 pm
Hello, I am trying to do a simple file upload like this, assuming that we have a file input in the form, and that the server-side 'uploader.cgi' script does...
505
agentorangejdm
Mar 8, 2009 2:17 pm
Zac, The use function takes multiple arguements, with the last one being the callback function. YUI().use(39;node39;, 'io-base39;, function(Y){ ... Do something with...
504
Zac
ztolley
Mar 8, 2009 1:29 pm
I'm still getting my head around the use function to say I want to write some code that uses component x. I can see why I want to wrap my stuff up into a...
503
reflexiv1
Mar 6, 2009 6:59 pm
... Thank you! This made a light bulb go on in my brain and my widget can now find nodes on the page! Andy...
502
Satyen Desai
sdezzi
Mar 6, 2009 5:44 pm
Hi, The HTML_PARSER is used to mine values from inside a content box which is already on the page. If you're looking for the <p>Hi</p>, you'd need to wrap it...
501
Maris Fogels
vednis
Mar 6, 2009 4:52 pm
... Oops, you're right, it is undocumented. I've filed a bug about it: http://yuilibrary.com/projects/yui3/ticket/2526043 Maris...
500
reflexiv1
Mar 6, 2009 4:34 pm
I'm just not grokking the problem here that is keeping my widget from pulling the <p> node into its 'paragraph39; attribute on instantiation using the...
499
emmett.thesane
Mar 6, 2009 3:58 pm
Thanks Mars. That does the trick. However, it's actually NOT in the Node API docs (or any of the YUI3 docs), I'm afraid: ...
498
Maris Fogels
vednis
Mar 6, 2009 3:47 pm
... Hi Emmett, To unwrap a node, use Y.Node.getDOMNode(): var yui_node = Y.get('#foo'); var raw_node = Y.Node.getDOMNode(yui_node); The function is listed in...
497
emmett.thesane
Mar 6, 2009 12:58 pm
I joined a company recently which has a substantial YUI2-based code base as the senior JS developer. I'm thinking that a gradual switchover to YUI3 is the most...
496
Caridy Patino
caridyp
Mar 5, 2009 2:44 pm
Almost, I will let you know as soon as I get the beta ready. Best Regards, Caridy...
495
pro1712
Mar 5, 2009 9:29 am
Is the dispatcher ready? If not, can you provide a beta version? Thanks!...
494
erwin_odendaal
Mar 5, 2009 8:43 am
Nate, I will dive into it. Thanks, Erwin...
493
Caridy Patino
caridyp
Mar 5, 2009 12:10 am
Hey Zac, There are few issues related with the on-demand loading process for modular applications. 1. if two different modules try to use the loader...
492
Zac Tolley
ztolley
Mar 4, 2009 10:56 pm
Thanks for the advice, and thanks to Caridy too for a really speedy reply. I can see the advantage of using this syntax with regards to scope, I'm building a...
491
Matt Sweeney
matt.sweeney
Mar 4, 2009 9:26 pm
... Hi Zac, When a code snippet is passed as the first argument to setTimeout, it is executed in the window scope. So you are correct, now that there is a ...
490
Caridy Patino
caridyp
Mar 4, 2009 9:03 pm
Hey Zac, You should not use an string in the setTimeout function, because the browser will try to use EVAL to evaluate that string, which means that you will...
489
Zac
ztolley
Mar 4, 2009 8:48 pm
I am creating a simple animation chain made up of 2 part, the first animation setup opacity to 0 to fade something out, then I want to wait 10 seconds and fade...
488
Nate Koechley
nate.koechley
Mar 4, 2009 8:04 pm
Hey erwin_odendaal, ... The margins between the b's are the negative-margins difference, by default 1em, which is 13px if you're using YUI Fonts as well. This ...
487
erwin_odendaal
Mar 4, 2009 7:21 pm
I'm building a website which needs exactly 10px of space between al elements. But I can't find any information about how to manage the vertical spaces between...
486
Adam Moore
adam.moore
Mar 2, 2009 8:02 pm
... Most browsers don't indicate there is was failure if the response code was a 404. If this is a problem for you, you can add logic to the onSuccess method...
485
mike.hobjob
Mar 2, 2009 7:55 pm
Does YUI have a way to tell if a script does not exist with the Get.script? The onFailure method doesn't seem to fire when the script doesn't exist. Is this...