Showing posts with label window effect. Show all posts
Showing posts with label window effect. Show all posts

Friday, 28 January 2011

jQuery & CSS: simulate windows (part 2)

   


In my last post I explained how to simulate a window with show/hide and close buttons. Now I'm going to show you how to complete the work adding drag and resize.
Remember our example?

Yeah! That's it. Now let's see how to make the window draggable and resizable with jQuery UI.

Wednesday, 26 January 2011

jQuery & CSS: simulate windows

   


In this post I will explain how to simulate a window effect using jQuery and CSS. What we want to achieve is to have a window like this one:

with those little close ("X") and hide/show ("_") buttons. It is very simple, so let's get to the code.