# Plugin: advlink

This is a more advanced link dialog mostly based on code contributed by Michael Keck. This link plugin supports popup windows and targets.

### Installation Instructions

- Copy the advlink directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
- Add plugin to TinyMCE plugin option list example: plugins : "advlink".
- Add this "a[name|href|target|title|onclick]" to extended_valid_elements option.

Advlink plugin options
advlink_styles | This option should contain a semicolon separated list of class titles and class names separated by =. The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.

### Initialization Example

    tinyMCE.init({
        theme : "advanced",
        mode : "textareas",
        plugins : "advlink"
    });