This example demonstrates dynamic CSS in your plugin. See the source of the plugin file example.dynamic.php for details.
Select a background color, using URL parameter:
<?php define('INC','example,example.dynamic'); include_once '../inc/inc.php'; $example_plugin = 'none'; $title = 'Dynamic CSS'; inc();?> <p>This example demonstrates dynamic CSS in your plugin. See the source of the plugin file <tt>example.dynamic.php</tt> for details.</p> <div class="colored_back"> Bla-bla-bla<br /> Bla-bla-bla<br /> Bla-bla-bla<br /> </div> <p><br />Select a background color, using URL parameter:</p> <ul> <li><a href="im-dynamic-css.php">im-dynamic-css.php</a> - Lime</li> <li><a href="im-dynamic-css.php?color=yellow">im-dynamic-css.php?color=yellow</a> - Yellow</li> <li><a href="im-dynamic-css.php?color=red">im-dynamic-css.php?color=red</a> - Red</li> </ul>