Friday, July 31, 2009

Amazing Time & Date

On August 7, 2009

At 12hr 34 minutes and 56 seconds on the 7th of August 2009, the time and date was-

12:34:56 07/08/09
1 2 3 4 5 6 7 8 9

This will never happen in your life again??!!!!

Thursday, July 30, 2009

Show/Hide from JavaScript Code

To make a DIV visible or hidden from JavaScript use the code

<script type="text/javascript">
    var DivToApply = document.getElementById("Div1");
    DivToApply.style.visibility = "visible";
    DivToApply.style.visibility = "hidden";
</script>



Tuesday, July 14, 2009

Make a Checkbox Read-Only

To make a html input type checkbox readonly is not possible from its default properties. So we can just use this small tricks to make it read only.

<input type="checkbox" onClick="return false;" CHECKED />Readonly
<input type="checkbox" CHECKED DISABLED />Disabled

It looks like:


Tuesday, June 9, 2009

Speedup Mozilla Firefox Page Loading



Here's something for broadband people that will really speed Firefox up:

1. Type about:config into the address bar and hit return. Scroll down and look for the following entries:

network.http.pipelining
network.http.proxy.pipelining
network.http.pipelining.maxrequests

Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.

2. Alter the entries as follows:

Set network.http.pipelining to true

Set network.http.proxy.pipelining to true

Set network.http.pipelining.maxrequests to some number like 30. This means it will make 30 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it nglayout.initialpaint.delay and set its value to 0 (zero). This value is the amount of time the browser waits before it acts on information it recieves.

If you're using a broadband connection you'll load pages MUCH faster now!


You have to close your browser after you make the changes. When you start it back up they will be in effect.

Thursday, May 21, 2009

How to get rid of the installer/configuration dialog when running Office 2007 and Office 2003 on the same system

After installing both Office 2007 and Office 2003 on same system you may face the problem of the following dialogs below every time you switch between Office 2007 Program and Office 2003 Program. Which is so disturbing and time killing.






Add the following Registry entries to solve the problem.


reg add HKCU\Software\Microsoft\Office\11.0\Word\Options /v NoReReg /t REG_DWORD /d 1

reg add HKCU\Software\Microsoft\Office\12.0\Word\Options /v NoReReg /t REG_DWORD /d 1

Just copy each line and paste in the RUN dialog (Win+R) and press OK.
After doing it if the dialogs appear further just continue the installing process for that time.
It will not shown again.