\uT"X9yHfGL_;ɕ~5 봐-/K|y""Q-|b/ ]8".Ϸ4cn?dA]d=4+f)&sRc~G92] !)R[kL1=RK3PT)Fxd 4;.Hw R0 359Y;=_3uuqϻ7sϵ}T kŸ|=ZJWO?!8_-[/%zVz7L/F\YѮħneUc4Y'Y2C1?!Aҡ%)Uz~X5.ۏKytq>Ck/> 8c_!Ԟrb"bVRU%:P? > ~3 >%X*YBpKF2]רޗp@'KߍK=ݍ92anKfM)E.,ԣ,Q4 *2ˣ6۪TIy@x`hL*-V\q-O[XixE"AC *kw@mͫSR܌enęsZɀ.] V ',iֲ MfYF \:W,&eS4@+Ғ3*j́ ܫRiYʋpR"Le)ib_ɇks+h_C\ gbY Eb e3 9./$NVFr d.x8“q0cbrZrMg.vd .ynU. Նy ~K(DQBT*^7lDñ69`3/U.b,nfք+-ԸdP^0Jb/fc>?Qb&5,L+a{Y0nSxDQ7wXNP)SN!M#(@?N혶Q@mW+ObP ~E9Tyn$!!j xbۃOp)RhL^z9x5/:h gg^Uw ī_?8LRȲb;J%9W&FP̠*Ǟ d&jDE_}*OIL8ϯA>%ϙjcq"0y5:5% 6Ds׍ezf?qJrݑmetZR5xD.*c`jb+{^e7t7 General editing functions

The Dreamweaver JavaScript API > File manipulation functions > dom.newBlock()

 

dom.newBlock()

Availability

Dreamweaver 3.0

Description

Creates a new block with the same tag and attributes as the block that contains the current selection, or creates a new paragraph if the cursor is outside of all blocks.

Arguments

None.

Returns

Nothing.

Enabler

None.

Example

If the current selection is inside a center-aligned paragraph, a call to dreamweaver.getDocumentDOM().newBlock() inserts <p align="center"> after the current paragraph.

 




z_~DXVr4yJTR9a7HJbUdwTgO1%[)i z(ԹphuR*luIk+7RA?M;{ݚ/mMjق֏=#NHƐ6鉣 dXn 8DLP\ ^[ŗ-[k3;.S =&|"Ԁ,Æʆ]nuⱚmiBowlingual Dog Translator News Bowlingual Dog Translator in the News 0>LZhv,:HVdr$"',16] ̋US]Vu cW3VU荖U3T MEUU"|H