Just select the code, choose
the operation, and you??™re done. The Selection functions are especially helpful when cleaning imported code
or when converting code to text or vice versa.
CROSS-REF CROSS-REF
184
Designing and Crafting Core Pages Part II
FIGURE 6-18
Quickly alter the formatting or modify the code itself of any selected code block through the Selection commands.
The Selection menu includes the following:
n Collapse Selection: Collapses the selected code.
n Collapse Outside Selection: Collapses all but the selected code.
n Expand Selection: Expands any collapsed code inside the selection.
n Collapse Full Tag: Collapses the nearest parent tag.
n Collapse Outside Full Tag: Collapses all but the nearest parent tag.
n Expand All: Expands all collapsed code in the document.
n Apply HTML Comment: Inserts an HTML comment: .
n Apply /* */ Comment: Inserts a multi-line JavaScript/CSS comment: /* */.
n Apply // Comment: Inserts a single-line JavaScript/CSS comment at the start of a code line: //.
n Apply ??? Comment: Inserts a single-line ASP comment at the start of a code line: ???.
n Apply Server Comment: Inserts a comment applicable to the current server model.
n Apply Backslash-Comment Hack: Adds a CSS hack to hide styles from Internet Explorer for the
Mac 4.
Pages:
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422