Invalid Domain

You are here :

 
 
JAVASCRIPT CODE LIBRARY

Submit Code
 



Quick Reference:

Javascript Code Library
HTML Cheatsheet
Special Characters
Color Codes
Browser Chart
Stylesheet Guide
Unix Guide

JavaScript Code Library
editor_extensions

Webmonkey XSSI extensions for Dreamweaver
While we designed our XSSI extensions to be easy to use, we figure most people will need some further explanation. Choose from among the following links for descriptions of the various XSSI commands and features.

The Fundamentals of XSSI

Using the Webmonkey XSSI extensions for Dreamweaver
     Translating XSSI content
(Modify>Translate>XSSI)
     XSSI - Setting variables (set)
     XSSI - Displaying variables (echo)
     XSSI - Combining files (include)
     XSSI - Conditionalizing (if, elif, else, endif)
     XSSI - Setting environment variables (Commands>Set Environment Variables)
     XSSI - Showing environment variables (printenv)

A case study in Using XSSI Variables


Known issues

There are a few things you should know about the Webmonkey XSSIextensions:

  1. Unfortunately, Dreamweaver is unable to handle tags embedded within tags. So,for example, you cannot do the following within Dreamweaver even though itwould work perfectly well on an Apache server:
  2. <!--#set var="text_size" value="4" -->
    <font size="<!--#echo var="text_size"-->">some text</font>

    However, you could do this:

    <!--#set var="text_size" value="<fontsize=4>" -->
    <!--#echo var="text_size" -->sometext</font>

  3. Macromedia's Server Side Include translator has been disabled because of apotential conflict. If both the Macromedia and Webmonkey translators areenabled and set to automatically translate files, they occasionally conflict, causingundesirable results and general weirdness. Since the XSSI translatorhandles server-side includes, it shouldn't be necessary to use Macromedia'stranslator. However, if you do wish to re-enable it, here's how:

    In your Dreamweaver 2/Configuration/Translators/ directory,there should be a file named "Server-Side Includes.htm.old".To enable it, simply remove the ".old" part of thefilename and restart Dreamweaver.

  4. Due to a limitation in Dreamweaver, you will be unable to inspectXSSI tags that are not within either the <head> or<body> tags of your document. They should translate and display justfine, but you will need to insert and edit them directly in the HTMLinspector rather than using the nifty Webmonkey graphical interface.

License

Credits

JavaScript mumbo-jumbo: Taylor, Nadav Savio
C alchemy: Alx Ladygo
Arcane arts: Eric Eaton
Audience participation and code name supply: Mike Kuniavsky
Wizardly patience and support: Kristin Windbigler

Many, many thanks to Jean Fitzgerald of Macromedia for helping make a whole heapof bugs magically vanish.

Thank you yet again to Ken Sundermeyer of Macromedia for findObject(),one of the most useful bits of code we've ever had the pleasure ofstealing.

And an enchanted thank you to the entire Dreamweaver team forcoding suggestions, last-minute API fixes, and for making a WYSIWYG editor thatencourages these sorts of shenanigans.

Can't find something?
Check out the
JavaScript archive