YUI Mish Mash

Override alert() with a YUI Dialog

You know and I know and everyone knows the alert boxes generated by the browsers are OLD-SCHOOL and look like garbage. Well using YUI you can easily change that by just including a little code in you page. Simply add the code below to the bottom of your page just before the end body tag [...]

  • Technorati Favorites
  • DZone
  • Facebook
  • Slashdot
  • Yahoo Buzz
  • Twitter
  • Yahoo Bookmarks
  • Reddit
  • Digg
  • MySpace
  • StumbleUpon
  • LinkedIn
  • Delicious
  • Blogger Post
  • Bebo
  • Google Reader
  • Share/Bookmark

Using the YUI Loader and Yahoo’s CDN Rollup

Using the YUI Loader and the script below will allow you to implement the YUI framework within your application with out downloading and installing the YUI framework to your server.

var loader = new YAHOO.util.YUILoader({
require: ["get","dom","event"],
loadOptional: true,
onSuccess: function() {
YAHOO.util.Event.onDOMReady(init);
[...]

  • Technorati Favorites
  • DZone
  • Facebook
  • Slashdot
  • Yahoo Buzz
  • Twitter
  • Yahoo Bookmarks
  • Reddit
  • Digg
  • MySpace
  • StumbleUpon
  • LinkedIn
  • Delicious
  • Blogger Post
  • Bebo
  • Google Reader
  • Share/Bookmark

Bookmarks

Ads