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:
|
Works with:
|
|||