dropdown

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
tag 'mailing_list_etiquette' is not an allowed here, only these are allowed: [bottom, page_name, focus]
  in new_post(custom_tweak:reply:2) - <n.new_post>
  in (custom_tweak:reply:1) - <override_macro name="reply" requires="servlet">
   Usages of this macro
... in dropdown.naml
794
795
796
797
798
799
800
801
802
803
804
805
806
807
<macro name="dropdown" dot_parameter="options" parameters="id, text, title, element, loadOnClick">
    <span id="dd_[n.id/]"></span>
    <script type="text/javascript">
        var dropdown = new NabbleDropdown("<n.id/>", "<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.text/>","<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.title/>");
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_null
Binary
Namespace: BasicNamespace
Parameters: value
.element>
            <then>dropdown.customButton("<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.element/>");</then>
        </n.if.not.is_null.element>
        <n.options/>
        dropdown.build('dd_<n.id/>');
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_empty
Binary
Namespace: BasicNamespace
Parameters: value
.loadOnClick>
            <then>dropdown.loadOnClick('<n.loadOnClick/>&_=' + Math.floor(Math.random()*999999));</then>
        </n.if.not.is_empty.loadOnClick>
    </script>
</macro>