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
269
votes
22 answers

How to get child element by class name?

I'm trying to get the child span that has a class = 4. Here is an example element:
The tools I have available are…
spyderman4g63
  • 4,087
  • 4
  • 22
  • 31
264
votes
7 answers

Set Value of Input Using Javascript Function

I'm currently using a YUI gadget. I also do have a Javascript function to validate the output that comes from the div that YUI draws for me: Event.on("addGadgetUrl", "click", function(){ var url = Dom.get("gadget_url").value; /* line x…
Ali Taha Ali Mahboub
  • 3,271
  • 6
  • 26
  • 25
108
votes
18 answers

What are the typical reasons Javascript developed on Firefox fails on IE?

I developed some javascript enhanced pages that run fine on recent Firefox and Safari. I missed to check in Internet Explorer, and now I find the pages don't work on IE 6 and 7 (so far). The scripts are somehow not executed, the pages show as if…
user89021
  • 14,784
  • 16
  • 53
  • 65
100
votes
4 answers

Dynamically add data to a javascript map

Is there a way I can dynamically add data to a map in javascript. A map.put(key,value)? I am using the yui libraries for javascript, but didn't see anything there to support this.
stevebot
  • 23,275
  • 29
  • 119
  • 181
91
votes
11 answers

What http status code is supposed to be used to tell the client the session has timed out?

In a webpage, it uses YUI connection manager/datasource to send AJAX requests to the server, if the session (which contains the info on whether the user has been authenticated) has already timed out, those ajax responses that can only be viewed by…
bobo
  • 8,439
  • 11
  • 57
  • 81
61
votes
13 answers

What's this UI pattern called?

I'm trying to figure out what this sort of thing is called, and eventually how I can create one in a web browser. It looks like this (screenshot of the first app that came to mind): The specific component/pattern I'm looking for is the two list…
Matt Ball
  • 354,903
  • 100
  • 647
  • 710
51
votes
14 answers

Need to find height of hidden div on page (set to display:none)

I need to measure the offsetHeight of a div that is inside of a hidden element. The parent div must be set to "display:none". I have no control…
Jamis Charles
  • 5,827
  • 8
  • 32
  • 42
40
votes
4 answers

Execute function before refresh

On my HTML page, when the user clicks / presses F5 button the page refreshes, but before it refreshes I want to execute a function or a simple alert. User can click on refresh button, press F5 or Ctrl + R. Using core JavaScript, jQuery or YUI.
Wasim Shaikh
  • 6,880
  • 18
  • 61
  • 88
32
votes
5 answers

how to implement facebook like notification?

I am trying to implement a Facebook-like live notifications system to notify users whenever someone adds them as friend, like their post or posts replies to their comments. All the database and PHP part is done, but I can't figure out how to…
Vinay Jeurkar
  • 3,054
  • 9
  • 37
  • 56
30
votes
2 answers

HTTPS and external (CDN) hosted files?

I have a page that references a couple of externally hosted javascript files - namely, jQuery on Google and YUI using YUI Loader. The trouble is when I access the page via HTTPS the browser complains of mixed insecure content, since the external…
Parand
  • 102,950
  • 48
  • 151
  • 186
24
votes
5 answers

Compression issues with JQuery file in YUI Compressor

I am trying to minify a few files with YUI compressor. However, I seem to be getting an error on 2 lines of code, which prevents compression. The .js file for jcarouselLite contains 1 error, and my own code contains the other. I have narrowed it…
user47378
  • 271
  • 2
  • 3
  • 4
22
votes
8 answers

Javascript library for building desktop-like web application: ExtJS, jQuery, YahooUI, Mocha, SproutCore, Cappuccino, others?

I am evaluating several Javascript UI toolkits for building web applications that have a desktop-like feel, mainly because of dialogs and window management. I looked at several options - here are my evaluations so far: ExtJS - Great widget library,…
Dema
  • 6,867
  • 11
  • 40
  • 48
20
votes
4 answers

Do javascript variables have a storage limit?

Do javascript variables have a storage capacity limit? I'm designing one YUI datatable where I fetch the data from database and store it in a js object and wherever required I'll extract it and update the YUI datatable. Right now in Dev I've very…
Ajay Gangisetti
  • 431
  • 2
  • 5
  • 13
20
votes
16 answers

To YUI or not to YUI?

I'm currently using the Yahoo YUI javascript library in a couple of my projects. However, I'm a little concerned about three things. First, they laid off 10% of their employees. Second, their stock price keeps falling: especially after ignoring…
NotMe
  • 87,343
  • 27
  • 171
  • 245
19
votes
18 answers

What advantages does jQuery have over other JavaScript libraries?

I am trying to convince those who set standards at my current organization that we should use jQuery rather than Prototype and/or YUI. What are some convincing advantages I can use to convince them?
mcherm
1
2 3
99 100