May 18th, 2009 | 1 Comment
A big part of the appeal of jQuery is that it allows you to elegantly (and efficiently) find and manipulate HTML elements with minimum lines of code.  jQuery supports this via a nice “selector” API that allows developers to query for HTML elements, and then apply “commands” to them.  One of the characteristics of jQuery commands is that they can be “chained” together – so that the result of one command can feed into another.  jQuery also includes a built-in set of animation APIs that can be used as commands.  The combination allows you to do some really...

Written by Ajay Matharu

May 18th, 2009 at 12:00 am

May 12th, 2009 | 1 Comment
Following is the code that will launch a command prompt on the client machine when you click on the link. This code runs only on Internet Explorer. I’ll shortly write code for Firefox and other browsers as well. So stay tuned. This is the javascript code that will launch the application function StartThis(CommandToRun) { if (window.ActiveXObject) { var shellObject = new ActiveXObject("WScript.Shell"); shellObject.run(CommandToRun); } } To call this code in your HTML use, Start explorer Article By: Ajay MatharuIf you like This post, you can follow Ajay Matharu...

Written by Ajay Matharu

May 12th, 2009 at 5:02 pm

Apr 9th, 2009 | No Comments
Usage: document.getElementById(div_id).style.JS_property_reference = “new_CSS_property_value”; CSS Property JavaScript Reference background background background-attachment backgroundAttachment background-color backgroundColor background-image backgroundImage background-position backgroundPosition background-repeat backgroundRepeat border border border-bottom borderBottom border-bottom-color borderBottomColor border-bottom-style borderBottomStyle border-bottom-width borderBottomWidth border-color borderColor border-left borderLeft border-left-color borderLeftColor border-left-style borderLeftStyle border-left-width borderLeftWidth border-right borderRight border-right-color borderRightColor border-right-style borderRightStyle border-right-width borderRightWidth border-style borderStyle border-top borderTop border-top-color borderTopColor border-top-style borderTopStyle border-top-width borderTopWidth border-width borderWidth clear clear clip clip color color cursor cursor display display filter filter font font font-family fontFamily font-size fontSize font-variant fontVariant font-weight fontWeight height height left left letter-spacing letterSpacing line-height lineHeight list-style listStyle list-style-image listStyleImage list-style-position listStylePosition list-style-type listStyleType margin margin margin-bottom marginBottom margin-left marginLeft margin-right marginRight margin-top marginTop overflow overflow padding padding padding-bottom paddingBottom padding-left paddingLeft padding-right paddingRight padding-top paddingTop page-break-after pageBreakAfter page-break-before pageBreakBefore position position float styleFloat text-align textAlign text-decoration textDecoration text-decoration:...

Written by Ajay Matharu

April 9th, 2009 at 11:17 am

Posted in CSS,Javascript,Web

Tagged with , ,

Page 2 of 212