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
11
votes
4 answers

Comparison of yui and yui3

Is YUI3 ready mature enough? What are its advantages and disadvantages compared to YUI?
flybywire
  • 261,858
  • 191
  • 397
  • 503
11
votes
4 answers

Yui compressor StringIndexOutOfBoundsException on jboss

When minimising yui with 2.4.6, I get this problem: java.lang.StringIndexOutOfBoundsException: String index out of range: 232 at java.lang.String.substring(String.java:1934) at…
lukewm
  • 21,433
  • 6
  • 26
  • 28
11
votes
2 answers

How Can a parent window know that its child window closed?

I want to execute a function when an opened child window is closed. Child window opening code is: outWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no,…
Vinay Jeurkar
  • 3,054
  • 9
  • 37
  • 56
11
votes
2 answers

How do I show/hide an element in YUI as in jQuery?

In jQuery, when I want to show or hide something, I do this: $('#elementId').show(); $('#elementId').hide(); How do I do this with YUI? I've tried YAHOO.util.Dom.get('elementId').hide(), asked my co-workers, looked at the documentation, and…
Chad Johnson
  • 21,215
  • 34
  • 109
  • 207
11
votes
2 answers

How to access the value of a radio button that is checked using YUI?

i have following radio button structure ...
how would i go about retrieving the value…
mahatmanich
  • 10,791
  • 5
  • 63
  • 82
11
votes
4 answers

Can I put an ASP.Net session ID in a hidden form field?

I'm using the Yahoo Uploader, part of the Yahoo UI Library, on my ASP.Net website to allow users to upload files. For those unfamiliar, the uploader works by using a Flash applet to give me more control over the FileOpen dialog. I can specify a…
Josh Hinman
  • 6,745
  • 7
  • 38
  • 47
11
votes
3 answers

Display JSON/YAML hierarchy as a tree in HTML?

I have YAML data that looks sort of like this, but ~150k of it: --- all: foo: 1025 bar: baz: 37628 quux: a: 179 b: 7 ...or the same thing in JSON: {"all":{"bar":{"baz":"37628","quux":{"a":"179","b":"7"}},"foo":"1025"}} I…
Anirvan
  • 6,214
  • 5
  • 39
  • 53
10
votes
1 answer

Incorporation of YUI 3 in rails

I was wondering if any effort has been made towards integration of YUI3 with rails asset pipeline. By integration, I don't just mean a couple of helpers for including the library but rather a complete integration of YUI module loader. I'll…
lorefnon
  • 12,875
  • 6
  • 61
  • 93
10
votes
3 answers

Order of loading external CSS and JavaScript files

I have a third party application that loads many css and javascript files, and I now want to optimize this by concatinating all the javascripts into one file, compressed by the yuicompressor, but ... when we have a mix like:
janfrode
  • 348
  • 1
  • 2
  • 11
10
votes
6 answers

"Endless scrolling" effect in a HTML table

I am displaying a scrolled data table in a web page. This table has several thousands of dynamic rows, so it is loaded from the server (via AJAX). The user can scroll up and down, so what I need is to detect when the user reaches the end of the…
Guido
  • 46,642
  • 28
  • 120
  • 174
10
votes
4 answers

what is the jQuery outerHeight() equivalent in YUI

In jQuery, I can very easily get the current computed height for an element that includes padding, border, and optionally margin by using outerHeight()... // returns height of element + border + padding +…
Hristo
  • 45,559
  • 65
  • 163
  • 230
9
votes
4 answers

Safari doesn't allow AJAX Requests after form submit?

I am writing a Javascript based upload progress meter. I want to use the standard multipart submit method (rather than submitting the file in an iframe). During the submit, I send ajax requests that return the % complete of the upload and then…
coolhand79
9
votes
4 answers

How can I generate Dynamic Javascript?

I render a page using YUI. and depending on the user I need to change how it is rendered. This change is not something that can be parametrized, it is drastic and different for each user. Please tell me how can I generate Javascript dynamically?
Eastern Monk
  • 6,395
  • 8
  • 46
  • 61
9
votes
2 answers

Can we generate sourcemaps using YUI compressor?

Is there a way to generate sourcemaps using YUI compressor? I don't find any option to do that here -- http://yui.github.io/yuicompressor/
Varunkumar Nagarajan
  • 1,807
  • 1
  • 24
  • 43
9
votes
3 answers

How to simulate a click to make the current input lose its focus with JavaScript

I have an input which at some points happens to have the focus. If the user click in the "background" of the page, the input loses its focus. I was trying to simulate the click on the background with the following code, but this doesn't work (you…
avernet
  • 30,895
  • 44
  • 126
  • 163