<div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace;font-size:small;color:rgb(7,55,99)"><div class="gmail_default">I use something very similar for Boostrap 3. </div><div class="gmail_default">
<br></div><div class="gmail_default"><font color="#073763" face="courier new, monospace">$WikiStyleAttr['data-breakpoint'] = 'li|div|p';</font><br></div><div class="gmail_default"><font color="#073763" face="courier new, monospace"><br>
</font></div><div class="gmail_default"><font color="#073763" face="courier new, monospace">then you can use</font></div><div class="gmail_default"><font color="#073763" face="courier new, monospace">* %apply=list class="flexnav" data-breakpoint="800"% First Menu Item</font></div>
<div class="gmail_default"><font color="#073763" face="courier new, monospace"><br></font></div><div class="gmail_default"><font color="#073763" face="courier new, monospace"><br></font></div><div class="gmail_default">Rgds</div>
<div class="gmail_extra"><div class="gmail_default" style="font-family:'courier new',monospace;font-size:small;color:rgb(7,55,99)">Brian</div><br clear="all" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><font style="font-family:verdana,sans-serif"><div></div></font></div></div></div><div class="gmail_extra"><br clear="all"><div><font style="font-family:verdana,sans-serif" face="'courier new', monospace"><div>
<div style="text-align:left"><br></div></div></font></div><br><div class="gmail_quote">On 17 December 2013 17:24, Crisses <span dir="ltr"><<a href="mailto:crisses@kinhost.org" target="_blank">crisses@kinhost.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">A wikistyle may not be the right way to do this:<div><br></div><div>Here's what I need in the HTML output for a navigation menu:</div>
<div><br></div><div><div><ul class="flexnav" data-breakpoint="800"> <li>...</li> </ul></div><div><br></div><div><br></div><div>Here's the markup I'm trying to use:</div>
<div><br></div><div><div>*%apply=list class=flexnav db=800%First Menu Item</div><div>*Second Menu Item</div><div>**Nested Menu Item</div><div>*Third Menu Item</div></div><div><br></div><div>Here's the custom php I'm attempting to employ:</div>
<div><div>$WikiStyleRepl['/\\bdb(=\d+)/'] = 'data-breakpoint$1';</div><div><br></div><div>And the output I'm getting:</div><div><ul class="flexnav"><li> <a class="wikilink" href="...</div>
<div><br></div><div>The whole "db" part disappears.</div><div><br></div><div>ideas?</div><div><br></div><div>Thanks! Trying to make a responsive navigation plug-in...</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>
<p style="margin:0.0px 0.0px 0.0px 0.0px"><font face="Comic Sans MS" size="3" style="font:12.0px Comic Sans MS">Crisses</font></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px"><br></p>
</div>
<br></font></span></div></div></div><br>_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
<br></blockquote></div><br></div></div>