[pmwiki-users] (:background:) markup
Hans
design at flutesong.fsnet.co.uk
Sat Jul 30 07:08:20 CDT 2005
Here is a slightly improved markup:
Markup('background', 'directive',
'/\\(:background\\s+((#\\w+,\\s*)*#\\w+\\s*{\\s*background:[^{}]*?})\\s*:\\)/e',
"PZZ(\$GLOBALS['HTMLStylesFmt'][] = PSS(' $1 '))");
This allows multiple division names, like:
(:background #div1, #div2 {background: *Attributes* }:)
I've put up a Cookbook page about background images:
http://www.pmwiki.org/wiki/Cookbook/BackgroundImages
Patrick, if this markup is okay, could you enable it for that page
please, for demo purposes?
thanks!
~Hans
More information about the pmwiki-users
mailing list