Questions tagged [yui]

A set of utilities and controls, created by Yahoo in JavaScript and CSS, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX

The YUI (Yahoo! User Interface) library provides tools for professional web development, including a rich JavaScript and CSS library -- all freely available under a liberal BSD license.

Active development of YUI was discontinued by Yahoo! on August 29th, 2014, based on the following:

Most core YUI modules do not have active maintainers, relying instead on a slow stream of occasional patches from external contributors. Few reviewers still have the time to ensure that the patches submitted are reviewed quickly and thoroughly.

Therefore, we have made the difficult decision to immediately stop all new development on YUI in order to focus our efforts on this new technology landscape. This means that, going forward, new YUI releases will likely be few and far between, and will only contain targeted fixes that are absolutely critical to Yahoo properties.


Documentation :


Related tags :

1782 questions
0
votes
1 answer

How to handle event fired before listener is attached

Code fires event on success ajax response. Event listener is attached in function after this code for some reasons. Is it possible to catch already fired event and handle it on adding listener or I have to change implementation?
japysha
  • 121
  • 8
0
votes
2 answers

Yahoo.widget.Editor - How to configure font size of text

I am using the YUI Rich Text Editor (YAHOO.widget.Editor), and I got it working fine, except for one thing. I cannot figure out how to configure the font size of the text that I type in the editor box (input type="textarea"). I want that text to be…
Jay Godse
  • 15,163
  • 16
  • 84
  • 131
0
votes
2 answers

Help to submit xml string/document as ajax request to background page using YUI

I would like to create the XML string on the the aspx page and then submit this request using the YUI ajax request to another aspx page for the processiong. So 1. is this possible by setting some of the ajax requests configurations like we do on…
Anil Namde
  • 6,452
  • 11
  • 63
  • 100
0
votes
1 answer

Error YUI Property 'fn' of object # is not a function
YUI().use('node', 'event', function (Y) { Y.on('change', function(){alert("called");},'#searchForAgent'); }); I get this error message saying TypeError: Property 'fn' of object # is not a function I am not sure why. Can anyone please help me, I…
0
votes
5 answers

Compressing scripts and styles and combining all js and styles references into single reference to optimize the sites performace

I've multiple scripts and styles references in my asp site. When I observe my sites network instances it is doing 46 requests which is really too much and affecting my sites performance tremendously. Since I've multiple script and styles references…
Saurabh Palatkar
  • 3,242
  • 9
  • 48
  • 107
0
votes
1 answer

YUI : how to retrieve XML datas from a local file?

I would like to read an XML file stored in the same directory as this HTML file : TODO supply a title
lolveley
  • 1,659
  • 2
  • 18
  • 34
0
votes
1 answer

YUI JS minifier mess up code

I'm using BundleTransformer.Yui.Minifiers.YuiJsMinifier in asp.net MVC 4 project, but I think it's YUI compressor bug... ... var varName='...'; alert(varName); //alert('...') $.ajax({ url: url, success:…
dado89
  • 78
  • 1
  • 7
0
votes
1 answer

How do I add data from a dropped item to a form using YUI and Knockout JS?

I have a list, which is populated with JSON-data, using Knockout JS. Using YUI delegates, each of the list elements are draggable, with several drop targets (using YUI dd-drop-plugin). When I drop a list item on one of the drop targets, I want an…
Lommelom
  • 31
  • 1
0
votes
1 answer

Accessing functions nested inside YUI code block

In the snippet below, I am trying to access testFunction() which is inside YUI block. What is the correct way of doing it? var obj = YUI().use('node', 'event', 'io-base', 'json-parse', function(Y){ function testFunction() { …
Harsha
  • 717
  • 1
  • 11
  • 23
0
votes
1 answer

How can i precompile a YUI.template.Micro to a TemplateName.js file?

I have been reading up on using YUIs template.micro here: precompiling YUI micro templates but cant see how its possible to return the JS to a templateName . js file. Alternatively, if its not designed to be saved to a templateName . js file - how…
dalcam
  • 1,027
  • 11
  • 28
0
votes
1 answer

Is it possible to have a layout for YUI3 App Framwork container?

I am developing my client-side app with YUI3's APP Framework. I am having the following problem: I want to be able to have a few views (let's call them widgets) that are going to stay in the same place on page but under App's container Node, so that…
eAbi
  • 3,220
  • 4
  • 25
  • 39
0
votes
1 answer

What's the best way to use a YUI TabView in an ASP.NET MVC app?

I'm creating an ASP.NET MVC web app and would like to use the YUI TabView (because I generally like its default look and I'm using a couple other YUI things, so the additional overhead will be comparatively small) to render a set of tabs in the…
Chris Farmer
  • 24,974
  • 34
  • 121
  • 164
0
votes
1 answer

YUI 3.13 Datatable to load images

I'm trying to create a data table that shows images in the status column. I followed some examples from stackoverflow but it doesn't work. Does anyone know how to get the image to load in the column? The code below works but it doesn't seem like…
codeBarer
  • 2,238
  • 7
  • 44
  • 75
0
votes
1 answer

Grails g:select to autocomplete

I've changed a g:select field to a yui autocomplete (without using the yui plugin) and now I'm getting: Failed to convert property value of type [java.lang.String] to required type... println the params in the controller looks identical in both…
Guy Gavriely
  • 11,228
  • 6
  • 27
  • 42
0
votes
1 answer

How to get data from YUI sandbox

I want to get data from within YUI sandbox and pass it to another function. For example, if I have something like: YUI().use('node','stylesheet', function (Y) { var sheet = Y.StyleSheet('#myStyle'); // Some logic... var styleSheetText = …
shadox
  • 3,238
  • 4
  • 24
  • 38