html

html

jQuery Formhints plugin

A very simple jquery plugin for showing hints right next to form inputs. This is a jquery adaptation of the excellent javascript & css form hint script at http://www.askthecssguy.com/2007/03/form_field_hints_with_css_and.html. I’ve made it where the form hints show up when you mouse over the input elements. You can also make a small edit to the script so that the formhints only show when the user actually clicks on an input element. Just change the “input.mouseover” to an “input.click”. (function($){ $.fn.formhints = function(params){ $(":input", this).each( function(i) { var input = $(this); if(input.next("span").length > 0) { // if this input element has a span next to...

testing syntax highlighter

Arnold Matusz’s created a great live writer plugin that uses the excellent syntax highlighter from Alex Gorbatchev. Great Stuff!! sample: public object Lookup(string tblName, string returnField, string where) { SqlCommand s = new SqlCommand(); s.Connection = conn; s.CommandText = "SELECT " + returnField + " FROM " + tblName...