yui

Using debug versions of YUI2 components in YUI3

I am using YUI 2 components in YUI3 using the standard way YAHOO has provided to get accesss to the YAHOO namespace. However when YUI3 loads the yui2 components it loads teh min version which is no good for debugging. I'm having problems with the editor rendering and was hoping to try to use the code to debug. Is there a way I can f...

Custom drop-down in yui editor toolbar?

Hi all, I'm working on a CMS where the administrators have the chance to edit all of the mails sent by the system. I'm using the YUI Editor for this. Now the admins can see the content of the e-mails and also the pre-defined values in e-mail like {link}, {first_name}, etc. Now I'm thinking how could I integrate these pre-defined valu...

Get value of YUI Progress Bar on click

I am using the yui progress bar to display ratings for a list of items. I know the progress bar inherits the "on" method, but I'm not sure how to capture where in the progress bar the user is clicking. I'd like to get an int or double from that event. Is this possible? ...

The YUI maze: How do I get my CSS minified?

What steps should I follow to be able to minify CSS from the command line (Windows or Solaris)? ...

YUI API Dual Slider control question

I'm using the YUI 2.7 library to handle a dual-slider (range slider) control in a webpage. It works great-- however, I wanted to allow users to switch the range values by Ajax-- effectively changing the price range from "0-50,000" to a subset (eg. "50-250") without reloading the page. The problem is that it appears the values from the ...

Does YUI support SMD?

I have a struts 2 smd action and I call it from a YUI DataTable. It doesn't work because the action returns SMD definition information which the DataTable doesn't know how to handle. Is this just something not supported by YUI or am I missing a configuration option somewhere? My Google searches aren't finding anything which isn't maki...

YUI AutoComplete itemSelect - how do I know which key was pressed to do selection?

I have a handler for itemSelectEvent that gets called when an option is selected from the drop down. According to YUI documentation, this is fired when an item is selected via mouse click, ENTER key, or TAB key. Inside my handler, how can I find out which of these three options fired my handler? The handler takes two parameters: 1) the t...