Sunday, December 29, 2013

How to hide an image in Simple HTML

This can be done with the Style attribute as below:

<img src="" style="display:none">

or

<img src="" style="visibility:hidden">
Share:

Saturday, November 30, 2013

How to sort by row in Excel 2010

More often we come across situations where we need to sort by column in Excel. There may be situations in which we may need to sort by row as well. Here is how this can be done.

Below is the data to be sorted. We are going to sort based on row 2 in ascending order.


Select the rows to be sorted, right click and choose "Custom Sort"



Sort window:


Click on options and select "Orientation" as "Sort left to right".


Select "Sort by" as "Row 2"


Select Order as Smallest to Largest.


The data is sorted based on row 2 ascending order.



Share:

Sunday, November 10, 2013

How to iterate through an array in JQuery

Below is a code snippet for doing this:


$.each(strArray , function(i, val) {

  alert(strArray [i]);

});

Share:

Saturday, October 19, 2013

Types of Photography

Photographic work can be divided into dozens of categories, many with lots of sub-categories. The following list describes some common types of photography.
Aerial
From a plane, helicopter, balloon or other airborne device.
Adventure, Action
Adventure sports, daring feats, etc.
Amateur
Any type of photography practiced by non-professionals.
Animal, Pet
Pets and their relationships with humans. Note that the human content is often as important as the animal.
Architecture, Real Estate
The art of making property appear attractive. Often involves panoramic photography.
Artistic
Photography in which creative composition is the goal.
Astrophotography
Space photography, through a telescope.
Aura
A controversial type of photography which some claim can photograph a person's aura. Often confused with Kirlian photography.
Black & White
Not simply photography without colour, black and white photography explores shapes, tones and textures. Shadows and highlights become much more important.
Camera Phone
"Convenience" photography using a mobile phone's built-in camera. While not the best quality, camera phones have opened a new world of spontaneous, on-the-spot photo opportunities.
Commercial
Product shots, advertising, etc.
Digiscoping
Photography through a telescope or binoculars.
Documentary
Journalism, Events, Historical, Political, etc.
Event
Concerts, parties, festivals, weddings, etc.
Forensic
Police and legal photography.
Infrared
Photography in which the recording medium is sensitive to infrared light rather than the normal visible light spectrum.
Large Format
For use on posters, billboards, etc.
Kirlian
A type of contact print photography in which an object touching a photographic plate is connected to a high voltage source, creating an aura-like image. Often confused with aura photography.
Macro
The art of photographing very small and/or close-up objects.
Medical
Specialized photography for clinical purposes, i.e. to help reveal and diagnose illness.
Microscopic
Any technique for photographing objects too small to be visible to humans.
Modeling
Photographing objects to be converted into 3D models.
Nature
Landscapes, animals, plants, sea, etc.
Night
Any technique used to capture images at night. Often includes infrared photography.
Panoramic
Views of wide areas, up to complete 360° panoramas.
Paranormal
Ghosts, unexplained phenomena, etc.
People
Candid, Family, Fashion, Glamour, Passports & Visas, Portrait, Pregnancy, School, Sports, Wedding
Pinhole
Uses the most basic type of camera possible — a box with a tiny hole to let light in.
Scenic
Landscape, Cityscape
Satellite
Views of Earth from orbit.
Scientific
Any specialized photography used for scientific endeavour, e.g. electron microscopy photographs, medical photography, astrophotography, etc.
Sports
The specialized art of shooting people engaged in sports, games and adventure activities.
Stereoscopic (3-D)
Involves taking two photos simultaneously to simulate 3-D vision.
Stock
Photographs taken for distribution to other people, for use in their projects. These photos tend to be quite generic, e.g. people working, landscapes, places, etc.
Time-lapse
Photographs with a very long exposure, used to illustrate something happening over time. A popular example is a street at night with car lights blurred into long lines.
Travel
Photography to showcase locations, illustrate travel literature, etc.
Ultraviolet
Photography in which the recording medium is sensitive to ultraviolet light rather than the normal visible light spectrum.
Urban, Industrial
Emphasizing urban environments.
Water,Underwater
Any type of photography taken under water with a water-tight camera housing.

Share:

Tuesday, October 15, 2013

Why do leaves change color in the autumn?

The color of leaves are decided by the pigment called Chlorophyll. Chlorophyll has a vital function: that of capturing solar rays and utilizing the resulting energy in the manufacture of the plant's food which are simple sugars produced from water and carbon dioxide. These sugars are the basis of the plant's nourishment. During the growing season, however, the plant replenishes the chlorophyll so that the supply remains high and the leaves stay green.

As fall approaches, chlorophyll is produced at a slower rate. Shorter days cause a layer of cork cells to form at the base of each leaf, gradually closing off the flow of water and nutrients into the leaf. As the supply of chlorophyll dwindles, other pigments are slowly unmasked and begin to show through.


The "best" fall color for an area occurs during the shortening days of autumn when days are bright, sunny and cool, when nights are cool but not below freezing, and when there has been ideal rainfall.

Share:
Powered by Blogger.

Followers