How to change jquery ui dialog overlay style

Jquery UI dialog which is useful for displaying information. You can fully customize this dialog. Here we explain how to change the style of dialog overlay style.

This is the css style. Add a new class 'overlayStyle' and apply the new styles within the brackets.
.ui-widget-overlay.overlayStyle
{
    background: repeat-x scroll 50% 50% #ff0000;
    opacity:0.3;
    filter:Alpha(Opacity=15);
}

Then use an addClass function for add the new style to the dialog
open: function (event, ui)
{
     $('.ui-widget-overlay').addClass('overlayStyle');
}

The final code is
$( "#dialog" ).dialog(
{
     open: function (event, ui)
     {
          $('.ui-widget-overlay').addClass('overlayStyle');
     }
});

How to set jquery ui dialog to fixed position

By default the jquery ui dialog will scroll with the page. Some time we need the dialog position as fixed.

Just add a style to solve this.

.ui-dialog
{
      position:fixed;
}

How to check TV remote is working by using mobile phone

In the TV remote an IR LED (Infrared LED) is used for send the signals to the receiver. An IR LED, also known as IR transmitter, is a special purpose LED that transmits infrared rays in the range of 760 nm wavelength. Such LEDs are usually made of gallium arsenide or aluminium gallium arsenide. They, along with IR receivers, are commonly used as sensors.

The appearance is same as a common LED. Since the human eye cannot see the infrared radiations, it is not possible for a person to identify whether the IR LED is working or not, unlike a common LED. To overcome this problem, the camera on a cellphone can be used. The camera can show us the IR rays being emanated from the IR LED in a circuit.
Through a digital camera display,the IR LED appears as a flashing, bright white light