Friday, May 15, 2009

Make windows that are off-screen, visible

There are times when an app will memorise its screen position.
If you have more than one monitor and switch their placement around, you may find that when that app is started, it is shown outside the monitor's visible area.

There are 2 ways to make it come back to the visible area:
  1. Using the 'move' option
    Use Alt-Tab to select the app
    press Alt-space, M and then use the left/right keys to bring it into view
  2. Use this neat little utility, called borderline
ps: Comments and/or links to this article are most welcome!

Saturday, May 9, 2009

jQuery helps overcome IE's brain-dead behaviour...again!

This is one is short and sharp.

If you've ever tried to use someArray.indexOf(somevalue) in Internet Embarrassment, you'll have discovered that Microsoft's pathetic excuse for a browser is, well, just that!


Thankfully, jQuery can provide the needed functionality with the following:
jQuery.inArray(value, Array) or
$.inArray(value, Array)
Short and sweet.

ps: You could just use Firefox or any of the other self-respecting browsers...

pps: Comments and/or links to this article are most welcome!

Friday, May 1, 2009

jQuery - a great tutorial series

Jeffrey has put together a great series of video tutorials for jQuery.

They start with the basics and go on into more advanced topics.
There is something there for everyone and it doesn't look like it is going to stop any day now.
Every time I look, there is yet another tutorial that shows up.

Check them out!


ps: Comments and/or links to this article are most welcome!

Wednesday, April 29, 2009

jQuery - a cool, powerful grid!

One of the things I've always wanted the jQuery UI to have has been a grid control.
Alas, it is quite a way down the priority list.

Up until now, I've been using tablesorter, which has been very reliable and useful.
What it was missing was resizeable and moveable columns.

I have now found a jQuery grid control, slickgrid, that supports that plus much much more.

Some of its highlights are:
  • Resizable/reorderable columns

  • Custom cell formatting editing

  • Virtual scrolling. It can manage many thousands of rows of data, while only showing the rows needed

  • Very configurable and customisable

ps: Comments and/or links to this article are most welcome!


jQuery plugin - splitter

Another very handy jQuery plugin I am looking at at the moment is this splitter.

It supports vertical and horizontal splitters, fixed or fluid widths and heights, nested splitters etc.
It has very nice look about it!
Visit it and check it out.

ps: Comments and/or links to this article are most welcome!

jQuery plugin - Imagetool

I am currently working on a number of web apps that need to do a small amount of image processing, such as cropping, area-zooming etc.

While image processing normally evokes images of fat apps, such as those done with dotNOT, I mean dotNET, I am trying to do this in a browser-based app.

I already using jQuery, so I've been keeping an eye on jQuery plugins.

One of them is Imagetool, a simple plugin that provides basic cropping and scaling capabilities.
It supports panning and zooming.

ps: Comments and/or links to this article are most welcome!

Javascript differences between Firefox and IE

Impressive Webs has a very useful article on javascript differences between Firefox and IE.
They mostly relate to getting and setting DOM properties, using straight javascript.

I use jQuery, so most of those differences disappear regardless of the browser used.

Nonetheless, it is always good to be aware of such issues.

Well done guys!

ps: Comments and/or links to this article are most welcome!