<!-- {lib_name} {version} -->
<script src="{lib_path}google-code-prettify.min.js" type="text/javascript"></script>
<!-- {lib_name} theme -->
<link href="{lib_path}themes/base/google-code-prettify.css" rel="stylesheet" type="text/css" />
<body onload="prettyPrint()">
...
<code class="prettyprint">
//some code
</code>
<code class="prettyprint linenums">
//some code
</code>
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
/* <![CDATA[ */
$(function(){
});
/* ]]> */
</script>
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.blockui.min.js" type="text/javascript"></script>
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.color.min.js" type="text/javascript"></script>
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.cross-slide.min.js" type="text/javascript"></script>
<script type="text/javascript">
/* <![CDATA[ */
$(function(){
$('#placeholder').crossSlide({
sleep: 3,
fade: 1
}, [
{ src: 'images/slide01.jpg'},
{ src: 'images/slide02.jpg'},
{ src: 'images/slide03.jpg'}
]);
});
/* ]]> */
</script>
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.easing.min.js" type="text/javascript"></script>
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.fancybox.min.js" type="text/javascript"></script>
<link href="{lib_path}themes/base/jquery.fancybox.css" rel="stylesheet" type="text/css" />
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.ll.slider.min.js" type="text/javascript"></script>
<script type="text/javascript">
/* <![CDATA[ */
$(function(){
$('#slider').slider({
'speed' : 5, //Speed of timer in ms
'step': 0.15 //Step for each tick of timer
});
});
/* ]]> */
</script>
<div id="slider" style="display: hidden">
<img src="images/image.jpg" alt="1" />
<a href="http://www.google.com/"><img src="images/image.jpg" alt="2" /></a>
<p>Lorem ipsum dolor sit amet<br />consectetuer Duis fames Phasellus nec Phasellus.</p>
<img src="images/image.jpg" alt="4" />
<img src="images/image.jpg" alt="5" />
<img src="images/image.jpg" alt="6" />
<img src="images/image.jpg" alt="7" />
<img src="images/image.jpg" alt="8" />
<img src="images/image.jpg" alt="9" />
<img src="images/image.jpg" alt="10" />
</div>
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.nivo-slider.min.js" type="text/javascript"></script>
<link href="{lib_path}jquery.nivo-slider.css" rel="stylesheet" type="text/css" />
<link href="{lib_path}themes/default/default.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#sliderWrapper {
height: 250px;
width: 900px;
}
</style>
<div id="sliderWrapper">
<div id="sliderItems" class="nivoSlider">
<img src="images/toystory.jpg" alt="" />
<a href="http://dev7studios.com"><img src="images/up.jpg" alt="" title="This is an example of a caption" /></a>
<img src="images/walle.jpg" alt="" data-transition="slideInLeft" />
<img src="images/nemo.jpg" alt="" title="#htmlCaption1" />
<img src="images/nemo.jpg" alt="" title="#htmlCaption2" />
</div>
<div id="htmlCaption1">
<strong>This</strong> is an example of a <em>HTML</em> caption1 with <a href="#">a link</a>.
</div>
<div id="htmlCaption2">
<strong>This</strong> is an example of a <em>HTML</em> caption2 with <a href="#">a link</a>.
</div>
</div>
$(window).load(function() {
$('#sliderItems').nivoSlider({
effect: 'sliceUpDown,sliceUpDownLeft', //boxRain,boxRainReverse,fade
controlNav: false,
animSpeed: 500,
pauseTime: 5000
});
});
addCss(cssPath); //Add dynamicly css
parsePrice(price); //Parse string price into float
formatPrice(value, decimals = 2, decimalSeparator = "," , thousandsSeparator = " ") //Format float value into price
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.orchestra.min.js" type="text/javascript"></script>
<script type="text/javascript">
/* <![CDATA[ */
$(function(){
parsePrice("- 12 000,32 €");
document.write(formatPrice(1200, 2, ",", " "));
addCss("default.css");
});
/* ]]> */
</script>
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.qtip.min.js" type="text/javascript"></script>
<!-- {lib_name} {version} -->
<link href="{lib_path}jquery.qtip.min.css" rel="stylesheet" type="text/css" />
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.rollover.min.js" type="text/javascript"></script>
<img src="images/Home-normal.png" class="rollover" />
<img src="images/Contact-normal.png" class="rollover selected" />
<a href="http://www.google.com/" style="background: url(images/Google-ico-normal.png) no-repeat;" class="rollover">Google</a>
<script type="text/javascript">
/* <![CDATA[ */
$(function(){
$('.rollover').rollover(); // or $.rollover('.rollover');
});
/* ]]> */
</script>
<!-- {lib_name} {version} -->
<script src="{lib_path}jquery.selectBox.min.js" type="text/javascript"></script>
<!-- {lib_name} theme -->
<link href="{lib_path}themes/default/jquery.selectBox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
/* <![CDATA[ */
$(function(){
$("SELECT").selectBox();
});
/* ]]> */
</script>
<!-- Yahoo Browser Plus 2.4.21 -->
<script src="http://bp.yahooapis.com/2.4.21/browserplus-min.js" type="text/javascript"></script>
<!-- {lib_name} full {version} -->
<script src="{lib_path}plupload.full.min.js" type="text/javascript"></script>
<!-- {lib_name} queue {version} -->
<script src="{lib_path}jquery.plupload.queue/jquery.plupload.queue.min.js" type="text/javascript"></script>
<!-- {lib_name} CSS -->
<link href="{lib_path}jquery.plupload.queue/css/jquery.plupload.queue.css" rel="stylesheet" type="text/css" />
$("#uploader").pluploadQueue({
// General settings
runtimes: 'flash,html5,gears,browserplus,silverlight,html4',
url: 'upload.php',
max_file_size: '10mb',
chunk_size: '1mb',
unique_names: true,
multiple_queues : true,
// Resize images on clientside if we can
resize: {width: 320, height: 240, quality: 90},
// Specify what files to browse for
filters: [
{title: "Image files", extensions: "jpg,gif,png"},
{title: "Zip files", extensions: "zip"}
],
// Flash/Silverlight paths
flash_swf_url: '{lib_path}plupload.flash.swf',
silverlight_xap_url: '{lib_path}plupload.silverlight.xap',
// PreInit events, bound before any internal events
preinit: {
UploadFile: function(up, file) {
// You can override settings before the file is uploaded
// up.settings.url = 'upload.php?id=' + file.id;
// up.settings.multipart_params = {param1: 'value1', param2: 'value2'};
}
},
// Post init events, bound after the internal events
init: {
FileUploaded: function(up, file, info) {
// Called when a file has finished uploading
},
}
});
<div id="uploader" style="width: 650px; height: 330px;">You browser doesn't support upload.</div>
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*.lemonlion.sk" />
<allow-access-from domain="*.lemonlion.net" />
<allow-access-from domain="*.lioweb.sk" />
</cross-domain-policy>