Posts

Showing posts from June, 2007

JQuery Interface resizable div

A couple of months ago I've discovered JQuery's Interface widgets and I must say it's a very nice set of extensions even though it does have issues with certain browsers (the homepage crashes IE7 for example). That said, I've quickly tried to do stuff I needed for my project. For instance, I had a div on one page that I dynamically refill with some data periodically. As it needed to be in a limited space what I did at the time is something like this: < div style = "overflow:auto;height:200px;" > This of course had the disadvantage to be completely fixed in height, but still provided the possibility to scroll around the data in the layer. So, I decided to use Interface in order to give the div the ability to resize. As the main Interface page offered only two examples of a resizable textbox and a selection over an image I've decided to publish this example where I show how to do the same thing but with a div (layer). You'll notice the expander w

Bug in Solitare

Image
I've been doing a casual game of Solitaire (if you can call doing Vegas in 79 seconds and an average solve in about 100-150 sec. casual) when all of a sudden something started to look odd. Can you spot the problem?