Friday, 10 June 2011

jQuery animate() function (Css)


jQuery animate() function is very powerful API to manipulate html elements and add animation functionality. The use of animate function is very simple. First lets check the syntax of this function.


.animate( properties, [ duration ], [ easing ], [ callback ] )
  • properties: A map of CSS properties that the animation will move toward.
  • duration: A string or number determining how long the animation will run.
  • easing: A string indicating which easing function to use for the transition.
  • callback: A function to call once the animation is complete.
.animate( properties, options )

Automatically Mount Partitions on Login (system start)

Mount Partitions Automatically

Under Ubuntu, partitions must be 'mounted' before they can be accessed. Mounting is simply the process of telling Ubuntu a certain partition exists, what it is, and where in the filesystem it should go.
In a future release, when LiveCD does not mount hard disk partitions (yet) is fixed, this step should be almost automatic. Until then, however, the instructions provided on this page may be used to mount any needed existing data.
Four methods will be discussed:
  1. The first method is manually editing Ubuntu's filesystem table. This sounds more complex than it really is.
  2. The second method, specific to Dapper, is described at MountingWindowsPartitions.
  3. The third - simple - method is to install the pysdm package (in Gutsy) and then use System-Administration-Storage Device Manager without any manual editing of the fstab file, and disregard most of the instructions that follow.
  4. The fourth and last method does not rely on modifying Ubuntu's filesystem table. Instead, it uses the automatic facilities present in Gnome. Disks are mounted just like a regular user would do.