While I was developing a web based application, one of the operations took rather long to accomplish. So I was looking for ways to create a modal busy screen with spinning image at the center. Most of them involves quite a bit of code. Then I decided to see whether I can make use of Prototype-UI to create a modal busy page and it works!! Amazingly, it doesn’t involve a lot of CSS and Javascript code either. Here are the steps:
Ajax/Prototype/Prototype-UI: Creating a modal busy screen
November 14, 2009 · Leave a Comment
→ Leave a CommentCategories: Ajax · Ajax/Prototype · Ajax/Prototype-UI · Javascript · Programming · Web
Tagged: ajax, css, javascript, Programming, Prototype, Prototype-UI
Internet Explorer Debugger – The way it reports errors is misleading
October 15, 2009 · Leave a Comment
One of my many annoyances of IE is the way it reports Javascript errors. It is misleading and it brings confusion. One of the typical errors is ‘Object Expected’, it generally means reference to an object is undefined. The common cause is a function hasn’t been declared or some syntax errors within. Keep reading →
→ Leave a CommentCategories: Browser/IE · Web
Tagged: IE8, Internet Explorer, javascript, Javascript debugger, Object expected
Ajax/Prototype/Prototype-UI: How to setup Ajax.PeriodicalUpdater with UI.Window
October 10, 2009 · Leave a Comment
This tutorial shows you how to create a Prototype-UI window with Ajax.PeriodicalUpdater. Suppose you need to create an Ajax window and the content is constantly updating. My preferable approach is to wrap both the UI.Window and Ajax.PeriodicalUpdater into one object. To combine PeriodicalUpdater with UI.Window together, the PeriodicalUpdater must be stopped when the window is closed. In order to do that, the UI.Window close event handler must be overridden and the PeriodicalUpdater object is visible to the handler.
→ Leave a CommentCategories: Ajax · Ajax/Prototype · Ajax/Prototype-UI · Javascript · Web
Tagged: ajax, Ajax.PeriodicalUpdater, javascript, PeriodicalUpdater, Programming, Prototype, Prototype-UI
Ajax/Prototype: Use onComplete to separate Javascript client code from HTML page
October 4, 2009 · Leave a Comment
Suppose that you use Ajax.Updater to update the HTML content inside a DOM element. Usually, the HTML forms or table entries require a bit of embedded Javascript code for the event handlers. However, using the onComplete property can give a nice separation between the HTML page and Javascript code. Keep reading →
→ Leave a CommentCategories: Ajax · Ajax/Prototype · Javascript · Programming · Web
Tagged: ajax, Ajax.Request, Ajax.Updater, javascript, onComplete, Programming, Prototype
Prototype-UI: A quick start guide on Ajax Windows
October 4, 2009 · Leave a Comment
Here is a short tutorial showing you how to use Prototype-UI to create Ajax windows and control the properties between windows.
Introduction
There are many window based Ajax frameworks out there in the market, ZK, Backbase, Ext-JS, YUI, GWT, etc. It depends on whether your web application requires to be client or server centric or a bit of both and the complexity of it. They all need a bit of learning curve. Recently, I came across another window based Ajax product, Prototype-UI, which is based on the well known Prototype and Scriptaculous libraries. Prototype-UI is a client centric and it is an extension work on previously known as PCW window library. Keep reading →
→ Leave a CommentCategories: Ajax · Ajax/Prototype · Ajax/Prototype-UI · Javascript · Programming · Web
Tagged: ajax, javascript, Programming, Prototype, Prototype-UI
CSS SyntaxHighlighter 2.0: short tutorial on how to create your own syntax highlighter
July 28, 2009 · 8 Comments
Introduction
This is a tutorial showing you how to create your own syntax highlighter using CSS SyntaxHighlighter 2.0. Before reading this tutorial you need to know regular expression pretty well. Keep reading →
→ 8 CommentsCategories: Javascript · Programming · Syntax Highlighter 2.0 · Web
Tagged: css, javascript, Programming, regex, regular expression, syntaxhighlighter
This is a short note of what needed to be changes to get the Intel ixgbe driver build for the FreeBSD 7.1 kernel. I needed to build a product,