links for 2008-08-26

Permalink
Posted in:

links for 2008-08-24

Permalink
Posted in:

links for 2008-08-23

Permalink
Posted in:

links for 2008-08-21

Permalink
Posted in:

IE, importNode

document._importNode = function(oNode, bImportChildren) {
var oNew;
if(oNode.nodeType == 1) {
oNew = document.createElement(oNode.nodeName);
for(var i = 0; i < oNode.attributes.length; i++) {
if(oNode.attributes[i].nodeValue != null &&
oNode.attributes[i].nodeValue != '') {

var attrName = oNode.attributes[i].name;
if(attrName == "class") {
oNew.setAttribute("className", \
oNode.attributes[i].value);
} else {
oNew.setAttribute(attrName, \
oNode.attributes[i].value);
}
}
}

if(oNode.style != null && oNode.style.cssText != null) {
oNew.style.cssText = oNode.style.cssText;
}
} else if(oNode.nodeType == 3) {
oNew = document.createTextNode(oNode.nodeValue);
}

if(bImportChildren && oNode.hasChildNodes()) {
for(var oChild = oNode.firstChild; oChild; \
oChild = oChild.nextSibling) {
oNew.appendChild(document._importNode(oChild, true));
}
}

return oNew;
}
via: this and this
(1)
Permalink
Posted in:

IE, innerHTML

"The (innerHTML) property is read/write for all objects 
except the following, for which it is read-only:
COL, COLGROUP, FRAMESET, HTML, STYLE, TABLE, TBODY,
TFOOT, THEAD, TITLE, TR."
(source)

excellent ...
(1)
Permalink
Posted in: |

links for 2008-08-20

Permalink
Posted in:

links for 2008-08-16

Permalink
Posted in:

links for 2008-08-11 [delicious.com]

Permalink
Posted in:

Disable screensaver in Ubuntu

#To disable the screensaver:
gconftool-2 -s /apps/gnome-screensaver/idle_activation_enabled --type=bool false

#To disable monitor sleeping:
gconftool-2 -s /apps/gnome-power-manager/ac_sleep_display --type=int 0
(via: http://ubuntuforums.org/showthread.php?t=428967)
Permalink
Posted in: |

Next1-10/17

LiveSearch

Blogroll

Relayed

Archive

Buttons

  • RSS 2.0 Feed
  • Latest comments
  • XHTML 1.0 compliant
  • Powered by Flux CMS
  • Powered by Popoon

Login


BXCMSNG Errors:
Notice[8] Undefined index: 0 in [BX_PROJECT_DIR]/inc/bx/plugins/blog/categories.php at line 59.