js_basic_site_functions

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "js_basic_site_functions".
... in javascript_library.naml
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<macro name="js_basic_site_functions" requires="servlet">
    <![CDATA[
    Nabble.online = function(id) {
        $('img.online'+id).show();
    };
 
    Nabble.openMsg = function(id) {
        return Nabble.getCookie(id) == null;
    };
 
    Nabble.toggleMsg = function(id, hide) {
        if (hide)
            Nabble.setPersistentCookie(id, 'closed');
        else
            Nabble.deleteCookie(id);
    };
    ]]>
</macro>