dir /p -- pause
dir /w -- wide list
dir /s -- sub dir
Source
Monday, July 12, 2010
Compatible CSS for first-child
selector:first-child {declarations}*:first-child + html selector{declarations}*:first-child + html selector{declarations} * html selector{declarations}
Example:
.dateElement td:first-child { width:80px; }
*:first-child + html .dateElement td{ width:80px; }
*:first-child + html .dateElement td{ width:80px; } * html .dateElement td{width:80px;}
Example:
.dateElement td:first-child { width:80px; }
*:first-child + html .dateElement td{ width:80px; }
*:first-child + html .dateElement td{ width:80px; } * html .dateElement td{width:80px;}
Saturday, July 10, 2010
Stylesheets / CSS in Javascript
if(document.styleSheets[index].cssRules) rules=document.styleSheets[index].cssRules
else if(document.styleSheets[index].rules) rules=document.styleSheets[index].rules;
var firstRule=rules[0];
var selector=firstRule.selectorText;
var style=firstRule.style;
Maxlength in Javascript
Correct procedure:
element.maxLength=value
Wrong procedure:
element.setAttribute("maxlength",value)
element.maxLength=value
Wrong procedure:
element.setAttribute("maxlength",value)
Deleting form datas in Firefox
- Open the page which is having the form whose entries has to be deleted.
- Mouse over the form entry which has to be deleted, in the drop down showing suggestions.
- Press Shift + Delete.
Tuesday, January 12, 2010
16 jobs where salaries will decline in 2010
- Web developer
- Data warehouse analyst
- Developer/Programmer analyst
- Systems administrator
- Web designer
- Help desk Tier 3
- Software developer
- Business intelligence analyst
- QA associate/analyst
- Project manager
- Business systems analyst
- Help desk Tier 1
- Database developer
- Database administrator
- Desktop support analyst
- PC technician
Tuesday, January 5, 2010
Initializing parameterized function in onclick in javascript
var htmlElement=new Function('functionName('+param1+')');
or
htmlElement.onclick=(function(param1){return function(){functionName(param1)}})(param1);
Subscribe to:
Comments (Atom)