yui3

Issue with Resizeable Columns in YUI2 DataTable Nested in YUI3 Tabview

I'm having an issue with resizing columns in a YUI2 DataTable when the table is nested inside a YUI3 Tabview. My situation: YUI3 Tabview has 4 tabs. Each tab contains a DataTable that has sortable and resizable columns. The columns in the DataTable of the first tab (the default tab that is displayed after loading the tab view) are sor...

Learning YUI from scratch

Hi, I am new to YUI and I want to learn it from scratch. Can you suggest some books or tutorials? Where should I start? It seems YUI 3 is different from its predecessors. Please help me. ...

Best approaches to merge 2 standalone ajax applications?

I'm looking to display multiple web projects (in this case a standalone ajax webmail client, and a standalone ajax webchat client). In the same browser window... I would like the objects to be able to overlay one another (like the way google talk messages appear over gmail). What direction should I consider going in? I'm thinking of u...

How to shrink a TextArea

Hello, i am using YUI 3.1 Library from Yahoo and also the TextExpander to let a TextArea to grow up when a user type. The code below initialize the TextArea: YUI({gallery: 'gallery-2010.03.23-17-54' }).use("node", 'gallery-text-expander', function(Y) { Y.one('#myTextArea').plug(Y.TextExpander); }); It's work perfectly but now...

Currying in YUI3 library

Does YUI3 library have currying functionality ? ...

in YUI3 is it possible to attach a single handler to multiple events?

so is something like this possible? Y.one("input.units").on("keyup change", function(e){ ... }); the jquery equivalent is $("input.units").bind("keyup change", function(e){ ... }); ...

yui2 and yui3 events

Can the yui3 construct of Y.on() be used to setup listeners for events on yui2 widgets, or do they simply use separate event systems? ...

How to use YUI 3 History standalone without the loader?

Using YUI scripts on our SSL page turned out to break the SSL connection because they dynamically load scripts from yahoo (combo) over a http connection. As we only use the history manager of YUI 3, I wanted to host the code on our server. If I copy the code from http://yui.yahooapis.com/combo?3.2.0/build/yui/yui-min.js&3.2.0/build...

How to use YUI3 on node?

I can't get YUI3 to work on node. I have installed all dependencies according to this site: http://github.com/yui/nodejs-yui3. Here is my code: var jsdom = require("jsdom").jsdom, window = jsdom("<html><head></head><body>hello world</body></html>").createWindow(); var puts = require("sys").puts; var YUI = require("yui3").YUI; v...

Deactivate INFO messages for YUI3 on node.js?

I'm using YUI3 on node.js but I get all these INFO messages. How do I deactivate them? ...

Firing events between an iframe and it's parent using YUI

I have an iFrame that is firing an event that I want the parent page to pick up. Essentially the inverse of this question. I can pick up the event inside the iFrame, so I know it's firing, but nothing happens in the parent. I'm using YUI 3 so any answers based around this get a double-thumbs up, but all help is greatfully received. Tha...

Deep Cloning in Yui3

How does one deep clone an object in YUI3 ? In jquery it would be typically done as follows var clone = jQuery.extend(true, {}, object); ...

Is there a jQuery alternative for building faster web sites

Hi, We are about to commence a redesign of our site and are exploring all options in improving performance. The site is fairly heavy in javascript loaded adverts, therefore we need to be really lean with the javascript we use. Do any of you have any experience of lighter frameworks or more efficient frameworks that I could explore? Or ...

How to execute a YUI function from Javascript?

How can i call a YUI function that is wrapped inside a YUI().use from javascript? example Below is a YUI function "runShowAnim" which executes animShow.run(); for an animation effect... var runShowAnim = function(e) { animShow.run(); }; I want this effect to happen when i validate something in a javascript function. I tried to...

YUI 3 html templating

Is there any way to create HTML markup in YUI like: <div id={DivId}> <p class={pClass}> <span class={spanClass}> {Content} </span> </p> </div> ...