YUI and KitCAD i3 JavaScript

The Yahoo! User Interface Library – known as YUI version 2.4.0 is now being used in KitCAD i3 for control and appearance of webform2 dialog boxes.

See http://developer.yahoo.com/yui/ for more information about YUI.

The footprint for YUI in the KitCADi3 new_drawing.html bottom page frame is around 45Kb with GZ compression, or 125Kb without GZ compression. The YUI files are not included in KitCADi3 setup downloads – See the YUI files used in KitCADi3 at http://www.KitchenPages.com/library/i3/yui/
NOTE: For improved security, only parts of YUI library are uploaded to KitCADi3 server.

A idle downloader will be put into the Index.html file at a later date, if possible.

12 Responses to “YUI and KitCAD i3 JavaScript”

  1. Admin Says:

    Disabled YUI for further testing (expected to be around 2 weeks).

    Under IE6 a SPACE is shown for both dialogs on the new_drawing.html page. The drag-drop move event for Object Items is affected (jumpy movement). This bug is not in YUI but caused by not calling YUI widget panel show and hide functions.

    Currently the _w32java_kgc.htm file is

    var yui = “false”;

    To enable YUI change this value to

    var yui = “true”;

    A function to change values for testing will be listed in KitCAD i3 Options…

  2. Admin Says:

    Updated KitCADi3 new_drawing.html and new_drawing.xhtml pages to use YAHOO show() and YAHOO hide() function methods.

    The pages for _i3user.htm and _i3file.htm may be updated at a later date to use YAHOO show() and YAHOO hide() function methods.

    🙂

  3. Admin Says:

    YUI 2.4.1

    Updated 2.4.0 to 2.4.1 inline, so no changes are required to alter the version number from 2.4.0 to the new verion at this time (the 2.4.1 yahoo-dom-event file was simply copied into the 2.4.0 folder).

    See changes at yahoo-dom-event

  4. Admin Says:

    YUI 2.5.0

    Updated to YUI 2.5.0 with changes made to font-min.css and container-min.css to remove Opera 9 and Firefox script error messages.

    Added a PHP file to allow GZ compression on server of .js and .css mime types

    See the KitCAD i3 YUI folder for more information.

  5. Admin Says:

    YUI 2.5.1

    Updated to YUI 2.5.1, modified font-min.css and container-min.css to remove Opera 9 and Firefox script error messages.

    And modified the GZ compressor build_yui_gz.php script to ONLY use PHP 4 commands (have warnings and error with PHP 5 that have not been fixed)

  6. Admin Says:

    YUI 2.5.2

    Updated to YUI 2.5.2, created a PHP5 file named build_yui_css.php to remove Opera 9 and Firefox CSS/script dialog error messages.

    build_yui_gz.php script still ONLY uses PHP 4 commands (have warnings and error with PHP 5 that have NOT been fixed – may of found work-around in build_yui_css.php example to replace text)

  7. Admin Says:

    YUI 2.6.0

    Updated to YUI 2.6.0, updated build_yui_css.php to remove Firefox CSS/Script dialog error messages.

    Other changes may be made over the next few days, and after testing.

  8. Admin Says:

    YUI 2.7.0b

    Updated to YUI 2.7.0, updated build_yui_css.php to remove Firefox CSS/Script dialog error messages.

    With 2.7.0 and KitCAD i3 the IE 5.5 web browser no longer supports YUI drag-drop and hides YUI styled dialogs (does not affect IE 7).

    Fixed Bug: YUI 2.7.0 KitCAD i3 IE 5.5 ‘no focus’ error dialog. Added the getElementById(‘wf2prompt’).style.display = “block”; line is added after every yui.show() command, and before a focus() call.

    Fixed Bug: YUI 2.7.0 KitCAD i3 IE 5.5 view hidden forms by adding the <style type=”text/css”><!– .yui-panel-container { visibility:visible; } –></style> line into web page headers, after the YUI stylesheet links.

  9. Admin Says:

    YUI 2.8.0 r4

    Updated to YUI 2.8.0. Updated to element-min.js from Beta version.
    Also included other files for KitchenPage.com YUI editor, colorpicker, and slider.

    Due to the modified CSS the colorpicker has a small bug (removed too much CSS), that may be corrected at a later date

    YUI 2 is the version used by KitCAD i3.
    YUI 3 is the next-generation version (or most current release) of Yahoo’s User Interface Library.

  10. Admin Says:

    YUI 2.8.2r1

    Updated to YUI 2.8.2r1.

    No SWF files are used with KitCAD i3 (preventing any SWF security issues); See YUI 2.8.2 Security Update/ blog release post and YUI 2.8.2 library support.

    NOTES: Version 3.1.0 or better of YUI uses the DOM CSS class namespace of yui3-*. All previous versions of YUI (including 2) use the class namespace of yui-*

  11. Admin Says:

    The KitCAD i3 KGC 2012 maintenance upgrade will not be including any updated YUI files (at this time). There is little or no changes that will affect function of KitCAD i3 KGC from YUI 2.8.2 to 2.9.0.

    New and existing YUI Users should upgrade all SWF files to correct security issues; See YUILibrary.com 2.9.0 vulnerability notice for more information and SWF upgrades.

  12. Admin Says:

    YUI 2.9.0

    Updated to YUI 2.9.0

    No SWF files are used with KitCAD i3 (preventing any SWF security issues); See YUILibrary.com 2.9.0 vulnerability notice for more information and SWF upgrades