... | in reply.naml |
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
|
<macro name="extra_fields" dot_parameter="fields" requires="node_page">
<n.put_in_head Binary Namespace: HtmlNamespace
Parameters:
in_head
♦ ♦
<style type="text/css">
div.extra-fields {
margin-top:.5em;
}
div.extra-field {
width:2em;
float:left;
text-align:center;
}
div.extra-field-details {
border-left-width:2px;
border-left-style:dotted;
margin-left:2.5em;
padding:0 0 1em 1em;
}
</style>
<script type="text/javascript">
$(document).ready(function(){
$('div.extra-fields').each(function() {
$(this).children().first().wrap('<div class="extra-field"></div>');
});
});
</script>
</n.put_in_head.>
<n.fields/>
</macro>
|