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

Got security prompt for "yui.yahooapis.com" with security set to High on IE

I include YUI library locally, but when I have IE security set to High I got alert saying yui.yahooapis.com is not trusted. How can I get rid of the http request and make the library totally local? Thanks,
Lys
  • 591
  • 2
  • 9
  • 19
0
votes
1 answer

how to register YUI drag event

I've read http://yuilibrary.com/yui/docs/dd/, but still have no clue how to register a drag event. I'm using jsPlumb.draggable to make all the .w class divs draggable, and I wanted to call a hander when the element gets dragged. Is the following…
Lys
  • 591
  • 2
  • 9
  • 19
0
votes
2 answers

How to load External javascript through Ajax call

i am totally new to Ajax. On our site, we have a cart page where user can add, remove and change quantity of items using ajax w/o doing whole page load for the cart. My issue is i need to fire some 3rd party external calls whenever user updates his…
user1633800
  • 339
  • 1
  • 7
  • 14
0
votes
1 answer

YUI TabView: "add tab" button stuck on the left side when all tabs are closed

I'm using the YUI TabView widget for adding and removing tabs like described in yuilibrary-tabview-add-remove. I've noticed a "bug" or maybe just a missing functionality: When you close all tabs and then add a new tab, the "add tab" button will get…
frhd
  • 9,396
  • 5
  • 24
  • 41
0
votes
1 answer

YUI DataTable custom sort

I am using YUI datatabale. I want to sort columns. Name column is working fine as this is a string. But Column "ftrIdentifier" also sort the content as string not as number. Can someone help me on this. function tableFeaturesWithCheckBoxes1() { …
Abhinav Parashar
  • 619
  • 4
  • 11
  • 27
0
votes
1 answer

YUI Shifter builder for language i18n from YRB(.pres)

I am working on website internalization and it has YUI3 in stack, so it is good to use YUI intl module for that. Reading documentation gave idea to leverage shifter builder to convert Java property i18n files into YUI3 intl format (think as…
dmi3y
  • 3,482
  • 2
  • 21
  • 32
0
votes
2 answers

How to run headless YUI tests and log success/failure in a log file?

I have some YUI tests which I need them to run headless. Currently, these tests are run by launching their corresponding TestFileName.html. Upon launching, the browser shows passed or failed tests on the screen with green and red icons and their…
K S
  • 301
  • 1
  • 4
  • 16
0
votes
2 answers

AlloyUI with ASP.net MVC Anyone?

Has anyone used AlloyUI with ASP.net MVC 4.0 ? Found this UI library very useful. I'm planning to use it in an enterprise class application. Though the library looks great, I'm not finding any resources except for their official API. Neither does…
0
votes
1 answer

How to access the node being traversed in the YUI tree

I have created a tree data structure using YUI 3's tree. I can traverse the tree can call a callback function. I cannot figure out how to access the node being traversed from inside the callback function. FWIW, I am new to YUI. Any help is greatly…
user1757436
  • 151
  • 4
0
votes
1 answer

YUI custom event default function not executing

Why does the default function for my event not execute when I specify it with defaultFn? var node = Y.one(".foo"); node.publish("myEvent", { defaultFn: function () { //I don't understand why this doesn't execute //I expect it to…
Steven Wexler
  • 16,589
  • 8
  • 53
  • 80
0
votes
1 answer

Y.Node addTarget event not bubbling

Why isn't my event fired in foo bubbling up to bar? var foo = Y.one(".foo"), bar = Y.one(".bar"); foo.addTarget(bar); foo.on("myEvent", function () { //this log statement executes Y.log("In foo listener"); }); bar.on("myEvent",…
Steven Wexler
  • 16,589
  • 8
  • 53
  • 80
0
votes
1 answer

Trying to get images to overlap entirely, while fading in, in turn

I'm strictly limited to using YUI/Javascript along with HTML and possibly CSS as long as it runs with IE. HTML:
Jon
  • 103
  • 1
  • 12
0
votes
2 answers

addClass - one function instead of 3 functions (shorten code)

Apologies I didnt really know how to title this post. I have the following 3 functions in YUI. What I do is look for a div with classname .box2, .box3, or .box4, and then add another class to all those divs ie the .box2 div gets another div .2 The…
user1525612
  • 1,864
  • 1
  • 21
  • 33
0
votes
2 answers

addClass and class to be added is part name and part variable

Working with the YUI library and I have the following: var levelnumber = 3; I want to add a class to a div so that it says ".level3" , so the class to be added should be the word "level" plus the value of the variable. Something like this but Im…
user1525612
  • 1,864
  • 1
  • 21
  • 33
0
votes
1 answer

I am getting Error In YUI AJAX as NOT AVAILABLE

I am using YUI ajax in struts2 . The ajax is returning a map in the form Map> resultMap; I am using if(o.responseText) myResults = YAHOO.lang.JSON.parse(o.responseText); In action class the values…
PSR
  • 39,804
  • 41
  • 111
  • 151