Answered Featured
Thank you for choosing SabaiDiscuss as your preferred discussion tool for your WordPress website. We hope you find it useful in achieving your needs.
Attachments
- onokazu asked 13 years ago
- last edited 8 years ago
- Hi, this is a comment.
- test
- test
- נסיון
- りょうかいしましたおねがいします
- 67 more comments
- You must login to post comments
sdfsdfsdf
- demo answered 11 years ago
- asdasd
- asdasd
- @demo fdfgfbdfygh
- You must login to post comments
サンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキスト
サンプルテキストサンプルテキストサンプルテキストサンプルテキストサンプルテキスト
- demo answered 11 years ago
- You must login to post comments
function walk(node) {
switch (node.nodeType) {
case 1: // Element
if (nocode.test(node.className)) { break; }
if ('BR' === node.nodeName) {
breakAfter(node);
// Discard the
since it is now flush against a .
if (node.parentNode) {
node.parentNode.removeChild(node);
}
} else {
for (var child = node.firstChild; child; child = child.nextSibling) {
walk(child);
}
}
break;
case 3: case 4: // Text
if (isPreformatted) {
var text = node.nodeValue;
var match = text.match(lineBreak);
if (match) {
var firstLine = text.substring(0, match.index);
node.nodeValue = firstLine;
var tail = text.substring(match.index + match[0].length);
if (tail) {
var parent = node.parentNode;
parent.insertBefore(
document.createTextNode(tail), node.nextSibling);
}
breakAfter(node);
if (!firstLine) {
// Don't leave blank text nodes in the DOM.
node.parentNode.removeChild(node);
}
}
}
break;
}
}
- demo answered 11 years ago
- last edited 11 years ago
- Koment
- You must login to post comments
<iframe width=”640″ height=”360″ src=”https://www.youtube.com/embed/X6Hi09wqj14?rel=0&showinfo=0″ frameborder=”0″ allowfullscreen></iframe>
- demo answered 11 years ago
- is this a comment?
- nice try
- You must login to post comments
Your Answer