These are great.<div>I&#39;m looking at solution 1 because I&#39;d like to (initially) apply somehting say through a wiki style,</div><div>but would be be correct in thinking it is not possible to supply a selector in a wikistyle?</div>
<div><br></div><div>thanks very much</div><div><br></div><div>Simon</div><div><br><br><div class="gmail_quote">On 10 June 2010 21:32, Eemeli Aro <span dir="ltr">&lt;<a href="mailto:eemeli@gmail.com">eemeli@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 10 June 2010 12:06, Simon &lt;<a href="mailto:nzskiwi@gmail.com">nzskiwi@gmail.com</a>&gt; wrote:<br>

&gt; Of course there is not an &quot;even&quot; (or an &quot;odd&quot;) conditional markup condition.<br>
&gt; Has anyone some suggestions on how I could achieve this?<br>
<br>
</div>1. Use CSS3 rules such as li:n-th-child(even) and/or<br>
li:n-th-child(odd) [1]. Unfortunately, these don&#39;t work in IE [2].<br>
<br>
2. Add the markup expression {(math)} [3], and then use the<br>
conditional (:if equal 1 {(math {$$PageCount} % 2)}:)<br>
<br>
3. Add a custom conditional:<br>
    $Conditions[&#39;odd&#39;] = &#39;intval($condparm) % 2&#39;;<br>
and then use it: (:if odd {$$PageCount}:)<br>
<div class="im"><br>
&gt; PS what do you think about have an extension to pagelist for conditions, eg<br>
&gt; (:template if &lt;markup expression&gt; :)<br>
<br>
</div>Is there a use case where the same result can&#39;t be achieved with<br>
already existing markup?<br>
<br>
eemeli<br>
<br>
[1] <a href="http://www.w3.org/TR/css3-selectors/#nth-child-pseudo" target="_blank">http://www.w3.org/TR/css3-selectors/#nth-child-pseudo</a><br>
[2] <a href="http://www.quirksmode.org/css/contents.html" target="_blank">http://www.quirksmode.org/css/contents.html</a><br>
[3] <a href="http://pmwiki.org/wiki/Cookbook/MarkupExpressionSamples#math" target="_blank">http://pmwiki.org/wiki/Cookbook/MarkupExpressionSamples#math</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div>