Adobe Dreamweaver API Reference CS5 Instrukcja Użytkownika Strona 410

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 533
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 409
405
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
Arguments
x, y
The x argument is the number of pixels that the selection must move horizontally.
The y argument is the number of pixels that the selection must move vertically.
Returns
Nothing.
dom.resizeSelectionBy()
Availability
Dreamweaver 3.
Description
Resizes the currently selected layer or hotspot.
Arguments
left, top, bottom, right
The left argument is the new position of the left boundary of the layer or hotspot.
The top argument is the new position of the top boundary of the layer or hotspot.
The bottom argument is the new position of the bottom boundary of the layer or hotspot.
The right argument is the new position of the right boundary of the layer or hotspot.
Returns
Nothing.
Example
If the selected layer has the Left, Top, Width, and Height properties shown, calling
dw.getDocumentDOM().resizeSelectionBy(10,30,30,10)–– is equivalent to resetting Left to 40, Top to 20,
Width to 240, and Height to 240.
dom.setLayerTag()
Availability
Dreamweaver 3.
Description
Specifies the HTML tag that defines the selected layer or layers.
Arguments
tagName
The tagName argument must be "layer", "ilayer", "div", or "span".
Przeglądanie stron 409
1 2 ... 405 406 407 408 409 410 411 412 413 414 415 ... 532 533

Komentarze do niniejszej Instrukcji

Brak uwag