Test Nr 1 One Content Editor

jQuery Corners 0.3 is a simple jQuery plugin that will easily create beautiful rounded corners. Completely lightweight and supports fast anti-aliasing for older or any type of browsers. You won’t need any images or working down the line with obtrusive markup.

 

Das Corner-Script wird on fly eingebunden. Also erst wenn es auch benötigt wird.

The corner-script will be first loaded if you need it. In the tag you set a class with selector  rounded. See sample on above link and see all parameters. Most of my js-script will now be set on fly. e.g. here a lightbox

Test Nr 2 One Content Editor

<?php
if(file_exists(WB_PATH.'/modules/chcounter/info.php')){
   include("interfaces/chcounter.php");
}
?>
<script language="JavaScript" type="text/javascript">
var URL = '<?php echo WB_URL ?>';
var URL_SLIDER = '<?php echo WB_URL ?>/modules/wysiwyg_slider/';
var horz = true;
</script>
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<script src="<?php echo WB_URL; ?>/framework/jquery/ui/minified/jquery-ui-min.js" type="text/javascript"></script>
<script src="<?php echo WB_URL; ?>/framework/jquery/ui/jquery.insert.js" type="text/javascript"></script>
<script src="<?php echo WB_URL ?>/framework/dp.SynaxHighlighter/scripts/shLegacy.js" type="text/javascript"></script>

<script language="JavaScript" type="text/javascript">
  if($("a[rel^='lightbox']").length) {

        $.insert("<?php echo WB_URL; ?>/framework/jquery/themes16/base/jquery.slimbox2.css");
        $.insert("<?php echo WB_URL ?>/framework/jquery/ui/minified/jquery.slimbox2.min.js");

      }
  if($(".rounded").length) {
     $.insert("<?php echo WB_URL ?>/framework/jquery/ui/jquery.corner.js");
        $(function() {
                $(".rounded").corner('round 15px'); /* test for rounding */
        });
      }
/*-- Only for coder --*/
  if($("[class^=brush]").length) {
      $.insert("<?php echo WB_URL ?>/framework/dp.SyntaxHighlighter/styles/shCore.css");
      $.insert("<?php echo WB_URL ?>/framework/dp.SyntaxHighlighter/styles/shThemeDefault.css");
      $.insert("<?php echo WB_URL ?>/framework/dp.SyntaxHighlighter/scripts/shCore.all.js");
          $(function(){
            SyntaxHighlighter.config.stripBrs = false;
            SyntaxHighlighter.config.bloggerMode = true;
            SyntaxHighlighter.config.clipboardSwf = "<?php echo WB_URL ?>/framework/dp.SyntaxHighlighter/scripts/clipboard.swf";
            SyntaxHighlighter.defaults['gutter'] = true;
            SyntaxHighlighter.defaults['smart-tabs'] = true;
            SyntaxHighlighter.defaults['wrap-lines'] = true;
            SyntaxHighlighter.defaults['html-script'] = true;
            SyntaxHighlighter.all();
         });
       };
/*-- Only for coder --*/

</script>

<?php
if(function_exists('register_frontend_modfiles')) {
  register_frontend_modfiles('js');
}
?>
</body>
</html>

 Test Nr 4 One Content Editor

 

jQuery Corners 0.3 Nr 5

         
 

This jQuery plugin will easily create beautifully rounded corners. No images or obtrusive markup necessary.

Architectural features:
  • Less than 8000 bytes after yui compression.
  • Beautiful and fast anti-aliasing for older or stubborn browsers.
  • Degrades well for browsers with javascript turned off.
  • Native browser corners used on Safari, iPhone, and Firefox 3.
  • Form and anchor buttons are easily styled and rounded.
  • Documentation and test coverage (this file).
 

Works with:

  • iPhone
  • Chrome
  • Firefox
  • Safari 2+
  • Opera 9.0+
  • Internet Explorer 6+
  • and probably more...
 
         
 

 

 

Valid XHTML 1.0 Transitional Valid CSS! Spidersimulator Online-Tool

CMS powered by Website Baker | Layout based on YAML

 

 gändert 25.05.2009 von Administrator

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/wdsnet/htdocs/wb/modules/chcounter/counter.php on line 56