Jack Bates

Show:

What's happening?

  • string after commas

    I am very please with csstidy, especially that I am able to customize its output to match my coding standards. The one thing I cannot customize is the string after commas. I wish it were possible in a template, to set the string which comes after a comma. For example, in my stylesheets I prefer: .foo, .bar { font-face: serif, sans-serif; } - to - .foo,.bar { font-face...

    2008-10-20 20:21:14 UTC in CSSTidy

  • Comment: Definition for YAML

    I would like this feature because we use GeSHi in a project based on the symfony framework, which uses YAML extensively : )

    2008-10-06 20:43:34 UTC in GeSHi - Generic Syntax Highlighter

  • Comment: [#1984996]array of strings for menu attr but no menu display

    Thanks for looking into this Todd, but to clarify, I want to define menu items in the "menu" configuration attribute, not rename menu items built from the select input options. So to progressively enhance a select input into a menu button, I create a new menu button with the select input id as the first parameter. This correctly replaces the select input with a menu button. I then define the...

    2008-06-20 23:32:36 UTC in YUI Library

  • menu button input always suffixed with "_options"

    I want to create an input control for choosing from among a hierarchical tree of options. I am trying to use a YUI menu button for this purpose. Trouble is, I need the input control name to be specifically "informationObject[parentId]". However the YUI button "name" configuration attribute always gets suffixed with "_options". So setting the "name" configuration attribute to...

    2008-04-11 21:14:50 UTC in YUI Library

  • [#1858473] submenu item missing from form data

    I constructed a nested YUI menu button from JavaScript. It is appended to a form, so when an item is selected and the form is submitted, the form data includes the selected menu item. This works for items which are not in a submenu. When an item from a submenu is selected and the form is submitted, the form data is missing the selected submenu item. Instead, the form data includes the...

    2008-04-05 00:39:06 UTC in YUI Library

  • [#1858480] selectedMenuItem not initialized

    I construct a YUI menu button from a element where one of its elements is "selected". However YUI does not initialize the selectedMenuItem configuration attribute, so when the form is submitted, the input is missing: http://cgi.sfu.ca/~jdbates/tmp/yui/200804040/test.html The test case is a simple with a submit button and two elements. The ...

    2008-04-04 21:30:17 UTC in YUI Library

  • Comment: [#1839289] menu missing blank <option>

    Thanks Todd, your point about usability / accessibility is one I hadn't considered. So if I fix the usability / accessibility of my elements, I won't have this YUI Menu problem. I'm working on a database application and currently use elements to choose the target of foreign key columns. The text is the name of the target. Where the column is allowed to be NULL, I...

    2008-03-28 16:15:56 UTC in YUI Library

  • [#1839289] menu missing blank <option>

    http://cgi.sfu.ca/~jdbates/tmp/yui/200803240/test.html I use the following simple script to build a menu button from a element: var button = new YAHOO.widget.Button('bar', { container: 'foo', label: 'AAA', menu: 'bar', type: 'menu' }); However it misses the blank : .

    2008-03-24 22:46:54 UTC in YUI Library

  • Comment: [#1793511] selecting menu item jumps viewport to top of page

    Thanks, I upgraded to YUI 2.5.1 this morning and confirm that the viewport does no longer jump to the top of page when a menu item is selected. Much thanks, Jack.

    2008-03-24 16:09:11 UTC in YUI Library

  • [#1984996]array of strings for menu attr but no menu display

    As I understand the button documentation, the "menu" attribute supports, among other alternatives, an "Array of strings representing the text labels for each menu item in the menu." I have an existing element which I want rendered as a menu button, and I want the list of menu items to be different from the list of options. I tried accomplishing this using an "Array of...

    2008-03-07 19:03:32 UTC in YUI Library

About Me

  • 2002-10-10 (7 years ago)
  • 626583
  • jablko (My Site)
  • Jack Bates

Send me a message