Tuesday, 26 July 2011

jquery Fading Animations


Fading Animations:

                         In this chapter we'll be looking at the most basic types of jQuery animations, in which the element being animated gradually appears or disappears. There are several jQuery methods that deal with fading and we'll look at each of them in turn throughout the chapter. These methods are:
fadeIn()
fadeOut()
fadeTo()
fadeToggle()
show()
hide()
toggle()

Fading Animations


Fading Animations:

                         In this chapter we'll be looking at the most basic types of jQuery animations, in which the element being animated gradually appears or disappears. There are several jQuery methods that deal with fading and we'll look at each of them in turn throughout the chapter. These methods are:
fadeIn()
fadeOut()
fadeTo()
fadeToggle()
show()
hide()
toggle()

Friday, 22 July 2011

Jquery animations


Animating with jQuery
                         jQuery provides a lot of animation methods natively, without the use of additional effects
libraries or plugins. however, many plugins contributed from the online community, including jQuery UI, the official UI library for jQuery, which extend jQuery's animation capabilities. Natively, jQuery provides methods that add sliding and fading behavior with minimal configuration, and which work cross-browser. It also exposes methods related to managing the animation queue, and provides a means for creating custom animations that work on almost all numerical CSS styles. Over the course of this book, we'll look at every
animation method that the library contains in detail. These methods are listed below:
  • ‹‹ animate()
  • ‹‹ clearQueue()
  • ‹‹ delay()
  • ‹‹ dequeue()
  • ‹‹ fadeIn()
  • ‹‹ fadeout()
  • ‹‹ fadeTo()
  • ‹‹ fadeToggle()
  • ‹‹ hide()
  • ‹‹ queue()
  • ‹‹ show()
  • ‹‹ slideDown()
  • ‹‹ slideToggle()
  • ‹‹ slideUp()
  • ‹‹ stop()
  • ‹‹ toggle()
                    All in all, it gives us a powerful and robust environment to easily add almost any type
of animation that we can conceive.
                   Animation is also a popular theme for plugins, with many available plugins that bring
different types of animations to our fingertips, for instant implementation with minimal
configuration. We'll look at several plugins later in the book.

Wednesday, 13 July 2011

Stress management

4 tips:
1) Stop the stress from rising in the first place. The best technique to deal with stress is to stop it from occurring altogether. You can incorporate other stress management techniques listed below into your stress plan before you get stressed in conflict.
2) Breathe. When your stressed levels rise, you breathe shallowly. This causes you to enter the fight or flight response that hurts your ability to effectively communicate. When your stress levels rise, take several deep, slow breathes and you will instantly reduce your stress levels.
3) Accept responsibility for how you feel. It is tempting and too easy to release your stress on other people. Do not treat people inappropriately. If you treat people in a way they don’t want to be treated, you build their stress levels, which they will be happy to put back on you.
When you accept responsibility, you live in truth. You eliminate blame. You do not become a victim of others. You take control of your feelings. Your new levels of responsibility build your self-control and ability to manage stress.
If someone causes you stress, you need to address the person by explaining to them how you feel, why you feel that way, and what can be done to fix the problem. Do not stress out the person by focusing your reason for being stressed directly on the person, but focus on the problem. Be problem oriented and not person oriented.
4) Take time out. Walking away is a guaranteed stress management technique to refresh your mind. If you can afford to go on a Caribbean cruise, go for it! For others who cannot do that, go for a walk or workout at the gym. Being active releases hormones that counter stress. Being away from the stress also takes your mind off the problem and gives you clearer thoughts and feelings. Be sure to address the problem after your time out, however, otherwise you will only have temporarily avoided the real issue.....