I am using YUI datatable and datasource to render data in one of my projects. The data returned happens to be NULL and YUI datasource is unable to parse it.
Below is the declaration code of datasource and datatable. For readability sake, I am seperating each of the declarations.
Column Descriptions declaration
var columnDe...
I am in a situation where I do not control the creation of one or many YUI Rich Text Editors; it is done in someone else's library.
For the purposes of this discussion:
patching code-- monkey or otherwise-- is not an option.
removing (editor.destroy()) the editor that's already there and adding my own is also not an option. The code ...
Can anybody help me, please ?
(sorry for my english, I'm french)
I've a combobox and i want insert an item "add-item" before read an array of data that populate my combobox. To sum-up :
1- Adding to my combobox "add-item" (add before read the array),
2- Adding to my combobox data from my array (it's ok for this part).
Here my code :
...
I'm using YUI's browser history manager, and my browsers no longer report runtime errors. They will still show a parse error in the error console, but if I call a bogus function, for example, inside some event handler, the browser just stops all js processing it seems. Even firebug's debugger will just quit when I get to a line with an e...
Does anyone know how to get the below to report a javascript error? (any browser)
<head>
<title></title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/yui/2.6.0/build/yahoo-dom-event/yahoo-dom-event.js">
</script>
<script type="text/javascript">
ObjWithEvent = {
testEv...
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?
...
I am using the autocomplete YUI feature. However, as you can see I am having trouble aligning the suggestion drop down with the text input when I put a label in front of the text input. I am following the example here exactly except for this snippet of code where I simply replace the H3 with a label element in the form:
<div id="myAu...
I have an Ajax rich application that displays a grid with 100 urls. When u click on any row of the grid it loads the preview of that URL in the grid.
Also on the onload event of the grid I perform several operation which fire many AJAX queries.
I use YUI browser history class to enable browser back button. It works fine with FF3 but i...
YUI 3 allows you to write
Y.all(".foo").removeClass("bar");
However it does not allow writing
Y.all(".foo").removeClass("bar").set("innerHTML", "baz");
It seems all the "operational" methods always terminate the call chain.
This means YUI 3 only provides half the power of chaining that jQuery provides.
Does anyone know why this is, an...
I'm using YUI to create a 3 column layout like so:
=====================
= =
=====================
= s = =
= i = =
= d = =
= e = body =
= b = =
= a = =
= r = =
=====================
The sidebar is scrollable (that is, t...
Hello guys,
Your favorite French is back^^ I have just a small question.
In the YUI examples, this function allows to get information, I am not sure to understand what are reference done by myHandler :
var myHandler = function(sType, aArgs){
myAC = aArgs[0]; // reference back to the AC instance
elLI = aArgs[1]; // referenc...
The question says it all... We are shopping for a a rich javascript library and are about to choose YUI.
The issue of (non)existence of a GUI designer will strongly influence our choice.
...
The YUI MenuBar seems to have an issue with being below a header.
HTML:
<body class="yui-skin-sam">
<a id="headerStyle"><img href="/" src="/images/Header.jpg" alt="Home"/></a>
<div id="menuPanel" style="padding:1px">
CSS:
#headerStyle {
position:relative;
width:600px;
height:100px;
}
Javascript:
var oMenu = new YAHO...
Is there a plugin or extension that allows to use DWR remote calls as a YUI Data Source?
...
I implemented the Yahoo Rich Text Editor (YUI Editor) in a Rails application using the YUI_Editor Plugin.
If I copy/paste text out of a PDF into a YUI-Editor-enhanced-TextArea (YEETA :)) it does not only copy the text but also the formatting of it.
How do I configure the YUI Editor to remove all formatting of text pasted into the YEETA...
Any one know how can I apply Yahoo Compressor (YUI compressor) on my website?
...
Using the YUI Menubar, when the items drop down they appear behind a ASP.NET Silverlight Control. I am not using YUI layout.
I've already tried setting the z-index:99 and the position:relative for in menubar css, as well as setting the div's z-index:-1 and position:relative.
Any ideas?
...
I have a YUI menu top bar navigation menu based from this example.
I'd like to be able to insert items to it that serve as captions and not menu items. For instance I may have a list of products in different categories, and I want a category heading for each. I don't want submenus - I want headings WITHIN the menu.
I was hoping it was ...
I'm having trouble understanding conceptually what I should do while trying to make my first large javascript web application.
Depending on which tab a user has selected, I show different content inside a container. The content is more than just text and uses different javascript functions and events. I am using the Yahoo! UI Library'...
Hi
How do I tell the YUI-Editor to enclose all text into <p></p> and use <p></p> instead of <br> if the user issues a linebreak?
Here comes an example to illustrate what I'm trying to do:
Instead of this:
The quick brown fox<br>jumps over the lazy dog
I would like to have this:
<p><p>The quick brown fox</p><p>jumps over the lazy d...