add - Adds an element, in the appropriate collection, number is unessential. object.add.{element[,number]} . EXAMPLE - to add a new element (object) in a collection OPTIONS of the text SELECT.
<SELECT id=devadd></SELECT>
addAmbient - Adds external illumination with use of the filter Light Filter Effect. object.style.filters.Light(n).AddAmbient{R,G,B,Intensity} , To apply it was not possible.
AddCone - Adds in a collection of filters of the tag a conic source of light. object.style.filters.light(n).Addcone{x1, y1, z1, x2, y2, z2, R, G, B, intensity, expansion} ,To apply it was not possible.
AddImport - Adds the table of styles from the URL address. DevInteger=object.addImport(url,[number])
AddPoint - Adds in a collection of filters of the tag a dot source of light. object.style.filters.Light(n).addPoint{x,y,z,R,G,B,intensity} ,To apply it was not possible.
addRule - Adds a line in the table of styles. DevInteger=object.addRule(selector, style) , To apply it was not possible.
alert - Shows a window of the warning with the button OK, method of object WINDOW. object_window.alert([message]) . EXAMPLE - to show the warning in a current window:
apply - Applies the filter of the tag under number from a collection of filters of this tag, is applied with a method "play". object.filters.item(Number_of_the_filter).apply() , object.filters(Number_of_the_filter).apply() . EXAMPLE - disappearrance of object on click during 3 seconds. In disappearing object, in STYLE the presence of value WIDTH is necessary:
Disappearing object <STRONG id=devfil title="Place the cursor inside of a framework of an example and press Enter and I shall become invisible." style="FONT-SIZE: x-large; FILTER: blendtrans(duration=3); WIDTH: 200px">Disappearing object</STRONG>
assign - Loads other page, method of object LOCATION. window.location.assign(url) ,
back - Loads previous page, method of object HISTORY. Window.History.back()
blur - Removes focus from object. object.blur()
changeColor - Changes colour of the filter. object.style.filters.light(n).changeColor(number of colour, intensity,fAbsolute) , To apply it was not possible.
changeStrength - Changes intensity of light. object.style.filters.light(n).changeStrenght(number of colour, intensity,fAbsolute) , To apply it was not possible.
clear - Removes all sources of light of the filter "Lightfilter". object.style.filters.lenght(n).clear ,To apply it was not possible
clear_s - Deletes the selected area of the text, method of object SELECTION. window.document.selection.clear() , EXAMPLE - to remove the selected text in an active window:
The text for removal. Select me, place the cursor on the text of an example and press "Enter", the example will be executed. As it is possible removals of any selected text do not delete the text, which is a manual, or it is necessary to overload a manual to restore it.
clearInterval - Clears the timer, the interval was a set of a method "setInterval". object.clearInterval(timer_ID) . Example - to clean the timer, to charge the timer "dev_interval" on performance of the program "program_name" each 10000 miliseconds:
clearTimeout - Clears the timer, the set of an interval was made by a method "setTimeout". object.clearTimeout(timer_ID) . Example - to clean the timer, to set the timer "dev_interval" on performance of the program "program_name" in 10000 miliseconds after a load of page:
click - Initiates event CLICK. object.click() , EXAMPLE - to initiate event onclick of object TEST (id=devclick):
TEST <H1 language=vbs id=devclick onclick='alert("There was an event CLICK of object the TEST.")'>TEST</H1>
close - object.close() - Closes a window of page. object_window.close() , EXAMPLE - to open in a new window the document "ac.htm" to show a window of the message and on click "OK" to close:
collapse - The area of object TEXTAREA compresses in a point in the beginning or end current.
object_textarea.collapse(true) - in a beginning;
object_textarea.collapse(false) - in the end.
EXAMPLE - to create textual area from the document, to reduce area up to a point in the party of the end, to look the text of area:
compareEndPoints - Compares two textual areas on final positions of areas and returns value of comparison:
area_1.compareEndPoints("StartToStart",area_2) - is compared began area_1 with the beginning area_2 ;
area_1.compareEndPoints("EndToEnd",area_2) - the end area_1 is compared to the end area_2;
area_1.compareEndPoints("StartToEnd",area_2) - began area_1 is compared to the end of area_2;
area_1.compareEndPoints("EndToStart",area_2) - the end of area_1 is compared to the beginning of area_2.
Returned values:
-1 - if the first compared position is located before second;
0 - if the first compared position coincides from a final position second;
1 - if the first compared position is located after second.
EXAMPLE - to create area of a body of page to duplicate it, received two areas to compare and to show result of comparison:
confirm - Shows a window confirmation with the message and buttons "OK", "Cancel". object_window.confirm([The message]) . EXAMPLE 1 - to show a window - confirmation in a current window:
Example 2 - focus to transfer on "another_opened_a_window" and in it to show a window confirmation:
contains - The "True" returns if the object_2 is contained in object_1. DevBoolean=object_1.contains(object_2) . EXAMPLE - to show value variable "devboolean" after assignment to it of result of check of the contents of object "devcon2" in object "devcon1":
I object with id=devcon1 inside me am: , <STRONG id=devcon1 style="BACKGROUND: silver">I object with id=devcon1 inside me am:<BUTTON id=devcon2>object with id=devcon2</BUTTON></STRONG>
createElement - Creates object on a name of the tag, method of object DOCUMENT. Set devnew=window.document.createElement("tag_name") . EXAMPLE - to create object "select", to receive the reference to it and to show its html-code:
createRange - Creates object TEXTRANGE from the area, selected by the mouse, method of object SELECTION. set devtextrange=window.document.selection.createRange() , EXAMPLE - to show property "htmltext" of the selected area. Select any area and press the button:
createTextRange - Creates object TextRange on the basis of object OBJECT. The following of variant of object OBJECT are possible:
The document - Set DevTextrange=window.document.body.createTextRange() ;
OBJECT TEXTAREA - Set DevTextrange=object_textarea.createTextRange() ;
OBJECT BUTTON - Set DevTextrange=object_button.createTextRange() ;
OBJECT INPUT - Set DevTextrange=object_input.createTextRange() .
EXAMPLE - to create textual area of the button "Test object" and to show its property "htmltext":
<BUTTON id=devctr>Test object</BUTTON>
duplicate - Creates copy of object TEXTRANGE. Set DevTextRange=object_textrange.duplicate() . EXAMPLE - to create textual area from a body of page, to create a double of the received area, to show its first 50 symbols of a html-code:
elementFromPoint - Returns object with the given coordinates, method of object DOCUMENT. window.document.elementFromPoint(x,y) , Set DevElement=window.document.elementFromPoint(x,y) . EXAMPLE - to show a HTML-code of object on which the point with relative coordinates 100px, 100px settles down:
empty - Cancels selection for object SELECTION and sets value as none, method of object SELECTION. window.document.selection.empty() . EXAMPLE - to cancel selection made by the mouse and to show a type of object SELECTION: The text for a cancellation of selection. Select any part me, place the cursor of the mouse inside of a framework of the text of an example and press "Enter".
execCommand - Executes the command of object TEXTRANGE. SevBoolean=object.execCommand(command,[bool,[,value]]) ,was not checked.
execScript - Executes the script, language of the script by default JAVA object.execScript(script-code[,language]) . EXAMPLE - to compile and to execute the script on JAVA from one command:(alert (" 12345 ")):
expand - Expands textual area adding:
DevBoolean=object.expand("chasracter") - symbol;
DevBoolean=object.expand("word") - word;
DevBoolean=object.expand("sentence") - sentence.
EXAMPLE - to create textual area of a body, to compress it up to a point in a beginning, to expand a point to the sentence and to show the text of the received area:
findText - Searches "required text" in textual area "object_textarea" and, if it is found, transforms "object_textarea" to area of the found text and returns value "True", differently returns "False" and nothing transforms. DevBoolean=object_textarea.findText("required text") . EXAMPLE - in textual area of the document to find a string "required text " and to show htmltext of the found area:
focus - Moves focus on object. object.focus()
forward - Loads the following page from the list, method of object HISTORY. Window.History.forward()
getAttribute - Returns value of attribute of object. DevVariant=object.getAttribute(Name_of_attribute[,caseSensitive]) . EXAMPLE - to show value of attribute "tagname" at 11 objects:
getBookmark - Defines a bookmark, remembers textual area to return to it. Dev_String=object_textarea.getBookmark() . EXAMPLE - to create area of a body, to remember by its bookmark, to compress up to a point in the end, to restore area by a bookmark to show its HTML-code (first 300 symbols):
go - Load of page with number N from the list of the visited pages, method of object HISTORY. Window.History.go(N)
inRange - The "True" returns, if the object1 _ textrange is inside object_textrange. DevBoolean=object_textrange.inRange(object1_textrange) . EXAMPLE - to create area of a body, to create a copy of this area, to compress area up to a point in the end, to show the copy inside the original is contained:
insertAdjacentHTML - Inserts a HTML-code concerning object OBJECT
OBJECT.insertAdjacentHTML("BeforeEnd",html) - in the beginning.
OBJECT.insertAdjacentHTML("AfterEnd",html) - in the end.
EXAMPLE - to insert "hi" before object with id=devin:
I object with id=devin, before me will be inserted object, if to place the cursor in a framework of an example and to press "Enter".
insertAdjacentText - Inserts the text concerning object OBJECT:
OBJECT.insertAdjacentText("BeforeEnd",html) - in the beginning.
OBJECT.insertAdjacentText("AfterEnd",html) - in the end.
EXAMPLE - to insert "-Hi-" before the closing tag of object with id = devin1: I object with id=devin1, in the end of my text will be inserted "-Hi-" if to place the cursor in a framework of an example and to press "Enter". .
isEqual - Returns "True" if the textual area " AREA1 " is equal to textual area "AREA". DevBoolean=AREA.isEqual(AREA1) . EXAMPLE - to create textual area of a body, to create a copy of this textual area, to show equality of areas:
item - Returns the reference to an element of a collection of object under its number. set DevElement=object.item(number[,additional number]) . EXAMPLE - to show a html-code 101 elements of a collection "DOCUMENT.ALL":
javaEnabled - Returns "True", if browser can carry out the script JAVA, method of object NAVIGATOR. DevBoolean=window.navigator.javaEnabled() . EXAMPLE - to show, that will return yours browser rather JAVA:
move - Expands (quantity>0), or compresses (quantity < 0) textual areas "object" by moving initial and final points also returns quantity of units of moving of area, if the quantity is omitted, the quantity 1 is accepted.
DevLong=object_textrange.move("sentence",quantity) - unit of moving a sentence;
DevLong=object_textrange.move("word",quantity) - unit of moving a word;
DevLong=object_textrange.move("character",quantity) - unit of moving a character,
the application has failed .
moveEnd - Expands textual area "object" by moving of a final point and returns quantity of units of change of area, if the quantity is omitted that the quatity 1 is accepted, the quantity should be always more than 0.
DevLong=object.moveEnd("sentence",quantity) - unit of change a sentence;
DevLong=object.moveEnd("word",quantity) - unit of change a word;
DevLong=object.moveEnd("character",quantity) - unit of change a character.
EXAMPLE - to create area of a body, to transform area to area of the found text -BIG-, to expand area by moving of a final point on 1 sentence, to show the received area:
moveLight - Moves a source of light. object.style.filters.light(n).moveLight(x,y,z,fAbsolute) ,the application has failed.
moveStart - Expands textual area "object" by moving of a point of a beginning and returns quantity of units of change of area, if the quantity is omitted, that the quantity 1 is accepted, the quantity should be less than 0.
DevLong=object.moveStart("sentence",quantity) - unit of change a sentence;
DevLong=object.moveStart("word",quantity) - nit of change a word;
DevLong=object.moveStart("character",quantity) - unit of change a character.
EXAMPLE - to create area of a body, to transform area to area of the found text "on 3 words", to expand area by moving of a point of a beginning on 3 words, to show the received area:
moveToBookmark - Restores textual area "object", which was remembered by a method getBookmark. DevString=object.moveBookmark(Bookmark) , EXAMPLE - to create textual area of a body, search to transform it to area of the first found context "BIG", to remember this area by a bookmark, to compress up to a point, to restore with the help of a bookmark and to show its text:
moveToElementText - Sets textual area "object_textarea" in the text of the tag of object OBJECT. object_textarea.moveToElementText(OBJECT) , EXAMPLE - to create area of a body, to transform it to area 101 objects and to show it of htmltext:
moveToPoint - Compresses text_area up to a point on the text of a HTML-code of object with relative coordinates of a point x,y (in pixels). text_area.moveToPoint(x,y) , EXAMPLE - to create textual area of a body, to transform area to a point, which settles down on a HTML-code of object, on which the cursor of the mouse is located, to expand a point to the sentence and to show htmltext of the received area:
navigate - Loads into object_window page with the URL address, method of object WINDOW, only for VBS. object_window.navigate(url) , Example - to load in a current window (frame) starting page of the developers of the designer:
The performance of this example in the designer breaks work of the designer.
nextPage - Shows the following page of records in the connected table. object.nextPage()
open - Opens in a new window the empty document for filling it later by methods: write, writeln. window.open() , EXAMPLE - to create in a new window the empty document. (after viewing an example close a window):
open_url - Opens a new window and loads there document with the URL address. set object_window=window.open(url[,name[,properties[,replace]]]) . EXAMPLE - to open in a new window "NEW" the document "ac.htm" by properties given textual variable dev1-dev13 (after viewing close a window):
parentElement - Returns the reference to parental object for all objects, which in textual area. set object=object_textarea.parentElement() . EXAMPLE - to create area of a body, to show a name of the parental tag:
pasteHTML - Inserts the text and - or a code HTML into textual area object object.pasteHTML(The text and HTML) EXAMPLE - to insert heading "second" after a word "first" instead of a symbol "?":
Object with id=devpaste: first ? third. I object c id=devpaste, if to place the cursor in a framework of an example and will press "Enter", between first my words on a place of a mark of a question the heading "second" will be inserted
play - Applies the dynamic filter. object.filters(filter_number).play(duration in seconds) , if in STYLE duration is given, the duration in a method PLAY has the greater priority. EXAMPLE1 - To apply the filter with occurrence of object:
EXAMPLE2 - To apply the filter with disappearrance of object:
Disappearing object <STRONG id=devplay0 style="FONT-SIZE: x-large; BACKGROUND: silver; FILTER: blendtrans(duration=3); WIDTH: 200px">Disappearing object</STRONG>
prevPage - Shows previous page of records in the connected table. object.prevPage()
promt - Shows a window of the invitation on data input with the message and textual field. object_window.prompt([message[,value by default]])) . EXAMPLE - to show a window for input:
queryCommandEnabled - Returns "True", if the command of object_textrange is accessible. DevBoolean=object_textrange.queryCommandEnabled(command) ,was not checked.
queryCommandIndenterm - Returns "True", if the command has the uncertain status. DevBoolean=object.queryCommandIndenterm(command) , was not checked.
queryCommandState - Returns a current condition of a command. DevBoolean=object.queryCommandState(command) , was not checked.
queryCommandSupported - Returns "True" if the command is supported. Boolean=object.queryCommandSupport(command) , was not checked.
queryCommandText - Returns a string which with works a command. DevString=object.queryCommandText(command) ,was not checked.
queryCommandValue - Returns value of a team of the document or object TextRange. String=object.queryCommandValue(command) , was not checked.
refresh - Updates contents of the table: object_table.refresh() , was not checked.
replace - Loads page from url into a window (frame) replacing the loaded earlier document, method of object LOCATION. object_window.location.replace(url) , EXAMPLE - to load in a current window the new document "ac.htm" (To carry out an example in the designer it is not recommended as breaks its work):
reload - Updates current page, method of object LOCATION object_window.location.reload() , EXAMPLE - to update current page (To carry out an example in the designer it is not recommended as the designer is restarted and the created page is lost):
remove - Deletes an element (object) from a collection: areas or options. object.remove(number) , EXAMPLE - to remove the first element of the list SELECT:
<SELECT id=devsel> <OPTION selected>first <OPTION>second <OPTION>third</OPTION> </SELECT>
removeAttribute - Deletes attribute on its name from object (tag). Dev_Boolean=object.removeAttribute(name[,caseSensitive]) . EXAMPLE - at object HR to remove attribute color:
<HR id=devra color=red>
reset - Creates event similar to click of the mouse on the button RESET of object FORM. object_form.reset()
scroll - Changes the sizes of object to width x and height y, method of object WINDOW. object_window.scroll(x,y)
scrollIntoView - Moves the screen so that the object has appeared:
object.scrollIntoView() - in the beginning of the screen; EXAMPLE - to move a framework of an example to a beginning of the screen: <FIELDSET id=devsivw>devsivw.scrollIntoView()</FIELDSET>
object.scrollIntoView(false) - in the end of the screen.; EXAMPLE - to move a framework of an example to the end of the screen: <FIELDSET id=devsivw1>devsivw1.scrollIntoView(false)</FIELDSET>
select - Selects and shows current textual area. object_textarea.select() . EXAMPLE - to select the text of an example: <FIELDSET id=devselect>set devtex=document.body.createTextRange() devtex.moveToElementText(devselect) devtex.select</FIELDSET>
setAttribute - Adds attribute, or sets value of attribute "name" in the tag, if "value" is not present the value Null is given. object.setAttribute(name[,value]) . EXAMPLE - to change value of attribute TITLE of test object:
<BUTTON id=devsat title="Me did not change">Test object</BUTTON>
setEndPoint - Moves initial or final points of current textual area "area_1 " to a beginning or end "area_2 ":
area_1.setEndPoint("StartToStart",area_2) - the beginning of area_1 moves in a beginning of area_2;
area_1.setEndPoint("EndToEnd",area_2) - the end of area_1 moves in the end of area_2;
area_1.setEndPoint("StartToEnd",area_2) - the beginning of area_1 moves in the end of area_2;
area_1.setEndPoint("EndToStart",area_2) - the end of area _ 1 moves in a beginning of area _ 2.
EXAMPLE - to create area from a body, to create a double of this area, from the duplicated area to create area of a code of the button "Test", to expand area of the button to the end of the duplicated area and to show htmltext of this extended area:
<button id=devepnt>Test</button>
setInterval - Sets to a procedure "prog" to be carried out periodically, after given "value_of_miliseconds", by default language JAVASCRIPT, method of object WINDOW. timer_ID=object.setInterval(prog,value_of_miliseconds,[,language]). EXAMPLE - to cancel the timer and to set the timer dev_interval on performance of the program_name each 10000 miliseconds.
setTimeout - Starts the program each "period_in_miliseconds", after a load of page, by default language JAVASCRIPT, method of object WINDOW. Dev_interval=object.SetTimeout(program,period_in_miliseconds,[,language]) , EXAMPLE - to cancel the timer and to set the timer dev_interval on performance of the program_name each 10000 miliseconds, after a load of page.
showHelp - Shows a window of the help as dialogue. object.showHelp(url[,arguments])
showModalDialod - Opens page in a dialogue window, method of object WINDOW. DevVariant=object_window.showModalDialog(url[,arguments[,properties]]) . EXAMPLE - to open in a new window "new" the document "ac.htm" as a dialogue window. Variable set properties of a window:
start_stop - Start, stop of moving of the running text of tag MARQUEE, methods of the tag MARQUEE. object_marquee.start() , object_marquee.stop() . EXAMPLE 1 - to stop run of the CONTROL TEXT:
EXAMPLE 2 - to start run of the CONTROL TEXT:
<MARQUEE id=devmarq style="BACKGROUND: #ffc0cb; CURSOR: hand" scrollDelay=200 direction=right behavior=alternate>CONTROL TEXT</MARQUEE>
stop - Interrupts work of the dynamic filter (finishes a cycle of transformation of the image before the expiration of time of transition). object.filters(number).stop . EXAMPLE 1 - to apply the filter with occurrence of "disappearing object", the time of occurrence is given in the tag:
EXAMPLE 2 - to interrupt transformation of the image of "disappearing object":
EXAMPLE 3 - to apply the filter with disappearrance of "disappearing object ", the time of disappearrance (3 seconds) is given in an example:
disappearing object <STRONG id=devplay1 style="FONT-SIZE: x-large; FILTER: blendtrans(duration=10); VISIBILITY: visible; WIDTH: 200px; CURSOR: hand">disappearing object</STRONG>
submit - To send the information from the form on the server, analogue of pressing of the button SUBMIT, method of the text FORM. object_form.submit()
tags - Creates from a collection a collection by a filtration of the tags on a name(tag_name). set dev_new_colltction=dev_old_collection.tags("tag_name") , For example, to create a collection of all objects DIV from all objects: set dev_new_colltction=window.document.all.tags("DIV") .
taintEnabled - Always returns value "False", for compatibility with Netscape Navigator, method of object NAVIGATOR. DevBoolean=window.navigator.taintEnabled() , EXAMPLE - to show returned value:
write - Writes down a string (text and code HTML) in the document in a window " object _ window ", method of object DOCUMENT. object_window.document.write(string) . EXAMPLE - to open in a new window the document "ac.htm" and to make of it page-greeting:
writeln - Writes down a string (text and code HTML) with addition at the end of a line of return of the carriage, in the document in a window "object_window", method of object DOCUMENT. object_window.document.write(string) EXAMPLE - to open in a new window the document "ac.htm" and to make of it page-greeting:
zOrder - Sets z-index of a covering of levels. object.zOrder([position]) , was not checked.