Questions tagged [yui2]

The YUI Library is a set of utilities and controls from YAHOO!, written with JavaScript and CSS, for building richly interactive web applications. The yui2 tag is for discussions of the version 2 of the library.

47 questions
1
vote
1 answer

When YUI contextmenu appears, scrollbar of table tbody scrolls top unexpectedly on IE8,IE9

I'm seeing a strange behaviour on IE8 & IE9 with YUI contextmenu and scrollable table, much appreciate if someone could tell me how to solve the following issue: Refer to http://jsfiddle.net/nguanon/yL5Sa/ When making the tbody scrollable on IE8 &…
1
vote
1 answer

Implementing YUI2 Menu Component in JSF

I am trying to implement a YUI2 Menu component into a JSF. I coded it in a normal HTML file and it works. (source: alvinsim.com) But when i ported the code to JSF, it didn't show properly. I think it is because JSF couldn't find the YUI2…
Alvin Sim
  • 338
  • 1
  • 9
  • 21
1
vote
1 answer

Resizable in YUI 3.1.2

I need to switch my code base from using jQuery (1.7.2) and jQueryUI (1.8.6) components to the equivalent YUI components; and per client constraints, it must be version 3.1.2. However, I am not finding anything for making elements resizable in…
user1270393
  • 61
  • 1
  • 2
1
vote
1 answer

YUI2 setStyle opacity not working in IE10

I have some YUI2 code (v2.8.1) that looks like this: YAHOO.util.Dom.setStyle('foo', 'opacity', 0.5); and: var t = new YAHOO.util.Anim(this._splashSlide.shutter, {opacity: {from: 1.0, to: 0}}, 1, YAHOO.util.Easing.easeBoth); It has been working…
jfriend00
  • 683,504
  • 96
  • 985
  • 979
1
vote
1 answer

getting data from a yui datatable

I have the following jsfiddle that generates a YUI Datatable with checkboxes, but i have a problem getting the data of ids from the table after i click the Get Records button. anyway to call the table from the javascript? P.S : I am using YUI2…
jonleech
  • 461
  • 1
  • 6
  • 30
1
vote
1 answer

Preserving URL fragment through CAS sign-on

I maintain a single-page application that uses the YUI 2.8 history module to retain local options in the URL fragment. I've recently put it behind CAS authentication, and I'm finding that the fragment gets lost during CAS authentication. It is…
Dan Percival
  • 293
  • 2
  • 8
1
vote
1 answer

how to i mplement autocomplete using yui

As am totally new to YUI i dont have any clue about.I have just gone through this link to implement autocomplete using YUI http://developer.yahoo.com/yui/autocomplete/. According to my requirement i need to assign a string array dynamically to…
rkhm
  • 181
  • 2
  • 3
  • 16
1
vote
1 answer

YUI 2 Rich text editor bugs on firefox within specific case

I am not able to make the rich text editor from YUI 2 (see http://developer.yahoo.com/yui/editor/) works in Firefox My project--> A forum Here are images of what's happening: In IE with no…
Maude
  • 512
  • 3
  • 8
  • 23
1
vote
1 answer

Inserting a javascript var as markup with YUI2 insertAfter()

I'm trying to define an element in javascript as a string and then insert it. Have I defined it wrong, or is there another problem? var NEW_ROW= ''; YAHOO.util.Dom.insertAfter(NEW_ROW, referenceNode);
Thalecress
  • 3,231
  • 9
  • 35
  • 47
0
votes
1 answer

DataTables in YUI3 refreshing on every update/change of data

I has been playing with YUI3 3.5pre5 DataTables and realized a big difference in implementations (from YUI2). When using addRow(), modifyRow() and set(), all the table is reloaded/redrawn/refreshed instead of only the elements affected. For example…
Jonathan
  • 8,676
  • 20
  • 71
  • 101
0
votes
1 answer

Paginator Not Visible in Tabview for Datatables

Alright, I have a webpage that has a tabview container. The container has three tabs. All of which contain datatables. Each datatable is different. When I setup the paginator for the datatables and under the configs, it works wonderfully. On the…
C LaBelle
  • 117
  • 2
  • 12
0
votes
1 answer

YUI 2 Editor - JavaScript event within iframe

I can easily wrap a text selection with span tag through a button click like this; this.toolbar.on( 'testClick', function(o) { var sel = myEditor._getSelection(); myEditor.execCommand('inserthtml', '
Rushen Bilgin
  • 51
  • 1
  • 4
0
votes
1 answer

To override the key event listener in YUI2 carousel

I'm using YUI 2 carousel. I want to override the "keydown" event listener with my own event listener. If I give: node.on('keydown', function(e){ alert("something"); }); at first the default event listener defined in carousel-min.js is executed…
skalgo
  • 1
  • 1
0
votes
1 answer

YUI2 equivalent of jQuery mask

I wonder if there is YUI2 equivalent of Masked Input Plugin?
Oleksandr Bondarenko
  • 1,998
  • 1
  • 19
  • 22
0
votes
1 answer

What is the YUI2 alternative selector for jquery selector "*" (or) YUI Event/Selector Issue

I am very new to YUI or YUI2 Here i have a criteria, when there are 10 image tags in my page (""). when i click on any image i need to get it's parent(i.e) anchor href value. when i am trying to do this functionality using the the following…
Ganesh
  • 45
  • 1
  • 3