Thursday, December 17, 2009

Difference between nodeName and tagName

If an SPAN element's nodeName is requested, you will get "SPAN". The same will happen for SPAN element's tagName. But, if a text node is requested for nodeName, it will return "#text" and it's tagName will be "undefined", since it's not really a node.

Check the above using
document.getElementById("yourElementId").nodeName
document.getElementById("yourElementId").tagName

Friday, December 11, 2009

Make your website perform faster - Tips

If you are looking for information on how you can make your web pages load faster, here are few sites that should not be missed.

http://code.google.com/speed/
http://developer.yahoo.com/performance/rules.html

There are enormous numbers of articles and videos to learn from. They also discuss various tools for diagnosis and performance testing.

Here are some of the tools that can assist in this:
1. WebDeveloper (Add-on for Firefox)
2. Firebug (Add-on for Firefox)
3. Page Speed (Add-on for Firebug)
4. YSlow (Add-on for Firebug)
5. HttpFox (Add-on for Firefox)
6. HttpWatch

Growing encyclopedia on Javascript and CSS for web developers

If you're a web developer, you should look at this abundant resources on JavaScript and CSS. This covers web security, advanced DOM handling along with cross-browser and cross-platform related articles and sample codes.

http://code.google.com/doctype/

Wednesday, December 9, 2009

Manage automatic windows update behavior using registry in Windows 2000/XP

Before we start on this, let’s note that modifying the registry can cause serious problems that can make your operating system corrupted. Use this at your own risk.

The registry location is HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU where you will find following names with type REG_DWORD. The values and their resultant behavior are specified below.

a) NoAutoUpdate

0 - Enables Automatic Update which is the default setting.
1 - Disables Automatic Update

b) AUOptions

2 - Notifies about the update. Niether downloads nor installs
3 - Downloads and notifies to install
4 - Downloads automatically and installs at the schedules time

c) ScheduledInstallDay

0 - Every day Install
1 to 7 - Installs on the specific day of the week from Sunday (1) to Saturday (7).

d) ScheduledInstallTime

0 to 23 - Installs at this time of day; specified in 24-hour format

Thursday, December 3, 2009

Compare and rank Anti-Virus Software

If you're looking for a place where all the anti-virus software are compared, here it is:


Independent tests are done and various reports are made available to identify the best one in the league.


Wednesday, December 2, 2009

Quick, free and easy methods for rounded corners

1. The simplest method without much browser compatible issues is from Adam Kalsey. This uses images and the logic uses a container div element with a top div and a bottom div which has content in between. Browser incompatibilities are avoided by manipulating CSS.

Reference article: http://kalsey.com/2003/07/rounded_corners_in_css/

2. If you're looking for a simple JavaScript attachment and a much simpler function call to make the elements rounded, here it is. This is derived from multiple implementations and asks for possible credits. The quickest one to implement.

Reference article:
http://www.editsite.net/blog/rounded_corners.html

3. The ThrashBox, a nice-looking implementation with gradient effects.

Reference article:
http://www.vertexwerks.com/tests/sidebox/

4. Nifty Corners cube is another quickly implementable solution which does not use any images in the logic.; available under the GNU GPL license.

Reference articles:
http://www.html.it/articoli/nifty/index.html
http://www.html.it/articoli/niftycube/index.html