A Tech Log

March 31, 2009

JQuery BeautyTips (tip popup)

Filed under: Development — adallow @ 3:27 pm
Tags:

BeautyTips is a jQuery tooltips plugin which uses the canvas drawing element in the HTML5 spec in order to dynamically draw tooltips (sometimes called “talk bubbles” or “help balloons”) associated with a html element on the page. These tips are highly configurable and can be triggered in many different ways.

http://www.lullabot.com/files/bt/bt-latest/DEMO/index.html

February 2, 2009

Using jQuery with ASP .NET AJAX to create a cascading CheckBoxList

Filed under: Development — adallow @ 10:33 am
Tags: , ,

http://weblogs.asp.net/alnurismail/archive/2008/11/21/a.aspx

November 13, 2008

JQuery now comes with Visual Studio and has VS intellisense!

Filed under: Development — adallow @ 12:31 pm
Tags:

VS2008 SP1 supports JQuery intellisense. We are using JQuery a bit, the JSONP support is really good and helps us with our cross domain scripting.

Re intellisense see:

http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx

October 19, 2008

JQuery and alternating table row colors

Filed under: Development — adallow @ 6:45 am
Tags:

From http://www.packtpub.com/article/jquery-table-manipulation-part2

Check out the link for more details and more complex examples.

Can be as simple as two lines of code to alternate the background color:

$(document).ready(function() {

$(‘table.sortable tbody tr:odd’).addClass(‘odd’);

$(‘table.sortable tbody tr:even’).addClass(‘even’);

});

If we declare background colors for the odd and even classes as follows, we can see the rows in alternating shades of gray:

tr.even {

background-color: #eee;

}

tr.odd {

background-color: #ddd;

}

Create a free website or blog at WordPress.com.