Thank you, that did the job! Crisses -- The criticism has been raised--from both inside and outside the mental health professions--that psychotherapy can be viewed as an attempt to get people adjusted to a "sick" society rather than to encourage them to work towards its improvement. As a consequence, psychotherapy has often been considered the guardian of the status quo.... Each time therapists decide that one behavior should be eliminated or substituted for another, however, they are making a value judgement.... There are strong pressures on a therapist--from parents, schools, courts, and other social institutions--to help people adjust to the world as it is. -- Abnormal Psychology and Modern Life (11th ed). Carson, Butcher, & Mineka, p. 678-9.
On Dec 17, 2013, at 1:25 PM, Brian Tibbels wrote: > I use something very similar for Boostrap 3. > > $WikiStyleAttr['data-breakpoint'] = 'li|div|p'; > > then you can use > * %apply=list class="flexnav" data-breakpoint="800"% First Menu Item > > > Rgds > Brian > > > > > On 17 December 2013 17:24, Crisses <cris...@kinhost.org> wrote: > A wikistyle may not be the right way to do this: > > Here's what I need in the HTML output for a navigation menu: > > <ul class="flexnav" data-breakpoint="800"> <li>...</li> </ul> > > > Here's the markup I'm trying to use: > > *%apply=list class=flexnav db=800%First Menu Item > *Second Menu Item > **Nested Menu Item > *Third Menu Item > > Here's the custom php I'm attempting to employ: > $WikiStyleRepl['/\\bdb(=\d+)/'] = 'data-breakpoint$1'; > > And the output I'm getting: > <ul class="flexnav"><li> <a class="wikilink" href="... > > The whole "db" part disappears. > > ideas? > > Thanks! Trying to make a responsive navigation plug-in... > > Crisses > > > > _______________________________________________ > pmwiki-users mailing list > pmwiki-users@pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > >
_______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users