Common functions:
Alternately hide or show
(''div1'',''div2'')
Hide
(''div1'',''div2'')
show
(''div1'',''div2'')
delete
(''div1'',''div2'')
Acquire height
(''div1'')
Same as
(''div1'',''div2'')
Insert text in front of DIV
(''div1'',''my content'')
Insert text after DIV
(''div1'',''my content'')
Insert text in front of DIV
(''div1'',''this is a text'')
Insert text in DIV
(''div1'',''this is a text'')
PeriodicalExecuter
Calling a segment of JavaScript at a given frequency
PeridicalExecutor(test, 1)" Here test is a Javascript function, and 1 is the frequency (1 second).
$
Get a DIV, equivalent to getElementById()
$(''div1'')
Clear an input box
(''textfield1'')
Focus on the input box
(''select1'')
Determine whether the content is empty
alert((''textfield1''))"
Select the content of the input box
(''textfield1'')"
Focus on the input box and select the content of the input box
(''textfield1'')"
Convert the table content into a string
Get the table content in an array form
disable All contents of the form
(''form1'') ( This doesn't seem to work)
Focus on the first element of the table
(''form1'')
Reset form
(''form1'')
Get the value of the table input box
(''text1'')
Convert the input box content in the table into string
(''text1'')
$F
Equivalent to ()
$F(''text1'')
Highlight special effects.
(''text1'')
Fading special effects
Zoom in and out (percentage)
(''text1'', 200)
Here 200 = 200%, that is, twice
Disappearing special effects. Disappear after the text is reduced
(''text1'')
Disappearing special effects. The text disappears after enlargement
(''text1'')
Special effects appear
ZOOM special effects.
Transmit Ajax request to the server
(''http://server/'')
Transmit Ajax request to the server and update the specified Container with the reply result
(''text1'',''http://server/'')
==========================================
Basic usage: Each major class is divided into a Class, which is very convenient to use. To produce a specific effect, just use new(<argument>). For example:
<DIV ><a href="#" onclick="new ('div2')">Click Me</a></DIV>
<DIV >Hello!</DIV>
When clicking Click Me, div2 will hide or display alternately. Note that you can add unlimited parameters to toggle, such as (''div2'',''div3'',''div4'',...)
Alternately hide or show
(''div1'',''div2'')
Hide
(''div1'',''div2'')
show
(''div1'',''div2'')
delete
(''div1'',''div2'')
Acquire height
(''div1'')
Same as
(''div1'',''div2'')
Insert text in front of DIV
(''div1'',''my content'')
Insert text after DIV
(''div1'',''my content'')
Insert text in front of DIV
(''div1'',''this is a text'')
Insert text in DIV
(''div1'',''this is a text'')
PeriodicalExecuter
Calling a segment of JavaScript at a given frequency
PeridicalExecutor(test, 1)" Here test is a Javascript function, and 1 is the frequency (1 second).
$
Get a DIV, equivalent to getElementById()
$(''div1'')
Clear an input box
(''textfield1'')
Focus on the input box
(''select1'')
Determine whether the content is empty
alert((''textfield1''))"
Select the content of the input box
(''textfield1'')"
Focus on the input box and select the content of the input box
(''textfield1'')"
Convert the table content into a string
Get the table content in an array form
disable All contents of the form
(''form1'') ( This doesn't seem to work)
Focus on the first element of the table
(''form1'')
Reset form
(''form1'')
Get the value of the table input box
(''text1'')
Convert the input box content in the table into string
(''text1'')
$F
Equivalent to ()
$F(''text1'')
Highlight special effects.
(''text1'')
Fading special effects
Zoom in and out (percentage)
(''text1'', 200)
Here 200 = 200%, that is, twice
Disappearing special effects. Disappear after the text is reduced
(''text1'')
Disappearing special effects. The text disappears after enlargement
(''text1'')
Special effects appear
ZOOM special effects.
Transmit Ajax request to the server
(''http://server/'')
Transmit Ajax request to the server and update the specified Container with the reply result
(''text1'',''http://server/'')
==========================================
Basic usage: Each major class is divided into a Class, which is very convenient to use. To produce a specific effect, just use new(<argument>). For example:
<DIV ><a href="#" onclick="new ('div2')">Click Me</a></DIV>
<DIV >Hello!</DIV>
When clicking Click Me, div2 will hide or display alternately. Note that you can add unlimited parameters to toggle, such as (''div2'',''div3'',''div4'',...)