JavaScript DOM Text Clips (PN2)
More Text Clips for PN2. Work in progress. Useful when developing web pages, or any scripting that uses the W3C DOM and JavaScript.
<?xml version="1.0"?> <clips name="JavaScript DOM"> <!-- reference DOM 1 latest: http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html --> <!-- reference DOM 2 core latest: http://www.w3.org/TR/DOM-Level-2-Core/ecma-script-binding.html --> <!-- reference DOM 2 html latest: http://www.w3.org/TR/DOM-Level-2-HTML/ecma-script-binding.html --> <clip name="------ Document properties ------"></clip> <clip name="anchors">document.anchors</clip> <clip name="applets">document.applets</clip> <clip name="body">document.body</clip> <clip name="cookie">document.cookie</clip> <clip name="domain">document.domain</clip> <clip name="forms">document.forms</clip> <clip name="images">document.images</clip> <clip name="links">document.links</clip> <clip name="referrer">document.referrer</clip> <clip name="title">document.title</clip> <clip name="URL">document.URL</clip> <clip name="------ Document methods ------"></clip> <clip name="close">document.close()</clip> <clip name="createElement">document.createElement("|")</clip> <clip name="createTextNode">document.createTextNode("|")</clip> <clip name="getElementById">document.getElementById("|")</clip> <clip name="getElementsByTagName">document.getElementsByTagName("|")</clip> <clip name="open">document.open()|</clip> <clip name="write">document.write("|")</clip> <clip name="writeln">document.writeln("|")</clip> <clip name="------ Node properties ------"></clip> <clip name=".attributes">|.attributes</clip> <clip name=".childNodes">|.childNodes</clip> <clip name=".firstChild">|.firstChild</clip> <clip name=".lastChild">|.lastChild</clip> <clip name=".nextSibling">|.nextSibling</clip> <clip name=".nodeName">|.nodeName</clip> <clip name=".nodeType">|.nodeType</clip> <clip name=".nodeValue">|.nodeValue</clip> <clip name=".ownerDocument">|.ownerDocument</clip> <clip name=".parentNode">|.parentNode</clip> <clip name=".previousSibling">|.previousSibling</clip> <clip name="------ Node methods ------"></clip> <clip name=".appendChild(newChild)">|.appendChild(newChild)</clip> <clip name=".cloneNode(deep)">|.cloneNode(deep)</clip> <clip name=".hasChildNodes()">|.hasChildNodes()</clip> <clip name=".insertBefore(newChild, refChild)">|.insertBefore(newChild, refChild)</clip> <clip name=".removeChild(oldChild)">|.removeChild(oldChild)</clip> <clip name=".replaceChild(newChild, oldChild)">|.replaceChild(newChild, oldChild)</clip> <clip name="------ Attr object ------"></clip> <clip name=".name">|.name</clip> <clip name=".specified">|.specified</clip> <clip name=".value">|.value</clip> <clip name="------ Element object ------"></clip> <clip name=".getAttribute(name)">|.getAttribute(name)</clip> <clip name=".getAttributeNode(name)">|.getAttributeNode(name)</clip> <clip name=".normalize()">|.normalize()</clip> <clip name=".getElementsByTagName(name)">|.getElementsByTagName(name)</clip> <clip name=".removeAttributeNode(oldAttr)">|.removeAttributeNode(oldAttr)</clip> <clip name=".setAttribute(name, value)">|.setAttribute(name, value)</clip> <clip name=".setAttributeNode(newAttr)">|.setAttributeNode(newAttr)</clip> <clip name=".tagName">|.tagName</clip> <clip name="------ HTMLElement object ------"></clip> <clip name=".className">|.className</clip> <clip name=".dir">|.dir</clip> <clip name=".id">|.id</clip> <clip name=".lang">|.lang</clip> <clip name=".title">|.title</clip> <clip name="------ HTMLHtmlElement object ------"></clip> <clip name=".version">|.version</clip> <clip name="------ HTMLHeadElement object ------"></clip> <clip name=".profile">|.profile</clip> <clip name="------ HTMLLinkElement object ------"></clip> <clip name=".charset">|.charset</clip> <clip name=".disabled">|.disabled</clip> <clip name=".href">|.href</clip> <clip name=".hreflang">|.hreflang</clip> <clip name=".media">|.media</clip> <clip name=".rel">|.rel</clip> <clip name=".rev">|.rev</clip> <clip name=".target">|.target</clip> <clip name=".type">|.type</clip> <clip name="------ HTMLTitleElement object ------"></clip> <clip name=".text">|.text</clip> <clip name="------ HTMLMetaElement object ------"></clip> <clip name=".content">|.content</clip> <clip name=".httpEquiv">|.httpEquiv</clip> <clip name=".name">|.name</clip> <clip name=".scheme">|.scheme</clip> <clip name="------ HTMLBaseElement object ------"></clip> <clip name=".href">|.href</clip> <clip name=".target">|.target</clip> <clip name="------ HTMLIsIndexElement object ------"></clip> <clip name=".form">|.form</clip> <clip name=".prompt">|.prompt</clip> <clip name="------ HTMLStyleElement object ------"></clip> <clip name=".disabled">|.disabled</clip> <clip name=".media">|.media</clip> <clip name=".type">|.type</clip> <clip name="------ HTMLBodyElement object ------"></clip> <clip name=".aLink">|.aLink</clip> <clip name=".background">|.background</clip> <clip name=".bgColor">|.bgColor</clip> <clip name=".link">|.link</clip> <clip name=".text">|.text</clip> <clip name=".vLink">|.vLink</clip> <clip name="------ HTMLFormElement properties ------"></clip> <clip name=".acceptCharset">|.acceptCharset</clip> <clip name=".action">|.action</clip> <clip name=".elements">|.elements</clip> <clip name=".enctype">|.enctype</clip> <clip name=".length">|.length</clip> <clip name=".method">|.method</clip> <clip name=".name">|.name</clip> <clip name=".target">|.target</clip> <clip name="------ HTMLFormElement methods ------"></clip> <clip name=".reset()">|.reset()</clip> <clip name=".submit()">|.submit()</clip> <clip name="------ HTMLSelectElement properties ------"></clip> <clip name=".disabled">|.disabled</clip> <clip name=".form">|.form</clip> <clip name=".length">|.length</clip> <clip name=".multiple">|.multiple</clip> <clip name=".name">|.name</clip> <clip name=".options">|.options</clip> <clip name=".selectedIndex">|.selectedIndex</clip> <clip name=".size">|.size</clip> <clip name=".tabIndex">|.tabIndex</clip> <clip name=".type">|.type</clip> <clip name=".value">|.value</clip> <clip name="------ HTMLSelectElement methods ------"></clip> <clip name=".add(element, before)">|.add(element, before)</clip> <clip name=".blur()">|.blur()</clip> <clip name=".focus()">|.focus()</clip> <clip name=".remove(index)">|.remove(index)</clip> <clip name="------ HTMLOptGroupElement object ------"></clip> <clip name=".disabled">|.disabled</clip> <clip name=".label">|.label</clip> <clip name="------ HTMLOptionElement object ------"></clip> <clip name=".defaultSelected">|.defaultSelected</clip> <clip name=".disabled">|.disabled</clip> <clip name=".form">|.form</clip> <clip name=".index">|.index</clip> <clip name=".label">|.label</clip> <clip name=".selected">|.selected</clip> <clip name=".text">|.text</clip> <clip name=".value">|.value</clip> <clip name="------ HTMLInputElement properties ------"></clip> <clip name=".accept">|.accept</clip> <clip name=".accessKey">|.accessKey</clip> <clip name=".align">|.align</clip> <clip name=".alt">|.alt</clip> <clip name=".checked">|.checked</clip> <clip name=".defaultChecked">|.defaultChecked</clip> <clip name=".defaultValue">|.defaultValue</clip> <clip name=".disabled">|.disabled</clip> <clip name=".form">|.form</clip> <clip name=".maxLength">|.maxLength</clip> <clip name=".name">|.name</clip> <clip name=".readOnly">|.readOnly</clip> <clip name=".size">|.size</clip> <clip name=".src">|.src</clip> <clip name=".tabIndex">|.tabIndex</clip> <clip name=".type">|.type</clip> <clip name=".useMap">|.useMap</clip> <clip name=".value">|.value</clip> <clip name="------ HTMLInputElement methods ------"></clip> <clip name=".blur()">|.blur()</clip> <clip name=".click()">|.click()</clip> <clip name=".focus()">|.focus()</clip> <clip name=".select()">|.select()</clip> <clip name="------ HTMLTextAreaElement properties ------"></clip> <clip name=".accessKey">|.accessKey</clip> <clip name=".cols">|.cols</clip> <clip name=".defaultValue">|.defaultValue</clip> <clip name=".disabled">|.disabled</clip> <clip name=".form">|.form</clip> <clip name=".name">|.name</clip> <clip name=".readOnly">|.readOnly</clip> <clip name=".rows">|.rows</clip> <clip name=".tabIndex">|.tabIndex</clip> <clip name=".type">|.type</clip> <clip name=".value">|.value</clip> <clip name="------ HTMLTextAreaElement methods ------"></clip> <clip name=".blur()">|.blur()</clip> <clip name=".focus()">|.focus()</clip> <clip name=".select()">|.select()</clip> <clip name="------ HTMLButtonElement object ------"></clip> <clip name=".accessKey">|.accessKey</clip> <clip name=".disabled">|.disabled</clip> <clip name=".form">|.form</clip> <clip name=".name">|.name</clip> <clip name=".tabIndex">|.tabIndex</clip> <clip name=".type">|.type</clip> <clip name=".value">|.value</clip> <clip name="------ HTMLLabelElement object ------"></clip> <clip name=".accessKey">|.accessKey</clip> <clip name=".form">|.form</clip> <clip name=".htmlFor">|.htmlFor</clip> <clip name="------ HTMLFieldSetElement object ------"></clip> <clip name=".form">|.form</clip> <clip name="------ HTMLLegendElement object ------"></clip> <clip name=".accessKey">|.accessKey</clip> <clip name=".align">|.align</clip> <clip name=".form">|.form</clip> <clip name="------ HTMLUListElement object ------"></clip> <clip name=".compact">|.compact</clip> <clip name=".type">|.type</clip> <clip name="------ HTMLOListElement object ------"></clip> <clip name=".compact">|.compact</clip> <clip name=".start">|.start</clip> <clip name=".type">|.type</clip> <clip name="------ HTMLDList/Directory/MenuElement object ------"></clip> <clip name=".compact">|.compact</clip> <clip name="------ HTMLLIElement object ------"></clip> <clip name=".type">|.type</clip> <clip name=".value">|.value</clip> <clip name="------ HTMLBlockquote/QuoteElement object ------"></clip> <clip name=".cite">|.cite</clip> <clip name="------ HTMLDiv/Paragraph/HeadingElement object ------"></clip> <clip name=".align">|.align</clip> <clip name="------ HTMLPreElement object ------"></clip> <clip name=".width">|.width</clip> <clip name="------ HTMLBRElement object ------"></clip> <clip name=".clear">|.clear</clip> <clip name="------ HTMLBaseFont/FontElement object ------"></clip> <clip name=".color">|.color</clip> <clip name=".face">|.face</clip> <clip name=".size">|.size</clip> <clip name="------ HTMLHRElement object ------"></clip> <clip name=".align">|.align</clip> <clip name=".noShade">|.noShade</clip> <clip name=".size">|.size</clip> <clip name=".width">|.width</clip> <clip name="------ HTMLModElement object ------"></clip> <clip name=".cite">|.cite</clip> <clip name=".dateTime">|.dateTime</clip> <clip name="------ HTMLAnchorElement properties ------"></clip> <clip name=".accessKey">|.accessKey</clip> <clip name=".charset">|.charset</clip> <clip name=".coords">|.coords</clip> <clip name=".href">|.href</clip> <clip name=".hreflang">|.hreflang</clip> <clip name=".name">|.name</clip> <clip name=".rel">|.rel</clip> <clip name=".rev">|.rev</clip> <clip name=".shape">|.shape</clip> <clip name=".tabIndex">|.tabIndex</clip> <clip name=".target">|.target</clip> <clip name=".type">|.type</clip> <clip name="------ HTMLAnchorElement methods ------"></clip> <clip name=".blur()">|.blur()</clip> <clip name=".focus()">|.focus()</clip> <clip name="------ HTMLImageElement object ------"></clip> <clip name=".align">|.align</clip> <clip name=".alt">|.alt</clip> <clip name=".border">|.border</clip> <clip name=".height">|.height</clip> <clip name=".hspace">|.hspace</clip> <clip name=".isMap">|.isMap</clip> <clip name=".longDesc">|.longDesc</clip> <clip name=".lowSrc">|.lowSrc</clip> <clip name=".name">|.name</clip> <clip name=".src">|.src</clip> <clip name=".useMap">|.useMap</clip> <clip name=".vspace">|.vspace</clip> <clip name=".width">|.width</clip> <clip name="------ HTMLObjectElement object ------"></clip> <clip name=".align">|.align</clip> <clip name=".archive">|.archive</clip> <clip name=".border">|.border</clip> <clip name=".code">|.code</clip> <clip name=".codeBase">|.codeBase</clip> <clip name=".codeType">|.codeType</clip> <clip name=".data">|.data</clip> <clip name=".declare">|.declare</clip> <clip name=".form">|.form</clip> <clip name=".height">|.height</clip> <clip name=".hspace">|.hspace</clip> <clip name=".name">|.name</clip> <clip name=".standby">|.standby</clip> <clip name=".tabIndex">|.tabIndex</clip> <clip name=".type">|.type</clip> <clip name=".useMap">|.useMap</clip> <clip name=".vspace">|.vspace</clip> <clip name=".width">|.width</clip> <clip name="------ HTMLParamElement object ------"></clip> <clip name=".name">|.name</clip> <clip name=".type">|.type</clip> <clip name=".value">|.value</clip> <clip name=".valueType">|.valueType</clip> <clip name="------ HTMLAppletElement object ------"></clip> <clip name=".align">|.align</clip> <clip name=".alt">|.alt</clip> <clip name=".archive">|.archive</clip> <clip name=".code">|.code</clip> <clip name=".codeBase">|.codeBase</clip> <clip name=".height">|.height</clip> <clip name=".hspace">|.hspace</clip> <clip name=".name">|.name</clip> <clip name=".object">|.object</clip> <clip name=".vspace">|.vspace</clip> <clip name=".width">|.width</clip> <clip name="------ HTMLMapElement object ------"></clip> <clip name=".areas">|.areas</clip> <clip name=".name">|.name</clip> <clip name="------ HTMLAreaElement object ------"></clip> <clip name=".accessKey">|.accessKey</clip> <clip name=".alt">|.alt</clip> <clip name=".coords">|.coords</clip> <clip name=".href">|.href</clip> <clip name=".noHref">|.noHref</clip> <clip name=".shape">|.shape</clip> <clip name=".tabIndex">|.tabIndex</clip> <clip name=".target">|.target</clip> <clip name="------ HTMLScriptElement object ------"></clip> <clip name=".charset">|.charset</clip> <clip name=".defer">|.defer</clip> <clip name=".event">|.event</clip> <clip name=".htmlFor">|.htmlFor</clip> <clip name=".src">|.src</clip> <clip name=".text">|.text</clip> <clip name=".type">|.type</clip> <clip name="------ HTMLTableElement properties ------"></clip> <clip name=".align">|.align</clip> <clip name=".bgColor">|.bgColor</clip> <clip name=".border">|.border</clip> <clip name=".caption">|.caption</clip> <clip name=".cellPadding">|.cellPadding</clip> <clip name=".cellSpacing">|.cellSpacing</clip> <clip name=".frame">|.frame</clip> <clip name=".rows">|.rows</clip> <clip name=".rules">|.rules</clip> <clip name=".summary">|.summary</clip> <clip name=".tFoot">|.tFoot</clip> <clip name=".tHead">|.tHead</clip> <clip name=".width">|.width</clip> <clip name="------ HTMLTableElement methods ------"></clip> <clip name=".createCaption()">|.createCaption()</clip> <clip name=".createTFoot()">|.createTFoot()</clip> <clip name=".createTHead()">|.createTHead()</clip> <clip name=".deleteCaption()">|.deleteCaption()</clip> <clip name=".deleteTFoot()">|.deleteTFoot()</clip> <clip name=".deleteTHead()">|.deleteTHead()</clip> <clip name=".deleteRow(index)">|.deleteRow(index)</clip> <clip name=".insertRow(index)">|.insertRow(index)</clip> <clip name="------ HTMLTableCaptionElement object ------"></clip> <clip name=".align">|.align</clip> <clip name="------ HTMLTableColElement object ------"></clip> <clip name=".align">|.align</clip> <clip name=".ch">|.ch</clip> <clip name=".chOff">|.chOff</clip> <clip name=".span">|.span</clip> <clip name=".vAlign">|.vAlign</clip> <clip name=".width">|.width</clip> <clip name="------ HTMLTableSectionElement properties ------"></clip> <clip name=".align">|.align</clip> <clip name=".ch">|.ch</clip> <clip name=".chOff">|.chOff</clip> <clip name=".vAlign">|.vAlign</clip> <clip name=".width">|.width</clip> <clip name="------ HTMLTableSectionElement methods ------"></clip> <clip name=".deleteRow(index)">|.deleteRow(index)</clip> <clip name=".insertRow(index)">|.insertRow(index)</clip> <clip name="------ HTMLTableRowElement properties ------"></clip> <clip name=".align">|.align</clip> <clip name=".bgColor">|.bgColor</clip> <clip name=".cells">|.cells</clip> <clip name=".ch">|.ch</clip> <clip name=".chOff">|.chOff</clip> <clip name=".rowIndex">|.rowIndex</clip> <clip name=".sectionRowIndex">|.sectionRowIndex</clip> <clip name=".vAlign">|.vAlign</clip> <clip name="------ HTMLTableRowElement methods ------"></clip> <clip name=".deleteCell(index)">|.deleteCell(index)</clip> <clip name=".insertCell(index)">|.insertCell(index)</clip> <clip name="------ HTMLTableCellElement object ------"></clip> <clip name=".abbr">|.abbr</clip> <clip name=".align">|.align</clip> <clip name=".axis">|.axis</clip> <clip name=".bgColor">|.bgColor</clip> <clip name=".cellIndex">|.cellIndex</clip> <clip name=".ch">|.ch</clip> <clip name=".chOff">|.chOff</clip> <clip name=".colSpan">|.colSpan</clip> <clip name=".headers">|.headers</clip> <clip name=".height">|.height</clip> <clip name=".noWrap">|.noWrap</clip> <clip name=".rowSpan">|.rowSpan</clip> <clip name=".scope">|.scope</clip> <clip name=".vAlign">|.vAlign</clip> <clip name=".width">|.width</clip> <clip name="------ HTMLFrameSetElement object ------"></clip> <clip name=".cols">|.cols</clip> <clip name=".rows">|.rows</clip> <clip name="------ HTMLFrameElement object ------"></clip> <clip name=".frameBorder">|.frameBorder</clip> <clip name=".longDesc">|.longDesc</clip> <clip name=".marginHeight">|.marginHeight</clip> <clip name=".marginWidth">|.marginWidth</clip> <clip name=".name">|.name</clip> <clip name=".noResize">|.noResize</clip> <clip name=".scrolling">|.scrolling</clip> <clip name=".src">|.src</clip> <clip name="------ HTMLIFrameElement object ------"></clip> <clip name=".align">|.align</clip> <clip name=".frameBorder">|.frameBorder</clip> <clip name=".height">|.height</clip> <clip name=".longDesc">|.longDesc</clip> <clip name=".marginHeight">|.marginHeight</clip> <clip name=".marginWidth">|.marginWidth</clip> <clip name=".name">|.name</clip> <clip name=".scrolling">|.scrolling</clip> <clip name=".src">|.src</clip> <clip name=".width">|.width</clip> </clips>
Tags: Web Developer Blog, PN2
Comments