RIA & Web Sample Code
-
Converting HTML Colour to RGB
by Kym Manson
How to convert a HTML colour code to a RGB format.
-
Encoding your script files
by ElementK Journals
Protect both your server-side and client-side scripting by using the MS encoding utility
-
Autolink
by David Nishimoto
Automatic jump to a url on when the mouse moves over a link
-
Format field to currency
by Super Tal
Formats a field to US dollar currency style.
-
Data-shaped SQL clauses
by ElementK Journals
How to build a data-shaped SQL clause for VB
-
HTML COLOR Selector
by Colin Harman MACITP
Select a colour using the Common Dialog control, and automatically convert it to the HTML hex code
-
Count Down
by Nick Avery
Count down the number of days to a date.
-
Optional Arguments in JScript
by James Crowley
How to create optional arguments in JScript
-
Create a Percentage Table
by Julia Lynne Green
The task at hand was to establish a chart that recorded the number of magazines checked off, and then compute the percentages of the total every time the form is submitted.
-
HTML Editor
by James Crowley
A (very) basic HTML editor!
-
The AJAX "Top 5" security tips
by Moe Tarhini
There is no doubt that AJAX and AJAX-style technologies are the way forward for web design. Developers can create true "applications" on the web like never before - however care needs to be taken with AJAX, in order to keep web sites secure.
-
Dynamically filling ComboBoxes
by Kiran Pai
Filling the values of a dropdown SelectMenu depending on the selection in another Menu.
-
Visitors' Browser Information
by James Crowley
How to get information about the visitors browser
-
Converting a CR to a TAB in a Web Page
by Bruce Johnson
Pretty self explanatory, don't you think?
-
Browser Detect
by nzjonboy
Javascript to detect the browser being used to view your site
-
Creating Rollover effects
by Kiran Pai
How to change images using the MouseOver and MouseOut events to create a mouse roll-over effect
-
XML/XSD Schema Validator
by joe miguel
To teach how to write XML and Schemas (or DTD's). Some of the schemas language can be difficult to understand. I needed an easy (and free) way to know if my work was correct, if not then exactly what was wrong with it. As implied above, this example will also show you how to use schemas in your own programs.
-
How to validate an XML file with an XSD file
by Edward Tanguay
Demonstrates an ASP.NET Web Form which tells you if your file is not well-formed and then if it is not valid it lists out the specific reason (like in XMLSpy), quite helpful to find an error in a large XML file as it returns the line number on which the error occurred as well as the tag name.
-
Highlighting phrases in text
by David Nishimoto
Returns a character phrase with html highlighting a Pattern. The hightlight is dependant on the Type.
-
Auto Form
by Santi Mondejar
Automatically generate a HTML form from an SQL query