Pages

Thursday, September 15, 2011

The Link Object of Document in javascript

In java script the link object as following properties

1) Link.hash->contains the hash portion of the web address
2) Link.host->contains host information from the links web address
3) Link.href->contains entire web address specified in the link
4) Link.hostname->contains information regarding hostname from links web address
5) Link.pathname->contains path to the file link is directed to
6) Link.port->contains the port specified in web address
7) Link.protocol->protocol specified in link's web address
8) Link.search->Querystring specified in the web address
9) Link.target->object containing name of target window
10)Link.innerHtml->Text that shows up for the link

Monday, September 12, 2011

Wednesday, August 10, 2011

Check if javascript is disabled

To check if javascript is disabled and execute a code block on the same condition use the following block

Tuesday, August 2, 2011

Difference between Silverlight and WPF

Silver light is designed to build browser-based rich applications where as WPF aims at building rich windows applications

Silverlight runs on a stripped-down version of .Net framework but WPF supports IE,Firfox and Safari on Mac.

Moonlight is an effort by Microsoft to support Silverlight on Linux/Unix
http://en.wikipedia.org/wiki/Moonlight_%28runtime%29

New in different stages of . Net

.Net 2.0
Entirely new framework for developing managed web and Windows apps

.Net 3.0
Added WCF + WPF in addition to .Net 2.0

.Net 3.5
Added Linq