topic_view_option

NAML documentation   Watch a video
   Usages of this macro
... in topic.naml
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
<macro name="topic_view_option" parameters="name,value,image,url">
    <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
        <script type="text/javascript">
            Nabble.setView = function(view,url,post) {
                Nabble.setVar("tview",view);
                if (url.indexOf('#') == -1)
                    url += '#none';
                location.replace(url);
            };
        </script>
    </n.put_in_head.>
 
    <n.topic_view_option_td
Macro
Parameters: contents, style, value, url
 value="[n.value/]" url="[n.url/]" style="padding-right:.1em">
        <contents><img src="/images/[n.image/]" width="18" height="18" style="border:none" alt="[n.value/]"/></contents>
    </n.topic_view_option_td>
 
    <n.topic_view_option_td
Macro
Parameters: contents, style, value, url
 value="[n.value/]" url="[n.url/]" style="padding-right:1.1em">
        <contents><n.name/></contents>
    </n.topic_view_option_td>
</macro>