Vuoi reagire a questo messaggio? Crea un account in pochi click o accedi per continuare.

testdsadas

Andare in basso

testdsadas Empty testdsadas

Messaggio  Admin Mer Feb 08, 2012 8:29 pm


[ CODE ] [ PLAIN-TEXT ]


Code goes here...



function copy(node) {
node = node.parentNode; //


// Loop over adjacent siblings, looking for the next geshimain.
while (node.nextSibling) {
node = node.nextSibling;
if (node.nodeName === 'DIV' && node.className === 'geshimain') {
break;
}
}

if (!node) {
throw new Error("Could not locate geshimain");
}

// Locate the

node = (function () {
var divs = node.getElementsByTagName('div');
for (var x = 0; x < divs.length; x++) {
if (divs[x].className === 'text') {
return divs[x];
}
}
return null;
}());

if (!node) {
throw new Error("Could not locate text");
}

node =
'";
popup = window.open("", "window", "resizeable,width=400,height=300");
popup.document.write(node);
popup.document.close();
}
Admin
Admin
Admin

Posts : 11
Join date : 30.01.12

https://themedesigner.board-directory.net

Torna in alto Andare in basso

Torna in alto


 
Permessi in questa sezione del forum:
Non puoi rispondere agli argomenti in questo forum.