diff --git a/examples&sources/01.Sample-Boxed.html b/examples&sources/01.Sample-Boxed.html deleted file mode 100644 index 2a8702e..0000000 --- a/examples&sources/01.Sample-Boxed.html +++ /dev/null @@ -1,1626 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - -
- -
-
-
- -
-
-
- - -
- - -
-
-
    -
  • - - slidebg1 - - - -
    -
    - - -
    -
    - - -
    Faster -
    - - -
    & -
    - - -
    More -
    - - -
    Powerful -
    - - -
    Slider Revolution is the highly acclaimed
    slide-based displaying solution, thousands of
    businesses, theme developers and everyday
    people use and love! -
    - - -
    -
    - - -
    1000's -
    - - -
    Of Happy Users -
    - - -
    Rekord Breaking -
    - - -
    Sales on CodeCanyon -
    - - -
    A Professional Solution -
    - - -
    4.7/5 Stars -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Customer Rating -
    -
  • - - - -
  • - - newslide2014_1 - - - -
    INTRODUCING -
    - - -
      -
    - - -
    BRAND NEW FEATURES -
    - - -
    animate -
    - - - - -
      -
    - - -
    CHARACTERS -
    - - -
    SINGLE WORDS -
    - - -
    LINES -
    - - -
    Lorem ipsum dolor sit amet, consetetur
    sadipscing elitr, sed diam nonumy
    eirmod tempor invidunt ut labore et
    dolore magna aliquyam erat, sed diam
    voluptua. At vero eos et accusam. -
    - - -
  • - - -
  • - - newslide2014_1 - - - -
    INTRODUCING -
    - - -
      -
    - - -
    BRAND NEW FEATURES -
    - - -
    animate -
    - - -
      -
    - - -
    CHARACTERS -
    - - -
    SINGLE WORDS -
    - - -
    LINES -
    - - -
    Lorem ipsum dolor sit amet, consetetur
    sadipscing elitr, sed diam nonumy
    eirmod tempor invidunt ut labore et
    dolore magna aliquyam erat, sed diam
    voluptua. At vero eos et accusam. -
    - -
  • - - - -
  • - - darkblurbg - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Caption Selection -
    - - -
    Custom Animation Editor -
    - - -
    With Live Preview -
    - - -
    With Style Preview -
    - - -
    Big -
    - - -
    Improvements -
    -
  • - -
  • - - - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Design -
    - - -
    & -
    - - -
    Create -
    - - -
    With Total Layer Control -
    -
  • - -
  • - - - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Timelined Captions -
    - - -
    Create Custom Animations
    - with our Brand-New
    - Transition Builder -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    -
  • - -
  • - - videobg1 - - - -
    Extensive Video Support -
    - - -
    Youtube -
    - - -
    Vimeo -
    - - -
    Self-Hosted HTML 5 -
    - - -
    Next Slide: Full Screen Video -
    - - -
    -
    - - -
    -
    -
  • - -
  • - - - - - -
    -
    -
  • -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

How to build a Slider ?

-

Copy To the Header:

-
-		<!-- get jQuery from the google apis -->
-		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.js"></script>
-
-		<!-- CSS STYLE-->
-		<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
-
-		<!-- SLIDER REVOLUTION 4.x SCRIPTS  -->
-		<script type="text/javascript" src="rs-plugin/js/jquery.themepunch.plugins.min.js"></script>
-		<script type="text/javascript" src="rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
-
-		<!-- SLIDER REVOLUTION 4.x CSS SETTINGS -->
-		<link rel="stylesheet" type="text/css" href="rs-plugin/css/settings.css" media="screen" />
-		
-
-

Create in the Document some Slider Markups like here:

-
-	<!--
-	#################################
-		- THEMEPUNCH BANNER -
-	#################################
-	-->
-	<div class="tp-banner-container">
-		<div class="tp-banner" >
-			<ul>
-				<!-- SLIDE  -->
-				<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-					<!-- MAIN IMAGE -->
-					<img src="images/slidebg1.jpg"  alt="slidebg1"  data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat">
-					<!-- LAYERS -->
-					<!-- LAYER NR. 1 -->
-					<div class="tp-caption lightgrey_divider skewfromrightshort fadeout"
-						data-x="85"
-						data-y="224"
-						data-speed="500"
-						data-start="1200"
-						data-easing="Power4.easeOut">My Caption
-					</div>
-					...
-
-				</li>
-				<!-- SLIDE  -->
-				<li data-transition="zoomout" data-slotamount="7" data-masterspeed="1000" >
-					<!-- MAIN IMAGE -->
-					<img src="images/darkblurbg.jpg"  alt="darkblurbg"  data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat">
-					<!-- LAYERS -->
-					<!-- LAYER NR. 1 -->
-					<div class="tp-caption lightgrey_divider skewfromrightshort fadeout"
-						data-x="85"
-						data-y="224"
-						data-speed="500"
-						data-start="1200"
-						data-easing="Power4.easeOut">My Caption
-					</div>
-					...
-				</li>
-				....
-			</ul>
-		</div>
-	</div>
-	  
- -
-

Initialise the Plugin somewhere in the Body Footer:

-
-	  	<script type="text/javascript">
-				jQuery(document).ready(function() {
-					   jQuery('.tp-banner').revolution(
-						{
-							delay:9000,
-							startwidth:1170,
-							startheight:500,
-							hideThumbs:10
-						});
-				});
-			</script>
-	  
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/02.Sample-Fullwidth.html b/examples&sources/02.Sample-Fullwidth.html deleted file mode 100644 index 8728a10..0000000 --- a/examples&sources/02.Sample-Fullwidth.html +++ /dev/null @@ -1,1249 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - -
-
-
- -
-
-
- - -
- - -
-
-
    -
  • - - slidebg1 - - - -
    -
    - - -
    -
    - - -
    Faster -
    - - -
    & -
    - - -
    More -
    - - -
    Powerful -
    - - -
    Slider Revolution is the highly acclaimed
    slide-based displaying solution, thousands of
    businesses, theme developers and everyday
    people use and love! -
    - - -
    -
    - - -
    1000's -
    - - -
    Of Happy Users -
    - - -
    Rekord Breaking -
    - - -
    Sales on CodeCanyon -
    - - -
    A Professional Solution -
    - - -
    4.7/5 Stars -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Customer Rating -
    -
  • - -
  • - - darkblurbg - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Caption Selection -
    - - -
    Custom Animation Editor -
    - - -
    With Live Preview -
    - - -
    With Style Preview -
    - - -
    Big -
    - - -
    Improvements -
    -
  • - -
  • - - - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Design -
    - - -
    & -
    - - -
    Create -
    - - -
    With Total Layer Control -
    -
  • - -
  • - - - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Timelined Captions -
    - - -
    Create Custom Animations
    - with our Brand-New
    - Transition Builder -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    -
  • - -
  • - - videobg1 - - - -
    Extensive Video Support -
    - - -
    Youtube -
    - - -
    Vimeo -
    - - -
    Self-Hosted HTML 5 -
    - - -
    Next Slide: Full Screen Video -
    - - -
    -
    - - -
    -
    -
  • - -
  • - - - - - -
    -
    -
  • -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

What to do for Fullwidth?

-

Make sure that your slider Wrapping Container allows you to go fullwidth, and there is no limitation in width / maxwidth.

-

In case your container is Boxed, and you want to force the Slider to go fullwidth, than simple use the forceFullWidth:"on" parameter !

- - -
-

Initialise the Plugin with forceFullWidth parameters:

-
-	  	<script type="text/javascript">
-
-				var revapi;
-
-				jQuery(document).ready(function() {
-
-					   revapi = jQuery('.tp-banner').revolution(
-						{
-							delay:9000,
-							startwidth:1170,
-							startheight:500,
-							hideThumbs:10,
-							fullWidth:"on",
-							forceFullWidth:"on"
-
-						});
-
-				});	//ready
-
-			</script>
-	  
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/03.Sample-FullScreen.html b/examples&sources/03.Sample-FullScreen.html deleted file mode 100644 index c66bb03..0000000 --- a/examples&sources/03.Sample-FullScreen.html +++ /dev/null @@ -1,591 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18
- -
- - - - -
-
-
    - -
  • - - slidebg1 - - - -
    BASIC CAPTION
    ANIMATIONS -
    - - - - - - -
    FADE -
    - - -
    SHORT FROM LEFT (sfl) -
    - - -
    SKEW FROM LEFT (skewfromleft) -
    - - -
    SHORT FROM TOP (sft) -
    - - -
    LONG FROM TOP (lft) -
    - - -
    SHORT FROM RIGHT (sfr) -
    - - - - -
    SKEW FROM RIGHT (skewfromright) -
    - - - -
    SHORT FROM BOTTOM (sfb) -
    - - -
    LONG FROM BOTTOM (lfb) -
    - - -
    RANDOM ROTATE (randomrotate) -
    - - -
    LONG FROM RIGHT (lfr) -
    - - -
    LONG FROM LEFT (lfl) -
    -
  • - - -
  • - - slidebg1 - - -
    SOME FANCY EASING -
    - - -
    Power1.easeOut -
    - - -
    Back.easeOut -
    - - -
    Elastic.easeOut -
    - - -
    Power3.easeInOut -
    - - -
    Power4.easeOut -
    - - -
    Power2.easeInOut -
    - - - - -
    Circ.easeOut -
    - - - -
    Cube.easeOut -
    - - -
    Bounce.easeOut -
    - - -
    Linear.easeNone -
    - - -
    Expo.easeOut -
    - - -
    Expo.easeIn -
    -
  • - - -
  • - - slidebg1 - - -
    TRY THE
    CAPTION ANIMATION
    BUILDER BELOW -
    - -
    GO AND GIVE A TRY -
    -
  • - - -
  • - - slidebg1 - - -
    CREATE AWESOME ANIMATIONS -
    -
  • - - -
-
-
-
- - - - - - - -
- - - - - - - - - - -
-

What to do for FullScreen?

-

Make sure that your slider Wrapping Container allows you to go fullwidth and fullheight, and there is no limitation in width / maxwidth.In case your container is Boxed, and you want to force the Slider to go Fullscreen, than simple use the forceFullWidth:"on" parameter !

-

If you wish to have an Offset top and bottom, since you have some header or Footer, or both, please take a look on the example 03B here: 03B.Sample-FullScreen-Offsets

- - -
-

Initialise the Plugin with fullScreen parameters:

-
-	  	<script type="text/javascript">
-
-				var revapi;
-
-				jQuery(document).ready(function() {
-
-					   revapi = jQuery('.tp-banner').revolution(
-						{
-							delay:15000,
-							startwidth:1170,
-							startheight:500,
-							hideThumbs:10,
-							fullWidth:"off",
-							fullScreen:"on",
-							fullScreenOffsetContainer: ""
-
-						});
-
-				});	//ready
-
-			</script>
-	  
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/04.Sample-FullScreen-Offsets.html b/examples&sources/04.Sample-FullScreen-Offsets.html deleted file mode 100644 index 4943cdb..0000000 --- a/examples&sources/04.Sample-FullScreen-Offsets.html +++ /dev/null @@ -1,606 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18
- - - - - - -
- - - - -
-
-
    - -
  • - - slidebg1 - - - -
    BASIC CAPTION
    ANIMATIONS -
    - - - - - - -
    FADE -
    - - -
    SHORT FROM LEFT (sfl) -
    - - -
    SKEW FROM LEFT (skewfromleft) -
    - - -
    SHORT FROM TOP (sft) -
    - - -
    LONG FROM TOP (lft) -
    - - -
    SHORT FROM RIGHT (sfr) -
    - - - - -
    SKEW FROM RIGHT (skewfromright) -
    - - - -
    SHORT FROM BOTTOM (sfb) -
    - - -
    LONG FROM BOTTOM (lfb) -
    - - -
    RANDOM ROTATE (randomrotate) -
    - - -
    LONG FROM RIGHT (lfr) -
    - - -
    LONG FROM LEFT (lfl) -
    -
  • - - -
  • - - slidebg1 - - -
    SOME FANCY EASING -
    - - -
    Power1.easeOut -
    - - -
    Back.easeOut -
    - - -
    Elastic.easeOut -
    - - -
    Power3.easeInOut -
    - - -
    Power4.easeOut -
    - - -
    Power2.easeInOut -
    - - - - -
    Circ.easeOut -
    - - - -
    Cube.easeOut -
    - - -
    Bounce.easeOut -
    - - -
    Linear.easeNone -
    - - -
    Expo.easeOut -
    - - -
    Expo.easeIn -
    -
  • - - -
  • - - slidebg1 - - -
    TRY THE
    CAPTION ANIMATION
    BUILDER BELOW -
    - -
    GO AND GIVE A TRY -
    -
  • - - -
  • - - slidebg1 - - -
    CREATE AWESOME ANIMATIONS -
    -
  • - - -
-
-
-
- - - - - - - -
- - - - - - - - - - - - -
-

What to do for FullScreen?

-

Make sure that your slider Wrapping Container allows you to go fullwidth and fullheight, and there is no limitation in width / maxwidth.In case your container is Boxed, and you want to force the Slider to go Fullscreen, than simple use the forceFullWidth:"on" parameter !

-

If you dont need the Offset (header and footer) take a look on the simple Fullscreen example here: 03.Sample-FullScreen

- - -
-

Initialise the Plugin with fullScreen parameters:

-
-	  	<script type="text/javascript">
-
-				var revapi;
-
-				jQuery(document).ready(function() {
-
-					   revapi = jQuery('.tp-banner').revolution(
-						{
-							delay:15000,
-							startwidth:1170,
-							startheight:500,
-							hideThumbs:10,
-							fullWidth:"off",
-							fullScreen:"on",
-							fullScreenOffsetContainer: ""
-
-						});
-
-				});	//ready
-
-			</script>
-	  
-
- - - - - - \ No newline at end of file diff --git a/examples&sources/05.Sample-Aligns.html b/examples&sources/05.Sample-Aligns.html deleted file mode 100644 index f619511..0000000 --- a/examples&sources/05.Sample-Aligns.html +++ /dev/null @@ -1,524 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - -
-
-
- -
-
-
- - -
- - - - -
-
-
    - -
  • - - slidebg1 - - - -
    Left Top -
    - - -
    Center Top -
    - - -
    Right Top -
    - - -
    Left Center -
    - - -
    Center Center -
    - - -
    Right Center -
    - - - - -
    Left Bottom -
    - - - -
    Center Bottom -
    - - -
    Right Bottom -
    - -
  • - - -
  • - - slidebg1 - - - -
    Left Top (x+50, y+100) -
    - - -
    Center Top (x-50, y+40) - -
    - - -
    Right Top (x-90, y+20) -
    - - -
    Left Center (x+30, y-20) -
    - - -
    Center Center (x-30,y+20) -
    - - -
    Right Center (x-50, y-40) -
    - - - - -
    Left Bottom (x+15,y-20) -
    - - - -
    Center Bottom (y-10) -
    - - -
    Right Bottom (x-30, y-30) -
    -
  • - - -
  • - - slidebg1 - - -
    TRY THE
    CAPTION ANIMATION
    BUILDER BELOW -
    - -
    GO AND GIVE A TRY -
    -
  • - - -
  • - - slidebg1 - - -
    CREATE AWESOME ANIMATIONS -
    -
  • - - -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

How to Align Captions ?

-

Each Caption is positioned via Absolute Position relative to the left/top corner of the Grid. The Grid is the Caption holder. It can but must not be the same size as the Slider itself. Since fullwidth and fullscreen slider can have a higher width or height dimension then the caption Grid itself. Still you can help yourself and position the captions on the center or bottom / right positions in the Grid. For this take a look on the following Settings in the Captions

-

In case you wish to force the Aligns go to the real corners of the Slide and break the Grid size, you can do this via some special options. See example: 04B.Sample-AlignForce.html

-
-

Caption at Center Center

-
-			<div class="tp-caption medium_bg_asbestos lft"
-				data-x="center"
-				data-y="center"
-				data-hoffset="0"
-				data-voffset="0"
-				data-speed="800"
-				data-start="3300"
-				data-easing="Power4.easeOut"
-				data-endspeed="300"
-				data-endeasing="Power1.easeIn"
-				data-captionhidden="off"
-				style="z-index: 6">Center Center
-			</div>
-		
-
-

To move vertical or horizontal the caption from that aligned position, you can use the hoffset and voffset settings

-
-

Center Center with -30px in the horizontal and +20px in the vertical direction

-
-			<div class="tp-caption medium_bg_asbestos lft"
-				data-x="center"
-				data-y="center"
-				data-hoffset="-30"
-				data-voffset="20"
-				data-speed="800"
-				data-start="3300"
-				data-easing="Power4.easeOut"
-				data-endspeed="300"
-				data-endeasing="Power1.easeIn"
-				data-captionhidden="off"
-				style="z-index: 6">Center Center
-			</div>
-		
-
-

In case you set the data-x and data-y with a value (not like center, right or vertical top, center, bottom) the captions will be aligned to the left top corner.

-
-

Left Top (default) Align, and simple positions

-
-			<div class="tp-caption medium_bg_asbestos lft"
-				data-x="250"
-				data-y="180"
-				data-speed="800"
-				data-start="3300"
-				data-easing="Power4.easeOut"
-				data-endspeed="300"
-				data-endeasing="Power1.easeIn"
-				data-captionhidden="off"
-				style="z-index: 6">Center Center
-			</div>
-		
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/06.Sample-AlignForce.html b/examples&sources/06.Sample-AlignForce.html deleted file mode 100644 index 6352fa0..0000000 --- a/examples&sources/06.Sample-AlignForce.html +++ /dev/null @@ -1,487 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - - -
- - - - -
-
-
    - -
  • - - slidebg1 - - - -
    Left Top -
    - - -
    Center Top -
    - - -
    Right Top -
    - - -
    Left Center -
    - - -
    Center Center -
    - - -
    Right Center -
    - - - - -
    Left Bottom -
    - - - -
    Center Bottom -
    - - -
    Right Bottom -
    - -
  • - - -
  • - - slidebg1 - - - -
    Left Top (x+50, y+100) -
    - - -
    Center Top (x-50, y+40) - -
    - - -
    Right Top (x-90, y+20) -
    - - -
    Left Center (x+30, y-20) -
    - - -
    Center Center (x-30,y+20) -
    - - -
    Right Center (x-50, y-40) -
    - - - - -
    Left Bottom (x+15,y-20) -
    - - - -
    Center Bottom (y-10) -
    - - -
    Right Bottom (x-30, y-30) -
    -
  • - - -
  • - - slidebg1 - - -
    TRY THE
    CAPTION ANIMATION
    BUILDER BELOW -
    - -
    GO AND GIVE A TRY -
    -
  • - - -
  • - - slidebg1 - - -
    CREATE AWESOME ANIMATIONS -
    -
  • - - -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

How to Force the Captions Aligns in FullScreen?

-

In Default mode the captions are aligned within the Grid. The Gird is always vertical and horizontal aligned when the slider container is bigger then the Grid startwidth and startheight size. Since some Fullscreen Demo needs the very far corners, we added this forceAlign option. For this simple initialise the slider with the following options:

-
-			<script type="text/javascript">
-
-				var revapi;
-
-				jQuery(document).ready(function() {
-
-					   revapi = jQuery('.tp-banner').revolution(
-						{
-							delay:9000,
-							startwidth:1170,
-							startheight:500,
-							hideThumbs:10,
-							fullScreen:"on",
-							fullScreenAlignForce:"on"
-						});
-
-				});
-
-			</script>
-
-		
- -
- - - - - - - \ No newline at end of file diff --git a/examples&sources/07.Sample-Videos.html b/examples&sources/07.Sample-Videos.html deleted file mode 100644 index ed6d0ca..0000000 --- a/examples&sources/07.Sample-Videos.html +++ /dev/null @@ -1,751 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - -
-
-
- -
-
-
- - -
- - - - -
-
-
    - -
  • - - slidebg1 - - - -
    VIMEO -
    - - -
    AUTOPLAY - FALSE -
    - - -
    AUTO NEXT SLIDE - FALSE -
    - - -
    AUTO PLAY ONLY ONCE - FALSE -
    - - -
    -
    - - -
    -
    - - -
  • - - -
  • - - slidebg1 - - - -
    YOUTUBE -
    - - -
    AUTOPLAY - TRUE -
    - - -
    AUTO NEXT SLIDE - TRUE -
    - - -
    AUTO PLAY ONLY ONCE - TRUE -
    - - -
    -
    - - -
    -
    - - -
  • - - - -
  • - - slidebg1 - - - -
    YOUTUBE -
    - - -
    AUTOPLAY - FALSE -
    - - -
    AUTO NEXT SLIDE - TRUE -
    - - -
    THUMBNAIL IMAGE - TRUE -
    - - -
    -
    - - -
    -
    - - -
  • - - - -
  • - - slidebg1 - - - -
    HTML5 -
    - - -
    AUTOPLAY - TRUE -
    - - -
    AUTO NEXT SLIDE - FALSE -
    - - -
    AUTO PLAY ONLY ONCE - FALSE -
    - - -
    -
    - - -
    - -
    - - - - -
  • - - -
  • - - slidebg1 - - - -
    HTML5 -
    - - -
    CONTROLS - NONE -
    - - -
    LOOP - TRUE -
    - - -
    FULLSCREEN VIDEO -
    - - - - - - -
    - -
    - - - - -
  • - - - - -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

How to Embed Videos in the Slider ?

-

You can embed Vimeo, YouTube and HTML5 Videos as Video Captions. Within a video you can set autoplay, autoplay only first time, loop (html5), nocontrol(html5), thumbnails for videos, fullscreen or predefined size.

-
-

Important options in Plugin Initialisation:

-
-		<script type="text/javascript">
-		var revapi;
-		jQuery(document).ready(function() {
-			   revapi = jQuery('.tp-banner').revolution(
-				{
-					delay:9000,
-					startwidth:1170,
-					startheight:500,
-					hideThumbs:10,
-					videoJsPath:"rs-plugin/videojs/"
-
-				});
-		});
-		</script>
-		
-
-

YouTube Example - AutoPlay and Next Slide at End of the Video turned on

-
-		<div class="tp-caption sft customout"
-			data-x="center" data-hoffset="134"
-			data-y="center" data-voffset="-6"
-			data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:5;scaleY:5;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-			data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-			data-speed="600"
-			data-start="1000"
-			data-easing="Power4.easeOut"
-			data-endspeed="500"
-			data-endeasing="Power4.easeOut"
-			data-autoplay="true"
-			data-autoplayonlyfirsttime="false"
-			data-nextslideatend="true"
-		>
-			<iframe src='http://www.youtube.com/embed/T8--OggjJKQ?enablejsapi=1&html5=1&hd=1&wmode=opaque&controls=1&showinfo=0;rel=0;' width='640' height='360'
-			           style='width:640px;height:360px;'>
-			</iframe>
-			
-		</div>
-		
- -
-

Vimeo Example - AutoPlay on First Time and Next Slide at End of the Video turned on.

-
-		<div class="tp-caption sft customout"
-			data-x="center" data-hoffset="134"
-			data-y="center" data-voffset="-6"
-			data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:5;scaleY:5;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-			data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-			data-speed="600"
-			data-start="1000"
-			data-easing="Power4.easeOut"
-			data-endspeed="500"
-			data-endeasing="Power4.easeOut"
-			data-autoplay="true"
-			data-autoplayonlyfirsttime="true"
-			data-nextslideatend="true"
-		>
-			<iframe src='http://player.vimeo.com/video/76512663?title=0&byline=0&portrait=0;api=1' width='640' height='360'
-			           style='width:640px;height:360px;'>
-			</iframe>
-			
-		</div>
-		
- -
-

HTML5 Example - Autoplay On, Loop but with Controls, and in Fullscreen.

-
-		<div class="tp-caption sft customout fullscreenvideo"
-			data-x="center" data-hoffset="134"
-			data-y="center" data-voffset="-6"
-			data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:5;scaleY:5;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-			data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-			data-speed="600"
-			data-start="1000"
-			data-easing="Power4.easeOut"
-			data-endspeed="500"
-			data-endeasing="Power4.easeOut"
-			data-autoplay="true"
-			data-autoplayonlyfirsttime="true"
-			data-nextslideatend="true"
-		>
-			<video class="video-js vjs-default-skin" preload="none" loop  controls width="100%" height="100%"
-			      poster="http://video-js.zencoder.com/oceans-clip.png"
-			      data-setup="{}">
-			    <source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4' />
-			    <source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm' />
-			    <source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' />
-			    <track kind="captions" src="demo.captions.vtt" srclang="en" label="English" />
-			  </video>
-			
-		</div>
-		
- -
-

YouTube Example - With Thumbnail Image over Video

-
-		<div class="tp-caption sft customout"
-			data-x="center" data-hoffset="134"
-			data-y="center" data-voffset="-6"
-			data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:5;scaleY:5;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-			data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-			data-speed="600"
-			data-start="1000"
-			data-easing="Power4.easeOut"
-			data-endspeed="500"
-			data-endeasing="Power4.easeOut"
-			data-autoplay="true"
-			data-autoplayonlyfirsttime="false"
-			data-nextslideatend="true"
-			data-thumbimage="images/bg3.jpg"
-		>
-			<iframe src='http://www.youtube.com/embed/T8--OggjJKQ?enablejsapi=1&html5=1&hd=1&wmode=opaque&controls=1&showinfo=0;rel=0;' width='640' height='360'
-			           style='width:640px;height:360px;'>
-			</iframe>
-			
-		</div>
-		
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/08.Sample-NavigationStyle.html b/examples&sources/08.Sample-NavigationStyle.html deleted file mode 100644 index a370b3c..0000000 --- a/examples&sources/08.Sample-NavigationStyle.html +++ /dev/null @@ -1,576 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18
- - - -
-
-
- -
-
-
- - -
- -
- -
-
-
    - -
  • - - slidebg1 - -
  • - - -
  • - - slidebg1 - -
  • - - -
  • - - slidebg1 -
  • - - -
  • - - slidebg1 -
  • - - -
- -
-
-
- -
- -
-
-
    - -
  • - - slidebg1 - -
  • - - -
  • - - slidebg1 - -
  • - - -
  • - - slidebg1 -
  • - - -
  • - - slidebg1 -
  • - - -
- -
-
-
-
-
- -
-
-
    - -
  • - - slidebg1 - -
  • - - -
  • - - slidebg1 - -
  • - - -
  • - - slidebg1 -
  • - - -
  • - - slidebg1 -
  • - - -
- -
-
-
- -
- -
-
-
    - -
  • - - slidebg1 - -
  • - - -
  • - - slidebg1 - -
  • - - -
  • - - slidebg1 -
  • - - -
  • - - slidebg1 -
  • - - -
- -
-
-
-
- - - - - - - - - -
- - - - - - - - - - -
-

Change Navigation Style via CSS

-

You can turn on / off independent the Arrows and Bullets in the Slider. You can use Bullets or Thumbnails. You can set independent the position of arrows, thumbnails and bullets.

-

Since Slider Revolution has a few prepared style of Thumbnails, bullets and Arrows, you dont need to style them at all. However in some cases you wish to have your own styled navigation buttons.For this we show you how to do so:

- -
-

Change the the Navigation via Options

-
-		<script type="text/javascript">
-
-		var revapi;
-
-			jQuery(document).ready(function() {
-
-			   revapi = jQuery('.tp-banner').revolution(
-				{
-					delay:9000,
-					startwidth:1170,
-					startheight:500,
-
-					hideThumbs:200,
-
-					thumbWidth:100,
-					thumbHeight:50,
-					thumbAmount:3,
-
-					navigationType:"bullet",     // use none, bullet or thumb
-					navigationArrows:"solo",     // nexttobullets, solo (old name verticalcentered), none
-
-					navigationStyle:"round",     // round, square, navbar, round-old, square-old, navbar-old 
-
-
-					navigationHAlign:"center",   // left,center,right
-					navigationVAlign:"bottom",   // top,center,bottom
-					navigationHOffset:0,		 // offset position from aligned position
-					navigationVOffset:0,		 // offset position from aligned position
-
-					soloArrowLeftHalign:"left",	 // left,center,right
-					soloArrowLeftValign:"bottom",// top,center,bottom
-					soloArrowLeftHOffset:20,	 // offset position from aligned position
-					soloArrowLeftVOffset:20,	 // offset position from aligned position
-
-					soloArrowRightHalign:"right",	// left,center,right
-					soloArrowRightValign:"bottom",	// top,center,bottom
-					soloArrowRightHOffset:20,		// offset position from aligned position
-					soloArrowRightVOffset:20,		// offset position from aligned position
-
-					touchenabled:"on",
-					onHoverStop:"on"
-
-				});
-
-			});	//ready
-
-		</script>
-		
- -
-

Change the Style of the Navigation Arrows via StyleSheet

-

You can add the following lines to your Style Sheet

-
-		.tparrows {
-
-		    cursor: pointer;
-
-		    background: rgba(0, 0, 0, 0.5) !important;
-		    -webkit-border-radius: 5px;
-		    border-radius: 5px;
-		    width: 40px !important;
-		    height: 40px !important;
-
-		}
-
-		.tparrows:before {
-		    font-family: 'revicons';
-			color: #fff;
-		    font-style: normal;
-		    font-weight: normal;
-		    speak: none;
-		    display: inline-block;
-		    text-decoration: inherit;
-		    margin-right: 0;
-		    margin-top: 9px;
-		    text-align: center;
-		    width: 40px;
-		    font-size: 20px;
-		}
-
-		.tparrows:hover {
-		    color: #fff;
-		}
-
-		.tp-leftarrow:before {
-		    content: '\e824';
-		}
-
-		tp-rightarrow:before {
-		    content: '\e825';
-		}
-
-		.tparrows.tp-rightarrow:before {
-		    margin-left: 1px;
-		}
-
-		.tparrows:hover {
-		    background: rgba(0, 0, 0, 1) !important;
-		}
-		
-
-

Change the Style of the Bullets via StyleSheet

-

You can add the following lines to your Style Sheet

-
-		.tp-bullets.simplebullets.navbar {
-
-		    height: 35px;
-		    padding: 0px 0px;
-
-		}
-		.tp-bullets.simplebullets .bullet {
-		    cursor: pointer;
-		    position: relative !important;
-		    background: rgba(0, 0, 0, 0.5) !important;
-		    -webkit-border-radius: 10px;
-		    border-radius: 10px;
-		    -webkit-box-shadow: none;
-		    -moz-box-shadow: none;
-		    box-shadow: none;
-		    width: 6px !important;
-		    height: 6px !important;
-		    border: 5px solid rgba(0, 0, 0, 0) !important;
-		    display: inline-block;
-		    margin-right: 2px !important;
-		    margin-bottom: 14px !important;
-		    -webkit-transition: background-color 0.2s, border-color 0.2s;
-		    -moz-transition: background-color 0.2s, border-color 0.2s;
-		    -o-transition: background-color 0.2s, border-color 0.2s;
-		    -ms-transition: background-color 0.2s, border-color 0.2s;
-		    transition: background-color 0.2s, border-color 0.2s;
-		    float:none !important;
-		}
-		.tp-bullets.simplebullets .bullet.last {
-		    margin-right: 0px
-		}
-		.tp-bullets.simplebullets .bullet:hover,
-		.tp-bullets.simplebullets .bullet.selected {
-		    -webkit-box-shadow: none;
-		    -moz-box-shadow: none;
-		    box-shadow: none;
-			background: rgba(255, 255, 255, 1) !important;
-			width: 6px !important;
-		    height: 6px !important;
-		    border: 5px solid rgba(0, 0, 0, 1) !important;
-		}
-
-		
- -
- - - - - - - \ No newline at end of file diff --git a/examples&sources/09.Sample-Api.html b/examples&sources/09.Sample-Api.html deleted file mode 100644 index 92c5aea..0000000 --- a/examples&sources/09.Sample-Api.html +++ /dev/null @@ -1,405 +0,0 @@ -< - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - -
-
-
- -
-
-
- - -
- - - - -
-
-
    - -
  • - - slidebg1 - - - -
    Try The Buttons below the Slider -
    - - -
    -
    - - -
  • - - -
  • - - slidebg1 - - -
    Try The Buttons below the Slider -
    - - -
  • - - -
  • - - slidebg1 - - -
    Try The Buttons below the Slider -
    - -
  • - - -
  • - - slidebg1 - -
    Try The Buttons below the Slider -
    - -
  • - - -
-
-
-
- - - -
-
- - - - - - - - - - - - -
-

Function Events

-

Slider Loop Events

-

Video Events

-

Other Events

-

Loaded Events

- - - - - - - - - -
- - - - - - - - - - -
-

What are API and Methods/Events ?

-

An application programming interface (API) specifies how some software components should interact with each other. Slider Revolution use following Methods:

-
- -
-

Slider Revolution Triggers following Events

-
- -
- - - - - - - \ No newline at end of file diff --git a/examples&sources/10.B.Sample-LazyLoading Level2.html b/examples&sources/10.B.Sample-LazyLoading Level2.html deleted file mode 100644 index 3f8cf97..0000000 --- a/examples&sources/10.B.Sample-LazyLoading Level2.html +++ /dev/null @@ -1,1254 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - -
-
-
- -
-
-
- - -
- - -
-
-
    -
  • - - slidebg1 - - - -
    -
    - - -
    -
    - - -
    Faster -
    - - -
    & -
    - - -
    More -
    - - -
    Powerful -
    - - -
    Slider Revolution is the highly acclaimed
    slide-based displaying solution, thousands of
    businesses, theme developers and everyday
    people use and love! -
    - - -
    -
    - - -
    1000's -
    - - -
    Of Happy Users -
    - - -
    Rekord Breaking -
    - - -
    Sales on CodeCanyon -
    - - -
    A Professional Solution -
    - - -
    4.7/5 Stars -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Customer Rating -
    -
  • - -
  • - - darkblurbg - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Caption Selection -
    - - -
    Custom Animation Editor -
    - - -
    With Live Preview -
    - - -
    With Style Preview -
    - - -
    Big -
    - - -
    Improvements -
    -
  • - -
  • - - - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Design -
    - - -
    & -
    - - -
    Create -
    - - -
    With Total Layer Control -
    -
  • - -
  • - - - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Timelined Captions -
    - - -
    Create Custom Animations
    - with our Brand-New
    - Transition Builder -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    -
  • - -
  • - - videobg1 - - - -
    Extensive Video Support -
    - - -
    Youtube -
    - - -
    Vimeo -
    - - -
    Self-Hosted HTML 5 -
    - - -
    Next Slide: Full Screen Video -
    - - -
    -
    - - -
    -
    -
  • - -
  • - - - - - -
    -
    -
  • -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

How to activate the lazy loading ?

-

In such situation it is better to activate the Lazy Loading option to load the images first when they really should be shown in the slider. Lazy Loading is only available for the Main images in the current version.Follow the steps to actiavet Lazy Loading

-
-

Use blank images as sources instead of the original Images, and use the data-lazyload parameter:

- -
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/dummy.png" data-lazyload="images/slidebg1.jpg"   alt="slidebg1"  data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat">
-			...
-		
-
-

Initialise the Plugin somewhere in the Body Footer:

-
-	  	<script type="text/javascript">
-
-				var revapi;
-
-				jQuery(document).ready(function() {
-
-					   revapi = jQuery('.tp-banner').revolution(
-						{
-							delay:9000,
-							startwidth:1170,
-							startheight:500,
-							hideThumbs:10,
-							lazyLoad:"on"
-
-						});
-
-				});	//ready
-
-			</script>
-	  
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/10.Sample-LazyLoading.html b/examples&sources/10.Sample-LazyLoading.html deleted file mode 100644 index d8c6fdd..0000000 --- a/examples&sources/10.Sample-LazyLoading.html +++ /dev/null @@ -1,1254 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - -
-
-
- -
-
-
- - -
- - -
-
-
    -
  • - - slidebg1 - - - -
    -
    - - -
    -
    - - -
    Faster -
    - - -
    & -
    - - -
    More -
    - - -
    Powerful -
    - - -
    Slider Revolution is the highly acclaimed
    slide-based displaying solution, thousands of
    businesses, theme developers and everyday
    people use and love! -
    - - -
    -
    - - -
    1000's -
    - - -
    Of Happy Users -
    - - -
    Rekord Breaking -
    - - -
    Sales on CodeCanyon -
    - - -
    A Professional Solution -
    - - -
    4.7/5 Stars -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Customer Rating -
    -
  • - -
  • - - darkblurbg - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Caption Selection -
    - - -
    Custom Animation Editor -
    - - -
    With Live Preview -
    - - -
    With Style Preview -
    - - -
    Big -
    - - -
    Improvements -
    -
  • - -
  • - - - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Design -
    - - -
    & -
    - - -
    Create -
    - - -
    With Total Layer Control -
    -
  • - -
  • - - - - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    Timelined Captions -
    - - -
    Create Custom Animations
    - with our Brand-New
    - Transition Builder -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    -
  • - -
  • - - videobg1 - - - -
    Extensive Video Support -
    - - -
    Youtube -
    - - -
    Vimeo -
    - - -
    Self-Hosted HTML 5 -
    - - -
    Next Slide: Full Screen Video -
    - - -
    -
    - - -
    -
    -
  • - -
  • - - - - - -
    -
    -
  • -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

How to activate the lazy loading ?

-

In such situation it is better to activate the Lazy Loading option to load the images first when they really should be shown in the slider. Lazy Loading is only available for the Main images in the current version.Follow the steps to actiavet Lazy Loading

-
-

Use blank images as sources instead of the original Images, and use the data-lazyload parameter:

- -
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/dummy.png" data-lazyload="images/slidebg1.jpg"   alt="slidebg1"  data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat">
-			...
-		
-
-

Initialise the Plugin somewhere in the Body Footer:

-
-	  	<script type="text/javascript">
-
-				var revapi;
-
-				jQuery(document).ready(function() {
-
-					   revapi = jQuery('.tp-banner').revolution(
-						{
-							delay:9000,
-							startwidth:1170,
-							startheight:500,
-							hideThumbs:10,
-							lazyLoad:"on"
-
-						});
-
-				});	//ready
-
-			</script>
-	  
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/11.Sample-Shuffle.html b/examples&sources/11.Sample-Shuffle.html deleted file mode 100644 index a4f399a..0000000 --- a/examples&sources/11.Sample-Shuffle.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18
- - - -
-
-
- -
-
-
- - -
- - - - -
-
-
    - -
  • - - slidebg1 - - - -
    Slide 1 -
    -
  • - - -
  • - - slidebg1 - - -
    Slide 2 -
    - - -
  • - - -
  • - - slidebg1 - - -
    Slide 3 -
    -
  • - - -
  • - - slidebg1 - - -
    Slide 4 -
    -
  • - - -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

Shuffle Mode

-

Activate simple the Shuffle Mode of the slider via the option shuffle:"on". It reorders at load the slider, but till new load, it will stay in this order.

-
-

Initialise the Plugin somewhere in the Body Footer:

-
-	  	<script type="text/javascript">
-				var revapi;
-				jQuery(document).ready(function() {
-					   revapi = jQuery('.tp-banner').revolution(
-						{
-							delay:9000,
-							startwidth:1170,
-							startheight:500,
-							hideThumbs:10,
-							shuffle:"on"
-
-						});
-				});
-			</script>
-	  
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/12.Sample-Backgrounds.html b/examples&sources/12.Sample-Backgrounds.html deleted file mode 100644 index 7d77fb1..0000000 --- a/examples&sources/12.Sample-Backgrounds.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - - -
-
-
- -
-
-
- - -
- - -
-
-
    -
  • - - slidebg1 - - - -
    Transparent Background -
    -
  • - -
  • - - slidebg1 - - - -
    Colored Background -
    -
  • - -
  • - - slidebg1 - - - -
    Covering Left Top Aligned Image -
    -
  • - -
  • - - slidebg1 - - - -
    Covering Center Center Aligned Image -
    -
  • - -
  • - - slidebg1 - - - -
    Covering Right Bottom Aligned Image -
    -
  • - -
  • - - slidebg1 - - - -
    Containing Center Center Aligned Image -
    -
  • - - -
  • - - slidebg1 - - - -
    Containing Right Bottom Aligned Image -
    -
  • - -
  • - - slidebg1 - - - -
    Repeating Background -
    -
  • - - -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

Different Backgrounds

-

You can set the Main Background transparent, Colored, or via an image source. Change the Image aligns, cover/contain/normal fillings and Repeating via the data options

-
-

Transparent Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/transparent.png"   alt="slidebg1"  data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat">
-			...
-		
-
-

Colored Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/transparent.png" style="background-color:#ff0000" alt="slidebg1"  data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat">
-			...
-		
-
-

Aligned Covering Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/someimage.png" alt="slidebg1"  data-bgfit="cover" data-bgposition="center center" data-bgrepeat="no-repeat">
-			...
-		
-
-

Aligned Containing Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/someimage.png" alt="slidebg1"  data-bgfit="contain" data-bgposition="center center" data-bgrepeat="no-repeat">
-			...
-		
-
-

Repeated Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/tiledimage.png" alt="slidebg1"  data-bgfit="normal" data-bgposition="top left" data-bgrepeat="repeat">
-			...
-		
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/13.Sample-HideCaptions.html b/examples&sources/13.Sample-HideCaptions.html deleted file mode 100644 index 787cecc..0000000 --- a/examples&sources/13.Sample-HideCaptions.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - -
-
-
- -
-
-
- - -
- - - - -
-
-
    - -
  • - - slidebg1 - - - -
    HIDE CAPTIONS
    IN MOBILE VIEW -
    - - - - - - -
    HIDE UNDER 500PX WITH ALL OTHER -
    - - -
    HIDE ALREADY UNDER 650PX -
    - - -
  • - - -
  • - - slidebg1 - - -
    HIDE CAPTIONS
    IN MOBILE VIEW -
    - - - - - - -
    HIDE UNDER 500PX WITH ALL OTHER -
    - - -
    HIDE ALREADY UNDER 650PX -
    - -
  • - -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

How to Hide Captions?

-

Captions can be hided one by one per local options, or All in same time in a global option

-
-

Caption Hidden One By One

-
-			<div class="tp-caption medium_bg_asbestos lft"
-				data-x="center"
-				data-y="center"
-				data-hoffset="0"
-				data-voffset="0"
-				data-speed="800"
-				data-start="3300"
-				data-easing="Power4.easeOut"
-				data-endspeed="300"
-				data-endeasing="Power1.easeIn"
-				data-captionhidden="on"
-				style="z-index: 6">HIDE ALREADY AT 650PX
-			</div>
-		
-
-

Initialise the Plugin somewhere in the Body Footer:

-
-	  	<script type="text/javascript">
-				var revapi;
-				jQuery(document).ready(function() {
-					   revapi = jQuery('.tp-banner').revolution(
-						{
-							delay:9000,
-							startwidth:1170,
-							startheight:500,
-							hideThumbs:10,
-							hideCaptionAtLimit:650,
-							hideAllCaptionAtLimit:400
-
-						});
-				});
-			</script>
-	  
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/14.Sample-KenBurns.html b/examples&sources/14.Sample-KenBurns.html deleted file mode 100644 index 657770a..0000000 --- a/examples&sources/14.Sample-KenBurns.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - -
-
-
- -
-
-
- - -
- - - - -
-
-
    -
  • - - kenburns1 - - - -
    Hi Everyone -
    - - -
    I'm Up Here -
    - - -
    Revolution Slider Ken Burns Effect -
    -
  • - -
  • - - kenburns2 - - - -
    Ken Burns Transitions -
    - - -
    Customizable -
    -
  • - -
  • - - kenburns11 - - - -
    Premium Features -
    - - -
    Added Frequently -
    - - - -
  • - -
  • - - kenburns5 - - - -
    Create Amazing Sliders -
    -
  • - -
  • - - kenburns9 - - - -
    Spot On! -
    - - -
    Products By ThemePunch -
    -
  • -
-
-
-
- - - - - - - - -
- - - - - -
- - - - -
-

The Ken Burns Effect?

-

If you use the settings Background Fit, Background Fit End, Background Align and Background Align End, you can create great Background Zoom Effects

-
-

How does a Slide Markup Looks like then ?

-
-		<li data-transition="fade" data-slotamount="1" data-masterspeed="400" data-delay="5000" >
-			<!-- MAIN IMAGE -->
-			<img src="images/kenburns1.jpg"
-				 alt="kenburns1"
-				 data-kenburns="on"
-				 data-bgposition="left bottom"
-				 data-bgpositionend="center top"
-				 data-bgfit="200"
-				 data-bgfitend="100"
-				 data-duration="2000"
-				 data-ease="Power4.easeInOut"
-				 >
-		</li>
-		
-
- - \ No newline at end of file diff --git a/examples&sources/15.Sample-VideoBG.html b/examples&sources/15.Sample-VideoBG.html deleted file mode 100644 index 43722c0..0000000 --- a/examples&sources/15.Sample-VideoBG.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- - - -
-
-
- -
-
-
- - -
- - - - -
-
-
    - - -
  • - - video_forest - - - -
    - - - - -
    - - -
    The clearest way into the Universe
    is through a forest wilderness. - -
    - - -
    John Muir -
    -
  • - - - -
  • - - video_forest - - - -
    - - - - -
    - - -
    The clearest way into the Universe
    is through a forest wilderness. - -
    - - -
    John Muir -
    -
  • - -
- -
-
-
- - - - - - - - -
- - - - - -
- - - - -
-

The HTML5 Covering Video Background

-

In case you wish to Cover the Background with a HTML5 Video, you can do so, using a HTML5 Video Caption and set its parameters to force the Covering.

-

For Best Result, set the First Frame of the HTML5 Video as "Poster Image" for the video, and also set the Main Background as the Same Image, for smooth Transitions

-

The best if you Let it Restart every time the Slides starts, so the Frame of the Animation and the first Frame of Video is same.

-
-

How does a Slide Markup Looks like then ?

-
-		<!-- SLIDE  -->
-<li data-transition="slidehorizontal" data-slotamount="7" data-masterspeed="1000"  data-fstransition="fade" data-fsmasterspeed="1000" data-fsslotamount="7">
-			<!-- MAIN IMAGE -->
-			<img src="images/video_forest.jpg"  alt="video_forest"  data-bgposition="center center" data-bgfit="cover" data-bgrepeat="no-repeat">
-			<!-- LAYERS -->
-
-			<!-- LAYER NR. 1 -->
-			<div class="tp-caption tp-fade fadeout fullscreenvideo"
-				data-x="0"
-				data-y="0"
-				data-speed="1000"
-				data-start="1100"
-				data-easing="Power4.easeOut"
-				data-endspeed="1500"
-				data-endeasing="Power4.easeIn"
-				data-autoplay="true"
-				data-autoplayonlyfirsttime="false"
-				data-nextslideatend="true"
-				data-forceCover="1"
-				data-dottedoverlay="twoxtwo"
-				data-aspectratio="16:9"
-				data-forcerewind="on"
-				style="z-index: 2">
-
-
-				 <video class="video-js vjs-default-skin" preload="none" width="100%" height="100%"
-				poster='images/video_forest.jpg' data-setup="{}">
-				<source src='http://goodwebtheme.com/previewvideo/forest_edit.mp4' type='video/mp4' />
-				<source src='http://goodwebtheme.com/previewvideo/forest_edit.webm' type='video/webm' />
-				<source src='http://goodwebtheme.com/previewvideo/forest_edit.ogv' type='video/ogg' />
-				</video>
-
-			</div>
-</li>
-
-
-		
-
- - \ No newline at end of file diff --git a/examples&sources/16.Caption-ShowDown.html b/examples&sources/16.Caption-ShowDown.html deleted file mode 100644 index 0a1fc52..0000000 --- a/examples&sources/16.Caption-ShowDown.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18
- - - -
-
-
- -
-
-
- - -
-

A List of All Captions we use in settings.css document:

-
-
medium_grey
-
small_text
-
medium_text
-
large_text
-
very_large_text
-
very_big_white
-
very_big_black
-
modern_medium_fat
-
modern_medium_fat_white
-
modern_medium_light
-
modern_big_bluebg
-
modern_big_redbg
-
modern_small_text_dark
-
thinheadline_dark
-
thintext_dark
-
largeblackbg
-
largepinkbg
-
largewhitebg
-
largegreenbg
-
excerpt
-
large_bold_grey
-
medium_thin_grey
-
small_thin_grey
-
lightgrey_divider
-
large_bold_darkblue
-
medium_bg_darkblue
-
medium_bold_red
-
medium_light_red
-
medium_bg_red
-
medium_bold_orange
-
medium_bg_orange
-
large_bold_white
-
medium_light_white
-
mediumlarge_light_white
-
mediumlarge_light_white_center
-
medium_bg_asbestos
-
medium_light_black
-
large_bold_black
-
mediumlarge_light_darkblue
-
small_light_white
-
large_bg_black
-
mediumwhitebg
-
-
-

How to use ?

-

Simple Copy this Class and add to your DIV container with tp-caption, there where you need

-
- - - - - diff --git a/examples&sources/17.Sample-DottedBG.html b/examples&sources/17.Sample-DottedBG.html deleted file mode 100644 index 4eb0738..0000000 --- a/examples&sources/17.Sample-DottedBG.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18
- - - - -
-
-
- -
-
-
- - -
- - -
-
-
    -
  • - - slidebg1 - - - -
    Transparent Background -
    -
  • - -
  • - - slidebg1 - - - -
    Colored Background -
    -
  • - -
  • - - slidebg1 - - - -
    Covering Left Top Aligned Image -
    -
  • - -
  • - - slidebg1 - - - -
    Covering Center Center Aligned Image -
    -
  • - -
  • - - slidebg1 - - - -
    Covering Right Bottom Aligned Image -
    -
  • - -
  • - - slidebg1 - - - -
    Containing Center Center Aligned Image -
    -
  • - - -
  • - - slidebg1 - - - -
    Containing Right Bottom Aligned Image -
    -
  • - -
  • - - slidebg1 - - - -
    Repeating Background -
    -
  • - - -
-
-
-
- - - - - - - - -
- - - - - - - - - - -
-

Different Backgrounds

-

You can set the Main Background transparent, Colored, or via an image source. Change the Image aligns, cover/contain/normal fillings and Repeating via the data options

-
-

Transparent Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/transparent.png"   alt="slidebg1"  data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat">
-			...
-		
-
-

Colored Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/transparent.png" style="background-color:#ff0000" alt="slidebg1"  data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat">
-			...
-		
-
-

Aligned Covering Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/someimage.png" alt="slidebg1"  data-bgfit="cover" data-bgposition="center center" data-bgrepeat="no-repeat">
-			...
-		
-
-

Aligned Containing Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/someimage.png" alt="slidebg1"  data-bgfit="contain" data-bgposition="center center" data-bgrepeat="no-repeat">
-			...
-		
-
-

Repeated Background

-
-		<li data-transition="fade" data-slotamount="7" data-masterspeed="1500" >
-			<!-- MAIN IMAGE -->
-			<img src="images/tiledimage.png" alt="slidebg1"  data-bgfit="normal" data-bgposition="top left" data-bgrepeat="repeat">
-			...
-		
-
- - - - - - - \ No newline at end of file diff --git a/examples&sources/18.Sample-NewCaptionEffects.html b/examples&sources/18.Sample-NewCaptionEffects.html deleted file mode 100644 index c521b02..0000000 --- a/examples&sources/18.Sample-NewCaptionEffects.html +++ /dev/null @@ -1,418 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 -
- -
-
-
- -
-
-
- - -
- - -
-
-
    - - - -
  • - - slidebg1 - - - - - - -
    SLIDER REVOLUTION -
    - - - -
    TYPOGRAPHY -
    - -
    UNLIMITED POSSIBILITIES -
    - -
    go and grab it today -
    - - -
    S mplified -
    - -
  • - - - -
  • - - slidebg1 - - -
    CUSTOMIZED -
    - -
    READY TO -
    - -
    EXAMPLES -
    - -
    use -
    - - -
  • - - - - -
-
-
-
- - - - - - - - -
- - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/examples&sources/Editor-Captions.html b/examples&sources/Editor-Captions.html deleted file mode 100644 index cf142b0..0000000 --- a/examples&sources/Editor-Captions.html +++ /dev/null @@ -1,1031 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
- - -
- -
- - - -
- - -

The Simple Animations handled via Classes:

- - -
-
-
    - -
  • - - slidebg1 - - - -
    BASIC CAPTION
    ANIMATIONS -
    - - - - - - -
    FADE -
    - - -
    SHORT FROM LEFT (sfl) -
    - - -
    SKEW FROM LEFT (skewfromleft) -
    - - -
    SHORT FROM TOP (sft) -
    - - -
    LONG FROM TOP (lft) -
    - - -
    SHORT FROM RIGHT (sfr) -
    - - - - -
    SKEW FROM RIGHT (skewfromright) -
    - - - -
    SHORT FROM BOTTOM (sfb) -
    - - -
    LONG FROM BOTTOM (lfb) -
    - - -
    RANDOM ROTATE (randomrotate) -
    - - -
    LONG FROM RIGHT (lfr) -
    - - -
    LONG FROM LEFT (lfl) -
    -
  • - - -
  • - - slidebg1 - - - -
    BASIC CAPTION
    ANIMATIONS -
    - - - - - - -
    FADE -
    - - -
    SHORT FROM LEFT (sfl) -
    - - -
    SKEW FROM LEFT (skewfromleft) -
    - - -
    SHORT FROM TOP (sft) -
    - - -
    LONG FROM TOP (lft) -
    - - -
    SHORT FROM RIGHT (sfr) -
    - - - - -
    SKEW FROM RIGHT (skewfromright) -
    - - - -
    SHORT FROM BOTTOM (sfb) -
    - - -
    LONG FROM BOTTOM (lfb) -
    - - -
    RANDOM ROTATE (randomrotate) -
    - - -
    LONG FROM RIGHT (lfr) -
    - - -
    LONG FROM LEFT (lfl) -
    -
  • - - -
-
-
-
- - - - - - - -
- -
- - -
- - - -
-

The Custom Animations (available via the customin and customout classes) Creator:

- -

- Custom Caption Animation Builder - random -
- -

- -
-
-
-
-
LAYER EXAMPLE
-
-
-
- - - -
-
- -
- In Animation Editor (Click to Collapse/Expand) -
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
Speed & Easing
Speed: - ms - Easing: - - - Split: - - - Speed: - ms -
- - - - - - - - - - - - - - - - - - - - - - - -
Transition
X: - px - Y: - px - Z: - px -
- - - - - - - - - - - - - - - - - - - - -
Rotation
X: - ° - Y: - ° - Z: - ° -
- - - - - - - - - - - - - - - - - - - - - - - - - -
ScaleSkew
X: - % - Y: - % - X: - ° - Y: - ° -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
OpacityPerspectiveOrigin
0-100: - % - 300-1600: - px - X: - % - Y: - % -
-
-
-
- - - - - -
-
- -
- Out Animation Editor (Click to Collapse/Expand) -
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
Speed & Easing
Speed: - ms - Easing: - - - Split: - - - Speed: - ms -
- - - - - - - - - - - - - - - - - - - - - - - -
Transition
X: - px - Y: - px - Z: - px -
- - - - - - - - - - - - - - - - - - - -
Rotation
X: - ° - Y: - ° - Z: - ° -
- - - - - - - - - - - - - - - - - - - - - - - - - -
ScaleSkew
X: - % - Y: - % - X: - ° - Y: - ° -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
OpacityPerspectiveOrigin
0-100: - % - 300-1200: - px - X: - % - Y: - % -
-
-
-
- - - - - -
-

Result of Custom IN/OUT Animations

- -
- - - -
-
-<div class="tp-caption customin customout"
-	data-x="center"
-	data-y="center"
-
-	data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-	data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
-
-	data-start="1000"
-	data-speed="500"
-	data-easing="Power3.easeIn"
-
-	data-splitin="None"
-	data-elementdelay="100"
-
-	data-end="1500"
-	data-endspeed="500"
-	data-endeasing="Power3.easeIn"
-
-	data-splitout="None"
-	data-endelementdelay="100"
-
-	>LAYER EXAMPLE
-</div>
-
-						
-

How to use it?

-

Simple copy the Result div above as a new layer under your <li> Slide container. You can add some further Classes for Styling the Caption (see all style in the settings.css file)

-

In case you have already some Caption and you only wish to have a differen transition than the Basic Caption Transitions (see Documentation for full list) you can simple copy the data- customin,customout,speed,easing,endspeed and endeasing parameters. Dont forget to set to your caption a position via data-x and data-y and set the start and endtime for tha animatiosn !

- - -
-
-
-
- - \ No newline at end of file diff --git a/examples&sources/Editor-Transitions.html b/examples&sources/Editor-Transitions.html deleted file mode 100644 index 76ee6ce..0000000 --- a/examples&sources/Editor-Transitions.html +++ /dev/null @@ -1,728 +0,0 @@ - - - - - - - - - - SLIDER REVOLUTION - The Responsive Slider Plugin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
- - -
- -
- - - -
- - - - -
-
-
    - -
  • - - slidebg1 - - - -
    BASIC CAPTION
    ANIMATIONS -
    - - - - - - -
    FADE -
    - - -
    SHORT FROM LEFT (sfl) -
    - - -
    SKEW FROM LEFT (skewfromleft) -
    - - -
    SHORT FROM TOP (sft) -
    - - -
    LONG FROM TOP (lft) -
    - - -
    SHORT FROM RIGHT (sfr) -
    - - - - -
    SKEW FROM RIGHT (skewfromright) -
    - - - -
    SHORT FROM BOTTOM (sfb) -
    - - -
    LONG FROM BOTTOM (lfb) -
    - - -
    RANDOM ROTATE (randomrotate) -
    - - -
    LONG FROM RIGHT (lfr) -
    - - -
    LONG FROM LEFT (lfl) -
    -
  • - - -
  • - - slidebg1 - - -
    SOME FANCY EASING -
    - - -
    Power1.easeOut -
    - - -
    Back.easeOut -
    - - -
    Elastic.easeOut -
    - - -
    Power3.easeInOut -
    - - -
    Power4.easeOut -
    - - -
    Power2.easeInOut -
    - - - - -
    Circ.easeOut -
    - - - -
    Cube.easeOut -
    - - -
    Bounce.easeOut -
    - - -
    Linear.easeNone -
    - - -
    Expo.easeOut -
    - - -
    Expo.easeIn -
    -
  • - - -
  • - - slidebg1 - - -
    TRY THE
    CAPTION ANIMATION
    BUILDER BELOW -
    - -
    GO AND GIVE A TRY -
    -
  • - - -
  • - - slidebg1 - - -
    CREATE AWESOME ANIMATIONS -
    -
  • - - -
-
-
-
- - - - - - - -
- -
- -
-
- - -
-
Fade
-
-
-
-
-
-
    -
  • Flat Fade Transitions
  • -
  • Fade
  • -
  • Fade Boxes
  • -
  • Fade Slots Horizontal
  • -
  • Fade Slots Vertical
  • -
  • Fade and Slide from Right
  • -
  • Fade and Slide from Left
  • -
  • Fade and Slide from Top
  • -
  • Fade and Slide from Bottom
  • -
  • Fade To Left and Fade From Right
  • -
  • Fade To Right and Fade From Left
  • -
  • Fade To Top and Fade From Bottom
  • -
  • Fade To Bottom and Fade From Top
  • -
- -
    -
  • Flat Zoom Transitions
  • -
  • Zoom Out and Fade From Right
  • -
  • Zoom Out and Fade From Left
  • -
  • Zoom Out and Fade From Top
  • -
  • Zoom Out and Fade From Bottom
  • -
  • ZoomOut
  • -
  • ZoomIn
  • -
  • Zoom Slots Horizontal
  • -
  • Zoom Slots Vertical
  • -
- -
    -
  • Flat Parallax Transitions
  • -
  • Parallax to Right
  • -
  • Parallax to Left
  • -
  • Parallax to Top
  • -
  • Parallax to Bottom
  • -
- -
    -
  • Flat Slide Transitions
  • -
  • Slide To Top
  • -
  • Slide To Bottom
  • -
  • Slide To Right
  • -
  • Slide To Left
  • -
  • Slide Horizontal (depending on Next/Previous)
  • -
  • Slide Vertical (depending on Next/Previous)
  • -
  • Slide Boxes
  • -
  • Slide Slots Horizontal
  • -
  • Slide Slots Vertical
  • -
  • Curtain from Left
  • -
  • Curtain from Right
  • -
  • Curtain from Middle
  • -
- -
    -
  • Premium Transitions
  • -
  • 3D Curtain Horizontal
  • -
  • 3D Curtain Vertical
  • -
  • Cube Vertical
  • -
  • Cube Horizontal
  • -
  • In Cube Vertical
  • -
  • In Cube Horizontal
  • -
  • TurnOff Horizontal
  • -
  • TurnOff Vertical
  • -
  • Paper Cut
  • -
  • Fly In
  • -
  • Random Premium
  • -
  • Random Flat and Premium
  • -
-
-
-
-
- -
-
Time: 0.7s
-
-
-
-
-
-
- -
-
Slots: 5
-
-
-
-
-
-
-
- - -
- - -
-

Result Of Transition

- -
-
-	<!-- SLIDE  -->
-	<li data-transition="fade" data-slotamount="5" data-masterspeed="700" >
-
-
-
- - -
- -
- \ No newline at end of file diff --git a/examples&sources/css/navstylechange.css b/examples&sources/css/navstylechange.css deleted file mode 100644 index cfd6403..0000000 --- a/examples&sources/css/navstylechange.css +++ /dev/null @@ -1,119 +0,0 @@ - - -/******************************************************************************* - - BULLETS AND ARROWS ADD ONS TO THE EXISTING VERSION - -*******************************************************************************/ - -.tp-bannertimer { - background:#777 !important; - background:rgba(0,0,0,0.1) !important; - height:5px !important; - } - - - -.tp-bullets.simplebullets.navbar { - - height: 35px; - padding: 0px 0px; - -} -.tp-bullets.simplebullets .bullet { - cursor: pointer; - position: relative !important; - background: rgba(0, 0, 0, 0.5) !important; - -webkit-border-radius: 10px; - border-radius: 10px; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - width: 6px !important; - height: 6px !important; - border: 5px solid rgba(0, 0, 0, 0) !important; - display: inline-block; - margin-right: 2px !important; - margin-bottom: 14px !important; - -webkit-transition: background-color 0.2s, border-color 0.2s; - -moz-transition: background-color 0.2s, border-color 0.2s; - -o-transition: background-color 0.2s, border-color 0.2s; - -ms-transition: background-color 0.2s, border-color 0.2s; - transition: background-color 0.2s, border-color 0.2s; - float:none !important; -} -.tp-bullets.simplebullets .bullet.last { - margin-right: 0px -} -.tp-bullets.simplebullets .bullet:hover, -.tp-bullets.simplebullets .bullet.selected { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background: rgba(255, 255, 255, 1) !important; - width: 6px !important; - height: 6px !important; - border: 5px solid rgba(0, 0, 0, 1) !important; -} - - - -.tparrows:before { - font-family: 'revicons'; - color: #fff; - font-style: normal; - font-weight: normal; - speak: none; - display: inline-block; - text-decoration: inherit; - margin-right: 0; - margin-top: 9px; - text-align: center; - width: 40px; - font-size: 20px; -} -.tparrows { - - cursor: pointer; - - background: rgba(0, 0, 0, 0.5) !important; - -webkit-border-radius: 5px; - border-radius: 5px; - width: 40px !important; - height: 40px !important; - -} -.tparrows:hover { - color: #fff; -} -.tp-leftarrow:before { - content: '\e824'; -} -.tp-rightarrow:before { - content: '\e825'; -} -.tparrows.tp-rightarrow:before { - margin-left: 1px; -} -.tparrows:hover { - background: rgba(0, 0, 0, 1) !important; -} - - - -/****************************** - - SLIDER NAV STYLE DEMOS - -********************************/ - -#slider4container .tparrows:before, -#slider4container .tparrows:hover, -#slider4container .tparrows { - color: #000 !important; -} - -#slider4container .tparrows { - background:#fff !important; - background:rgba(255,255,255,0.5) !important; -} - -#slider4container .tparrows:hover { - background:#fff !important -} \ No newline at end of file diff --git a/examples&sources/css/noneed.css b/examples&sources/css/noneed.css deleted file mode 100644 index 71987dc..0000000 --- a/examples&sources/css/noneed.css +++ /dev/null @@ -1,226 +0,0 @@ - - -/********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** - - - - - YOU DONT NEED THIS CSS FILE FOR YOUR ENDPRODUCT ! - - USED ONLY FOR THE DEMOS AND TOOLS HERE IN THIS FOLDER - - TO SHOW THE EXAMPLES. - - - - -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -*********************************************************** -***********************************************************/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -/********************************************************** - - RESET - -***********************************************************/ -html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { - margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; -} - - * { -/* -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; -*/ -} - -.toolpad * { - -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; -} - - -/*********************** - - BASICS - -***********************/ - - body { font-family: 'Open Sans', sans-serif; color:#888; font-weight:400;} - p { font-size:13px; font-weight: 400; line-height:22px;} - h2 { color:#000; font-size:17px; font-weight:700; margin-bottom:20px;} - h2.redtitle { padding:9px 20px; width:100%; background:#e33a0c; color:#fff; box-sizing:border-box;-moz-box-sizing:border-box; -webkit-box-sizing:border-box;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px; - margin-bottom:40px; - } - - h2.nobottommargin { margin-bottom:0px;} - .container { max-width:1170px;margin:auto; } - .clear { clear:both;} - .float-left { float:left;} - .float-right { float:right;} - .divide40 { width:100%; height:40px;} - .mb30 { margin-bottom:30px;} - .mlb30 { margin-left:30px; margin-bottom:30px;} - .mrb30 { margin-right:30px; margin-bottom:30px;} - - .table { display:table; padding-bottom:35px;} - .table.nbp { padding-bottom:0px;} - .table-cell { display: table-cell; vertical-align: top; } - .table-cell img{ width: 220px; } - - .lp30 { padding-left:30px;} - .rp30 { padding-right:30px;} - - hr { border:none; border-top:2px solid #eee; margin:0px 0px 40px;} - .boxed-content hr { border:none; border-top:2px solid #eee; margin:0px -40px 40px;} - hr.nohormargin { margin: -1px -1px 40px 0px} - .one_third { width:32%; margin-right:1%; float:left;} - .one_third.last{ margin-right:0;} - - a,a:visited { color:#e33a0c} - a:hover { text-decoration: none;} - -.prevnext { width:615px;height:23px;position: fixed; left:50%; margin-left:-272px;top:-2px;z-index:1000; - -} - -.prevnext a { background:#e33a0c;font-size:10px; text-decoration: none !important; color:#fff !important; - margin-right:2px;padding:3px 8px; border-radius:0px 0px 5px 5px; -moz-border-radius:0px 0px 5px 5px;-webkit-border-radius:0px 0px 5px 5px; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; - filter: alpha(opacity=50); - -moz-opacity: 0.5; - -khtml-opacity: 0.5; - opacity: 0.5; -} -.prevnext a.active, -.prevnext a:hover, -.prevnext a:hover * { color:#fff !important; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - filter: alpha(opacity=100); - -moz-opacity: 1; - -khtml-opacity: 1; - opacity: 1; - } - -input[type="button"] { background-color:#3498db; border:none; color:#fff; padding:7px 10px; cursor:pointer; display: inline-block; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; } -input[type="button"]:hover { background-color:#2980b9; border:none; color:#fff; padding:7px 10px;} - -h2.changecolor { color:#E33A0C;} - -h2.results { -webkit-transition: all 0.2s ease-out; - -moz-transition: all 0.2s ease-out; - -o-transition: all 0.2s ease-out; - -ms-transition: all 0.2s ease-out; } -/****************************** - - HEADER - -********************************/ - - - - header { width:100%; padding:20px 0px 17px 0px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;} - .content { width:100%; padding:0px 30px 0px 30px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;} - - - .logo-container { float:left; width:50%;} - .logo { background:url(../images/logo.png); background-size:100%; background-position: center center; background-repeat:no-repeat;max-width:406px; min-width:340px;height:60px; } - - .button-holder .button, - .button-holder .button:hover, - .button-holder .button:visited { - float: right; - background-color: #E33A0C; - color: #FFF; - text-decoration: none; - font-weight: 300; - font-size: 14px; - padding: 8px 15px; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - } - -/****************************** - - CONTAINER - -********************************/ -.container { max-width:1170px; padding:30px;} -/****************************** - - PRE - -********************************/ - - -pre { font-size:12px; font-family: 'Open Sans', sans-serif; color:#888; line-height:16px; background:url(../editor/assets/prebg.png) repeat; padding:16px; padding-bottom:15px;} -pre .linedark { background:#888} -pre span { font-weight:700} -pre strong { color:#555;font-weight:800} - -h3 { font-size:14px; color:#e33a0c; line-height:20px;} \ No newline at end of file diff --git a/examples&sources/css/style.css b/examples&sources/css/style.css deleted file mode 100644 index 173cc8d..0000000 --- a/examples&sources/css/style.css +++ /dev/null @@ -1,39 +0,0 @@ -/*----------------------------------------------------------------------------- - -KENBURNER RESPONSIVE BASIC STYLES OF HTML DOCUMENT - -Screen Stylesheet - -version: 1.0 -date: 07/27/11 -author: themepunch -email: support@themepunch.com -website: http://www.themepunch.com ------------------------------------------------------------------------------*/ - - - -.boxedcontainer { max-width: 1170px; margin:auto; padding:0px 30px;} - -/********************************************* - - SETTINGS FOR BANNER CONTAINERS - -**********************************************/ - -.tp-banner-container{ - width:100%; - position:relative; - padding:0; - -} - -.tp-banner{ - width:100%; - position:relative; -} - -.tp-banner-fullscreen-container { - width:100%; - position:relative; - padding:0; -} - diff --git a/examples&sources/editor/assets/logo.png b/examples&sources/editor/assets/logo.png deleted file mode 100644 index f5c6014..0000000 Binary files a/examples&sources/editor/assets/logo.png and /dev/null differ diff --git a/examples&sources/editor/assets/prebg.png b/examples&sources/editor/assets/prebg.png deleted file mode 100644 index dae7bdd..0000000 Binary files a/examples&sources/editor/assets/prebg.png and /dev/null differ diff --git a/examples&sources/editor/assets/trans_tile.png b/examples&sources/editor/assets/trans_tile.png deleted file mode 100644 index b4244c4..0000000 Binary files a/examples&sources/editor/assets/trans_tile.png and /dev/null differ diff --git a/examples&sources/editor/assets/trans_tile2.png b/examples&sources/editor/assets/trans_tile2.png deleted file mode 100644 index ff9deb3..0000000 Binary files a/examples&sources/editor/assets/trans_tile2.png and /dev/null differ diff --git a/examples&sources/editor/assets/transparent.jpg b/examples&sources/editor/assets/transparent.jpg deleted file mode 100644 index f0e511b..0000000 Binary files a/examples&sources/editor/assets/transparent.jpg and /dev/null differ diff --git a/examples&sources/editor/assets/transparent.png b/examples&sources/editor/assets/transparent.png deleted file mode 100644 index 62de185..0000000 Binary files a/examples&sources/editor/assets/transparent.png and /dev/null differ diff --git a/examples&sources/editor/assets/transtiled.png b/examples&sources/editor/assets/transtiled.png deleted file mode 100644 index 8527d36..0000000 Binary files a/examples&sources/editor/assets/transtiled.png and /dev/null differ diff --git a/examples&sources/editor/editor.css b/examples&sources/editor/editor.css deleted file mode 100644 index e82aa21..0000000 --- a/examples&sources/editor/editor.css +++ /dev/null @@ -1,853 +0,0 @@ -/*----------------------------------------------------------------------------- - -KENBURNER RESPONSIVE BASIC STYLES OF HTML DOCUMENT - -Screen Stylesheet - -version: 1.0 -date: 07/27/11 -author: themepunch -email: support@themepunch.com -website: http://www.themepunch.com ------------------------------------------------------------------------------*/ - - -/********************** - - RESET - -************************/ -html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { - margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; -} - - * { -/* -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; -*/ -} - -.toolpad * { - -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; -} - - -/*********************** - - BASICS - -***********************/ - - body { font-family: 'Open Sans', sans-serif; color:#888; font-weight:400;} - p { font-size:13px; font-weight: 400; line-height:22px;} - h2 { color:#000; font-size:17px; font-weight:700; margin-bottom:20px;} - h2.redtitle { padding:9px 20px; width:100%; background:#e33a0c; color:#fff; box-sizing:border-box;-moz-box-sizing:border-box; -webkit-box-sizing:border-box;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px; - margin-bottom:40px; - } - - h2.nobottommargin { margin-bottom:0px;} - .container { max-width:1170px;margin:auto; } - .clear { clear:both;} - .float-left { float:left;} - .float-right { float:right;} - .divide40 { width:100%; height:40px;} - .mb30 { margin-bottom:30px;} - .mlb30 { margin-left:30px; margin-bottom:30px;} - .mrb30 { margin-right:30px; margin-bottom:30px;} - - .table { display:table; padding-bottom:35px;} - .table.nbp { padding-bottom:0px;} - .table-cell { display: table-cell; vertical-align: top; } - .table-cell img{ width: 220px; } - - .lp30 { padding-left:30px;} - .rp30 { padding-right:30px;} - - hr { border:none; border-top:2px solid #eee; margin:0px 0px 40px;} - .boxed-content hr { border:none; border-top:2px solid #eee; margin:0px -40px 40px;} - hr.nohormargin { margin: -1px -1px 40px 0px} - .one_third { width:32%; margin-right:1%; float:left;} - .one_third.last{ margin-right:0;} - - a,a:visited { color:#e33a0c} - a:hover { text-decoration: none;} - -/****************************** - - HEADER - -********************************/ - - - - header { width:100%; padding:40px 30px 37px 30px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;} - .content { width:100%; padding:0px 30px 0px 30px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;} - - - .logo-container { float:left; width:50%;} - .logo { background:url(assets/logo.png); background-size:100%; background-position: center center; background-repeat:no-repeat;max-width:406px; height:60px; } - - .buy-and-socials { float:right; width:50%;} - - .button-holder { margin-bottom:10px;} - .button, - .button:hover, - .button:visited { float:right;background-color:#e33a0c; color:#fff; text-decoration: none; font-weight:300; font-size:14px; padding:8px 15px; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;} - - -/****************************** - - MENU - -********************************/ - -menu { border-top:2px solid #eee;border-bottom:2px solid #eee; padding:0px 0px 13px; margin-bottom:8px;} -.menubutton, -.menubutton:visited, -.menubutton:hover { margin-top:13px;text-decoration: none; line-height:30px; color:#000; font-weight:800; font-size:14px; float:left; margin-right:20px; padding-right:20px; border-right:2px solid #eee;} - -.submenu .menubutton, -.submenu .menubutton:visited, -.submenu .menubutton:hover { margin-top:0px;text-decoration: none; line-height:30px; color:#aaa; font-weight:700; font-size:14px; float:left; margin-right:40px;padding-right:0px; border:none; } -.submenu i { font-size:20px; font-weight: 300; margin-right:10px;} - - -.menubutton.noborder, -.menubutton.noborder:hover, -.menubutton.noborder:visited { border-right:none !important; padding-right:0px; margin-right:0px;} - -.icon-responsive { width:35px; height:28px; background:url(assets/icon-responsive.jpg) no-repeat center top 100%; float:left;margin-right:10px;} -.icon-fullscreen { width:35px; height:28px; background:url(assets/icon-fullscreen.jpg) no-repeat center top 100%; float:left;margin-right:10px;} -.icon-fullwidth { width:35px; height:28px; background:url(assets/icon-fullwidth.jpg) no-repeat center top 100%; float:left;margin-right:10px;} -.redcircle { background-color:#e33a0c; font-size:12px; padding:1px 7px; margin-right:10px; color:#fff; font-weight:400; border-radius:15px;-moz-border-radius:15px;-webkit-border-radius:15px;} - - -.menubutton:hover, -.menubutton:active { color:#e33a0c !important} - -.submenu .menubutton:hover, -.submenu .menubutton:active { color:#000 !important;} - -/****************************** - - TOOLPAD - -********************************/ - -.toolpad { padding:20px 30px; border:2px solid #eee; border-radius:0px 0px 5px 5px; -moz-border-radius:0px 0px 5px 5px;-webkit-border-radius:0px 0px 5px 5px; border-top:none; position: relative} - -.tool { float:left;width:33.3%;margin-right:0%;display:table; box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box; - padding-left:20px;} -.tool.first { padding-left:0px; position: relative;} - - - -.tooltext { font-size:13px; font-weight:700; color:#777; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px; - background-color:#f5f5f5; border:1px solid #eee; padding:10px 15px;float:left; - box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box; - display:table-cell;width:100%; - } -.tooltext.long { } -.tooltext.norightcorner { border-radius:5px 0px 0px 5px;-moz-border-radius:5px 0px 0px 5px;-webkit-border-radius:5px 0px 0px 5px;} - -.toolcontrols { display:table-cell; width:95px; vertical-align: top;} -.toolcontrols.short { width:40px;} - -.toolcontroll { width:40px; height:40px; background:#eee; float:left; color:#cccccc; line-height:40px; text-align: center; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px; - cursor:pointer; -} -.toolcontroll.noleftcorner { border-radius:0px 5px 5px 0px;-moz-border-radius:0px 5px 5px 0px;-webkit-border-radius:0px 5px 5px 0px;} -.toolcontroll.withspace { margin-left:10px;} -.toolcontroll.withspace2 { margin-left:5px;} - -.centertop,.centerbottom { line-height:1px; height:10px; } -.centertop { margin-top:7px;} - -.tryme { background:url(assets/tryme.png); background-size:100%; width:83px; height:25px; position:absolute; right:-89px; top:50%; margin-top:-12px; margin-left:-20px;} - - -.tool:hover .tooltext { color:#fff; background-color:#e33a0c; border-color:#e33a0c;} -.tool:hover .toolcontroll { color:#fff; background:#aa2b09} - - -/****************************** - - TRANSITION SELECTBOX - -********************************/ - - -.transition-selectbox-holder { display:none;width:320px; height:400px; background:#fff; border:7px solid #ccc; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px; position:absolute; top:-410px; left:0px;z-index:1000;padding:20px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box; margin-bottom:0px;} -.transition-selectbox { overflow:hidden;width:280px; height:360px; background:#fff; position:absolute; top:20px; left:20px;z-index:1000;} -.transition-selectbox-holder:after { width: 0;height: 0; content:" ";border-left: 10px solid transparent;border-right: 10px solid transparent;border-top: 10px solid #ccc; bottom:-17px; left:50%; position: absolute;} - -.transition-selectbox ul, -.transition-selectbox ul li { list-style: none; } - -.transition-selectbox ul { margin-bottom:14px;} - -.transition-selectbox ul li { cursor:pointer; font-size:13px; line-height:16px; padding:7px 10px; background-color:#eee; color:#888;font-weight:400; margin:0px 0px 2px 0px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;;} -.transition-selectbox ul li:hover { background-color:#666; color:#fff;} -.transition-selectbox ul li:first-child, -.transition-selectbox ul li:first-child:hover { cursor:default; font-size:14px; color:#888; font-weight:800; text-transform: uppercase;margin-bottom:14px;padding:0;background:transparent;} - -/****************************** - - FURTHER CONTENT - -********************************/ - -.boxed-content { background-color:#f5f5f5; padding:40px; box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box; - border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;padding-bottom:36px; - } - - -.flist { font-size:13px;color:#000;} - -.flist ul, .flist li { list-style: none;} -.flist ul { margin-bottom:35px;} -.flist ul li { margin-bottom:12px; position: relative; padding-left:30px;} -.flist ul li:before { content:" ";width:14px;height:14px; position:absolute; left:0px; top:2px;background:url(assets/check.png) center bottom;} -.flist ul li:first-child:before { content:""; background:none;} -.flist ul li:first-child { font-weight:700;} - -.flist ul li.new { color:#e33a0c;} -.newspan { font-size:12px;color:#fff; background:#e33a0c; padding:0px 5px;margin-left:10px;} - -.sharings { height:21px; position:relative; overflow:visible;} - -/****************************** - - BANNERCONTAINER - -********************************/ -.spectaculus { max-width:1230px; padding:0px 30px; margin:auto; position: relative;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;} -.spectaculus2 { width:100%;padding:0; margin:auto; position: relative;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;} -.bannercontainer { position:relative;max-height:500px;} - - -/*************************************** - - TABLE OF COMPATIBILITY - -****************************************/ - -table.features { width:100%; border-spacing:0px;} -table.features tr { font-size:13px;line-height:16px !important; color:#000; font-weight:900; font-family: 'Open Sans', sans-serif; - height:50px; - } -table.features td { vertical-align:middle;border-bottom:2px solid #eee;} - -table.features span { font-size:13px;line-height:16px !important; color:#888; font-weight:500;} - -table.features tr.titles { color:#888; font-size:13px; font-weight:400; text-align:center;} - -.yo { background:url(assets/check.png) no-repeat; width:14px;height:13px; margin:auto;} -.nop { background:url(assets/no.png) no-repeat; width:12px;height:14px; margin:auto;} - - - - - - - @media only screen and (min-width: 0px) and (max-width: 479px) { - table.features tr, - table.features tr span { font-size:10px; line-height:12px;} - table.features tr span { display:none} - } - - -/****************************** - - SCROLLPANE - -********************************/ - -/*********************************** - - JS SCROLLPANE CLASSES - -************************************/ - -.jspContainer -{ - overflow: hidden; - position: relative; -} - -.jspPane -{ - position: absolute; -} - -.jspVerticalBar -{ - position: absolute; - top: 0; - right: 0px; - width: 8px; - height: 100%; - background: #eee !important; - - border-radius:4px; - -moz-border-radius:4px; - -webkit-border-radius:4px; - - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - filter: alpha(opacity=0); - -moz-opacity: 0.0; - -khtml-opacity: 0.0; - opacity: 0.0; - -webkit-transition: all 0.2s ease-out; - -moz-transition: all 0.2s ease-out; - -o-transition: all 0.2s ease-out; - -ms-transition: all 0.2s ease-out; - z-index:1020; -} - -.transition-selectbox:hover .jspVerticalBar{ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - filter: alpha(opacity=100); - -moz-opacity: 1; - -khtml-opacity: 1; - opacity: 1; -} - - - -.jspHorizontalBar -{ - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 15px; - background: red; -} - -.jspVerticalBar *, -.jspHorizontalBar * -{ - margin: 0; - padding: 0; -} - -.jspCap -{ - display: none; -} - -.jspHorizontalBar .jspCap -{ - float: left; -} - -.jspTrack -{ - background: none !important; - position: relative; - border-radius:4px; - -moz-border-radius:4px; - -webkit-border-radius:4px; - -} - -.jspDrag -{ - background: #777; - position: relative; - border-radius:4px; - -moz-border-radius:4px; - -webkit-border-radius:4px; - position: relative; - top: 0; - left: 0; - cursor: pointer; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; - filter: alpha(opacity=50); - -moz-opacity: 0.5; - -khtml-opacity: 0.5; - opacity: 0.5; - - - -} - -.jspHorizontalBar .jspTrack, -.jspHorizontalBar .jspDrag -{ - float: left; - height: 90%; -} - -.jspArrow -{ - background: #50506d; - text-indent: -20000px; - display: block; - cursor: pointer; -} - -.jspArrow.jspDisabled -{ - cursor: default; - background: #80808d; -} - -.jspVerticalBar .jspArrow -{ - height: 4px; -} - -.jspHorizontalBar .jspArrow -{ - width: 8px; - float: left; - height: 90%; -} - -.jspVerticalBar .jspArrow:focus -{ - outline: none; -} - -.jspCorner -{ - background: #eeeef4; - float: left; - height: 90%; -} - -/* Yuk! CSS Hack for IE6 3 pixel bug :( */ -* html .jspCorner -{ - margin: 0 -3px 0 0; -} - - - - -/****************************** - - MEDIAQUERIES - -********************************/ - - - @media only screen and (min-width: 980px) and (max-width: 1199px) { - } - - @media only screen and (max-width: 1300px) { - .tryme { display:none;} - } - - - @media only screen and (max-width: 940px) { - - - .logo-container, - .buy-and-socials { width:100%; float:none; text-align: center;} - .logo { width:100%; margin:auto;} - .button,.button:hover, - .button:visited { float:none;} - - .button-holder { margin-bottom:25px;} - .socials, - .license-getstarted { display:none;} - .menu-inner { margin:auto; width:550px;} - .submenu-inner { margin:auto; width:455px;} - header { padding:30px 20px 30px 20px} - .spectaculus, - .content { padding:0px 20px;} - - - } - - @media only screen and (max-width: 750px) { - .toolpad { display:none;} - .one_third { width:48%; margin-right:2%; margin-bottom:0px;} - .one_third.last { clear:both;float:none; width:100%;} - } - - @media only screen and (max-width: 650px) { - - - .menu-inner { margin:auto; width:220px;} - .submenu-inner { margin:auto; width:172px;} - .table-cell img { display:none;} - .table-cell { display:block;} - .table-cell.lp30, - .table-cell.rp30 { padding-left:0; padding-right:0} - - .hidemeonmobile , - .toolpad { display:none;} - } - - @media only screen and (max-width: 600px) { - .one_third { width:100%; margin-right:0; margin-bottom:0px;} - - - } - - @media only screen and (max-width: 495px) { - .submenu-inner { margin:auto; width:118px;} - .submenu .menubutton, - .submenu .menubutton:visited, - .submenu .menubutton:hover { font-size:12px; margin-right:20px; } - .submenu i { font-size:15px;} - - .menubutton.noborder { margin-right:0px; } - } - -/****************************** - - CAPTION EDITOR - -********************************/ - -/****************************** - - CSS Editor Styles - -********************************/ - -#css_editor_wrap, -#layeranimeditor_wrap, { - display: none; -} - -#css_editor_wrap table, -#layeranimeditor_wrap table { - width: 616px; -} - -#css_editor_expert { - display: none; -} - -.opt_title{ - font-size: 14px; - font-weight: 500; - margin-bottom: 20px; -} - -.divide8{ - height: 8px; - width: 100%; -} - -.button-css-novice{ - background: none repeat scroll 0 0 #00B6EA !important; - border: 1px solid #0084AA !important; - color: #FFFFFF !important; - text-shadow: none !important; - font-size: 12px; - margin-bottom: 10px !important; - margin-left: 4px !important; -} - -#dialog_edit_css hr { - border-color: #DFDFDF; - border-image: none; - border-right: medium none; - border-style: solid none none; - border-width: 1px medium medium; - margin: 0; - padding: 0; -} - -#dialog_edit_css table { - width: 100%; -} - -#font-size-slider, #font-weight-slider, #border-width-slider { - width: 220px; -} - -#font-size-slider .ui-slider-handle, #font-weight-slider .ui-slider-handle, -#border-width-slider .ui-slider-handle, -#line-height-slider .ui-slider-handle, -#background-transparency-slider .ui-slider-handle, .subslider .ui-slider-handle, -.rotationsliders .ui-slider-handle, .subslider_rotation .ui-slider-handle -{ - font-size: 8px ; - line-height: 10px; - padding: 2px 0; - text-align: center; - text-decoration: none; - width: 27px; - top:-7px; - cursor: pointer; -} - -#layeranimeditor_wrap .rotationsliders { width:150px;margin-bottom:10px;} -#layeranimeditor_wrap .rotationsliders .ui-slider-handle.ui-state-default.ui-corner-all { border:1px solid #d5d5d5;} -#layeranimeditor_wrap .tpshortinput { width:50px; margin-right:10px; float:left; margin-top:0px;} - -.pad-input, .corn-input { - width: 35px; -} - -#dialog_edit_css span, #dialog_edit_css input { - float: left; -} - -input[name="css_font-size"], input[name="css_font-weight"]{ - width: 50px; -} - -#font_family { - float: left; -} - -#css_preview { - -} - - - -.tp-present-wrapper-parent .tp-present-wrapper { - text-align: center; - width: 640px; - margin: 0px 0px 10px; -} - -#layeranimeditor_wrap .tp-present-wrapper { padding: 0px !important; margin:0px; height:300px; width:100%;} -#layeranimeditor_wrap table { width:100%; padding:0px; background:#f1f1f1; font-size:12px;color: #222; } -#layeranimeditor_wrap table tr { padding:10px 0px} - -#layeranimeditor_wrap .graybasicbg { background:#e9e9e9} -#layeranimeditor_wrap .css-edit-title { color:#2980b9 !important} - - - - -#css-editor-accordion -{ - - border-color: #DFDFDF !important; - -webkit-box-shadow: inset 0 1px 0 #FFF; - box-shadow: inset 0 1px 0 #FFF; - -webkit-border-radius: 3px; - border-radius: 3px; - font-family: sans-serif; - font-size: 12px; - color:#333; -} - -#css-editor-accordion h3, -#css_static_editor_wrap -{ - text-shadow: #FFF 0 1px 0; - color:#000; - font-family: sans-serif; - font-size:14px; -} -#css-editor-accordion .ui-accordion-header { margin-top:0px;} -#css-editor-accordion .ui-accordion-content.ui-helper-reset.ui-widget-content.ui-corner-bottom.ui-accordion-content-active, -#css_static_editor_wrap .ui-accordion-content.ui-helper-reset.ui-widget-content.ui-corner-bottom.ui-accordion-content-active -{ - background: url(../images/grain.png) repeat #F1F1F1; - -webkit-border-radius: 0px 0px 3px 3px !important; - border-radius: 0px 0px 3px 3px !important; - border:1px solid #dfdfdf; - padding:10px 15px 30px; -} - -#css_editor_wrap .ui-state-active, -#css-static-accordion .ui-state-active, -#css-static-accordion .ui-widget-content .ui-state-active, -#css-static-accordion .ui-widget-header .ui-state-active, -#css_editor_wrap .ui-widget-content .ui-state-active, -#css_editor_wrap .ui-widget-header .ui-state-active, -#css_static_editor_wrap .ui-widget-header .ui-state-active, -#css-static-accordion .ui-widget-header .ui-state-active, -#layeranimeditor_wrap .ui-state-active, -#layeranimeditor_wrap .ui-widget-content .ui-state-active, -#layeranimeditor_wrap .ui-widget-header .ui-state-active { - -webkit-border-radius: 3px 3px 0px 0px !important; - border-radius: 3px 3px 0px 0px !important; - - border:1px solid #dfdfdf; - border-bottom: 1px solid #DFDFDF; - text-shadow: #FFF 0 1px 0; - -webkit-box-shadow: 0 1px 0 #FFF; - box-shadow: 0 1px 0 #FFF; - background: #F1F1F1; - background-image: -webkit-gradient(linear,left bottom,left top,from(#ECECEC),to(#F9F9F9)); - background-image: -webkit-linear-gradient(bottom,#ECECEC,#F9F9F9); - background-image: -moz-linear-gradient(bottom,#ececec,#f9f9f9); - background-image: -o-linear-gradient(bottom,#ececec,#f9f9f9); - background-image: linear-gradient(to top,#ECECEC,#F9F9F9); - -} - -responsitive_row.disabled { display:none;} -#auto_height_row.disabled { display:none;} -#force_full_width_row.disabled { display:none;} -#full_screen_align_force_row.disabled { display:none;} - -#slider_size_row table, -#slider_size_row td, -#slider_size_row th, -#slider_size_row tr, -#responsitive_row table, -#responsitive_row td, -#responsitive_row th, -#responsitive_row tr { padding:0 !important; margin:0 !important; vertical-align: middle !important} - -#responsitive_row th { vertical-align: top !important; padding-top: 16px !important;padding-left:10px !important;} -#responsitive_row tr:first-child td { padding-top:10px !important} - -#responsitive_row td td { padding-left:10px !important; padding-bottom:15px !important } - - -#slider_size_row th { padding-left:10px !important;} -#slider_size_row td td { padding-left:10px !important;} - - - -.tpcsseditor, .tpdialogs { z-index:1000 ; position: fixed;} -.tpdialogs .ui-button-icon-primary.ui-icon.ui-icon-closethick, -.tpcsseditor .ui-button-icon-primary.ui-icon.ui-icon-closethick { - display: block; - margin: 1px; - left: 0px !important; - top: 0px !important; - } - - -.tp-present-wrapper-parent { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important; - filter: alpha(opacity=100) !important; - -moz-opacity: 1 !important; - -khtml-opacity: 1 !important; - opacity: 1 !important; - position: relative; - } -.tp-present-wrapper-parent .tipsy-arrow { display:none; } -.tp-present-caption { display: inline-block} -.tp-present-caption .tp-caption { position: relative !important} -.tp-present-wrapper { max-width:none !important; background:url(assets/trans_tile.png) repeat !important; display:inline-block !important;border:1px solid #d5d5d5 !important; border-radius: 0 !important; -webkit-border-radius:0 !important; -moz-border-radius:0 !important; padding:15px 10px !important } - - - -.tp-present-wrapper-parent-small { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important; - filter: alpha(opacity=100) !important; - -moz-opacity: 1 !important; - -khtml-opacity: 1 !important; - opacity: 1 !important; - position:absolute; -} -.tp-present-wrapper-parent-small .tipsy-arrow { display:none; } -.tp-present-caption-small { display: inline-block} -.tp-present-caption-small .tp-caption { position: relative !important} -.tp-present-wrapper-small { max-width:none !important; background:url(assets/trans_tile.png) repeat !important; display:inline-block !important;border:1px solid #d5d5d5 !important; border-radius: 0 !important; -webkit-border-radius:0 !important; -moz-border-radius:0 !important; padding:15px 10px !important } - - - - -#sortlist li { background:#f1f1f1 !important} - - -/****************************** - - SLIDE PARAMS - -********************************/ - -#slide_params_holder * { outline: none} -#slide_params_holder .form-table th { width:170px;} -#slide_params_holder .form-table tr { vertical-align: middle;} -#slide_params_holder .form-table input, -#slide_params_holder .form-table select, -#slide_params_holder .ui-dropdownchecklist-text, -#slide_params_holder .ui-dropdownchecklist-selector.ui-state-default { width:220px !important; - box-sizing:border-box; - -moz-box-sizing:border-box; - -webkit-box-sizing:border-box; - } - -#slide_params_holder .form-table input[type="checkbox"], -#slide_params_holder .form-table input[type="radio"] { width:20px !important} -#slide_params_holder .form-table td { margin:0px;padding:0px; height:35px; } - -#slide_params_holder .form-table td:nth-child(2) { width:250px !important} - -#ddcl-slide_transition-ddw, -#ddcl-slide_transition_premium-ddw { height:300px !important; overflow-y: scroll; overflow-x:hidden;border:1px solid #d5d5d5; margin-top:-10px;} - -#ddcl-slide_transition-ddw .ui-dropdownchecklist-dropcontainer.ui-widget-content, -#ddcl-slide_transition_premium-ddw .ui-dropdownchecklist-dropcontainer.ui-widget-content { overflow:hidden;} - -#slide_params_holder .ui-state-default, -.ui-widget-content .ui-state-default { background: #f1f1f1;border:none} -#slide_params_holder .ui-state-default, -.ui-widget-content .ui-state-default { background: #f1f1f1;border:none} -#slide_params_holder .ui-dropdownchecklist-item.ui-state-default:nth-child(2n) { background:#f5f5f5} -#slide_params_holder .ui-widget-content { background:none; border:none;} - -#slide_params_holder .ui-dropdownchecklist-text { line-height:20px; margin:0; padding:0px 5px} -#slide_params_holder .ui-dropdownchecklist-item { line-height:25px; padding:5px; vertical-align: middle} - -#slide_params_holder span.ui-dropdownchecklist-selector.ui-state-default { border:1px solid #ddd; height:30px;} -#slide_params_holder span.ui-dropdownchecklist-selector.ui-state-default.ui-state-active { background:#3498db; color:#fff;} -#slide_params_holder span.ui-dropdownchecklist-text { line-height: 30px;} - -.dropdowntitleoption { background:#f1c40f !important; color:#000; font-weight: bold} - -.dropdowntitleoption input { display: none;} - - -/****************************** - - PREVIEW TRANSITION - -********************************/ - -#preview_caption_transition { position: relative} -.preview_caption_wrapper { overflow:hidden;width:100%; height:200px; background:url(assets/trans_tile.png) repeat !important; position: relative} -#preview_caption_animateme, -#caption_custon_anim_preview { background:#3498db; padding:10px; font-size:15px; font-weight:400;font-family: sans-serif; color:#fff; position: absolute; top:82px; left:198px} -#caption_custon_anim_preview { top:78px; left:312px;} -#preview_looper { position:absolute; bottom:5px; right:5px; background:#fff; padding:2px; color:#2c3e50; font-size:14px;} -#preview_looper.deactivated { color:#e74c3c} - -#preview_looper .replyinfo { font-size:12px;} - - -.ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-icon-only.ui-dialog-titlebar-close.revgray.button-primary.rev-uibuttons { background-color:#f1f1f1 !important} - - -#auto_height_row .radio_inner_wrapper { float:left; margin-right:15px;} -#force_full_width_row .radio_inner_wrapper { float:left;margin-right:15px;} - -#full_screen_align_force_row .radio_inner_wrapper, -#full_screen_force_full_width_wrapper .radio_inner_wrapper { float:left;margin-right:15px;} - - -#divLayers .slide_layer { -webkit-font-smoothing: antialiased !important;} - - -.tp-present-wrapper-parent { overflow: hidden; position: relative;} -.caption-demo-controll { background:#333; width:100%;height:42px;line-height:30px; padding:5px 10px; box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;} -.caption-speed-controll { width:100px; float:left} -.caption-easing-controll { width:250px; float:left} -.caption-inout-controll { cursor: pointer;-webkit-touch-callout: none; --webkit-user-select: none; --khtml-user-select: none; --moz-user-select: none; --ms-user-select: none; -user-select: none;} - -#caption-inout-controll .revicon-logout, -#caption-inout-controll .revicon-login { - color:#d8d8d8; -} - - -#caption-inout-controll .reviconinaction { color:#e74c3c} - -.postbox tr:nth-child(1) td { padding-top:10px;padding-bottom:5px;} -.postbox tr:nth-child(2) td { padding-bottom:10px;} - - -.postbox td:nth-child(1) { min-width:25px; } -.postbox td:nth-child(2) { width:12%; } -.postbox td:nth-child(3) { min-width:25px; } -.postbox td:nth-child(4) { width:12%; } -.postbox td:nth-child(5) { min-width:25px; } -.postbox td:nth-child(6) { width:12%; } -.postbox td:nth-child(7) { min-width:25px; } -.postbox td:nth-child(8) { width:12%; } -.postbox td:nth-child(9) { width:100%;} - -.lasttable td:nth-child(1) { width:6%; } -.lasttable td:nth-child(2) { width:10%; } -.lasttable td:nth-child(3) { width:6%; } -.lasttable td:nth-child(4) { width:10%; } -.lasttable td:nth-child(5) { width:4%; } -.lasttable td:nth-child(6) { width:10%; } -.lasttable td:nth-child(7) { width:4%; } -.lasttable td:nth-child(8) { width:10%; } -.lasttable td:nth-child(9) { width:40%;} - - -.postbox td:first-child { padding-left:20px} - - - -pre { font-size:12px; font-family: 'Open Sans', sans-serif; color:#888; line-height:16px; background:url(assets/prebg.png) repeat; margin-top:-40px;margin-left:-40px;margin-right:-40px;padding:16px; padding-bottom:15px;} -pre .linedark { background:#888} -pre span { font-weight:700} \ No newline at end of file diff --git a/examples&sources/editor/editor.js b/examples&sources/editor/editor.js deleted file mode 100644 index c467f2e..0000000 --- a/examples&sources/editor/editor.js +++ /dev/null @@ -1,734 +0,0 @@ -/*! - * jScrollPane - v2.0.14 - 2013-05-01 - * http://jscrollpane.kelvinluck.com/ - * - * Copyright (c) 2010 Kelvin Luck - * Dual licensed under the MIT or GPL licenses. - */ -(function(b,a,c){b.fn.jScrollPane=function(e){function d(D,O){var ay,Q=this,Y,aj,v,al,T,Z,y,q,az,aE,au,i,I,h,j,aa,U,ap,X,t,A,aq,af,am,G,l,at,ax,x,av,aH,f,L,ai=true,P=true,aG=false,k=false,ao=D.clone(false,false).empty(),ac=b.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";aH=D.css("paddingTop")+" "+D.css("paddingRight")+" "+D.css("paddingBottom")+" "+D.css("paddingLeft");f=(parseInt(D.css("paddingLeft"),10)||0)+(parseInt(D.css("paddingRight"),10)||0);function ar(aQ){var aL,aN,aM,aJ,aI,aP,aO=false,aK=false;ay=aQ;if(Y===c){aI=D.scrollTop();aP=D.scrollLeft();D.css({overflow:"hidden",padding:0});aj=D.innerWidth()+f;v=D.innerHeight();D.width(aj);Y=b('
').css("padding",aH).append(D.children());al=b('
').css({width:aj+"px",height:v+"px"}).append(Y).appendTo(D)}else{D.css("width","");aO=ay.stickToBottom&&K();aK=ay.stickToRight&&B();aJ=D.innerWidth()+f!=aj||D.outerHeight()!=v;if(aJ){aj=D.innerWidth()+f;v=D.innerHeight();al.css({width:aj+"px",height:v+"px"})}if(!aJ&&L==T&&Y.outerHeight()==Z){D.width(aj);return}L=T;Y.css("width","");D.width(aj);al.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}Y.css("overflow","auto");if(aQ.contentWidth){T=aQ.contentWidth}else{T=Y[0].scrollWidth}Z=Y[0].scrollHeight;Y.css("overflow","");y=T/aj;q=Z/v;az=q>1;aE=y>1;if(!(aE||az)){D.removeClass("jspScrollable");Y.css({top:0,width:al.width()-f});n();E();R();w()}else{D.addClass("jspScrollable");aL=ay.maintainPosition&&(I||aa);if(aL){aN=aC();aM=aA()}aF();z();F();if(aL){N(aK?(T-aj):aN,false);M(aO?(Z-v):aM,false)}J();ag();an();if(ay.enableKeyboardNavigation){S()}if(ay.clickOnTrack){p()}C();if(ay.hijackInternalLinks){m()}}if(ay.autoReinitialise&&!av){av=setInterval(function(){ar(ay)},ay.autoReinitialiseDelay)}else{if(!ay.autoReinitialise&&av){clearInterval(av)}}aI&&D.scrollTop(0)&&M(aI,false);aP&&D.scrollLeft(0)&&N(aP,false);D.trigger("jsp-initialised",[aE||az])}function aF(){if(az){al.append(b('
').append(b('
'),b('
').append(b('
').append(b('
'),b('
'))),b('
')));U=al.find(">.jspVerticalBar");ap=U.find(">.jspTrack");au=ap.find(">.jspDrag");if(ay.showArrows){aq=b('').bind("mousedown.jsp",aD(0,-1)).bind("click.jsp",aB);af=b('').bind("mousedown.jsp",aD(0,1)).bind("click.jsp",aB);if(ay.arrowScrollOnHover){aq.bind("mouseover.jsp",aD(0,-1,aq));af.bind("mouseover.jsp",aD(0,1,af))}ak(ap,ay.verticalArrowPositions,aq,af)}t=v;al.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){t-=b(this).outerHeight()});au.hover(function(){au.addClass("jspHover")},function(){au.removeClass("jspHover")}).bind("mousedown.jsp",function(aI){b("html").bind("dragstart.jsp selectstart.jsp",aB);au.addClass("jspActive");var s=aI.pageY-au.position().top;b("html").bind("mousemove.jsp",function(aJ){V(aJ.pageY-s,false)}).bind("mouseup.jsp mouseleave.jsp",aw);return false});o()}}function o(){ap.height(t+"px");I=0;X=ay.verticalGutter+ap.outerWidth();Y.width(aj-X-f);try{if(U.position().left===0){Y.css("margin-left",X+"px")}}catch(s){}}function z(){if(aE){al.append(b('
').append(b('
'),b('
').append(b('
').append(b('
'),b('
'))),b('
')));am=al.find(">.jspHorizontalBar");G=am.find(">.jspTrack");h=G.find(">.jspDrag");if(ay.showArrows){ax=b('').bind("mousedown.jsp",aD(-1,0)).bind("click.jsp",aB);x=b('').bind("mousedown.jsp",aD(1,0)).bind("click.jsp",aB); -if(ay.arrowScrollOnHover){ax.bind("mouseover.jsp",aD(-1,0,ax));x.bind("mouseover.jsp",aD(1,0,x))}ak(G,ay.horizontalArrowPositions,ax,x)}h.hover(function(){h.addClass("jspHover")},function(){h.removeClass("jspHover")}).bind("mousedown.jsp",function(aI){b("html").bind("dragstart.jsp selectstart.jsp",aB);h.addClass("jspActive");var s=aI.pageX-h.position().left;b("html").bind("mousemove.jsp",function(aJ){W(aJ.pageX-s,false)}).bind("mouseup.jsp mouseleave.jsp",aw);return false});l=al.innerWidth();ah()}}function ah(){al.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){l-=b(this).outerWidth()});G.width(l+"px");aa=0}function F(){if(aE&&az){var aI=G.outerHeight(),s=ap.outerWidth();t-=aI;b(am).find(">.jspCap:visible,>.jspArrow").each(function(){l+=b(this).outerWidth()});l-=s;v-=s;aj-=aI;G.parent().append(b('
').css("width",aI+"px"));o();ah()}if(aE){Y.width((al.outerWidth()-f)+"px")}Z=Y.outerHeight();q=Z/v;if(aE){at=Math.ceil(1/y*l);if(at>ay.horizontalDragMaxWidth){at=ay.horizontalDragMaxWidth}else{if(atay.verticalDragMaxHeight){A=ay.verticalDragMaxHeight}else{if(AaS){Q.scrollByY(-aP)}else{V(aS)}}else{if(aM>0){if(I+aQaS){Q.scrollByX(-aP)}else{W(aS)}}else{if(aM>0){if(aa+aQi){s=i}}if(aI===c){aI=ay.animateScroll}if(aI){Q.animate(au,"top",s,ad)}else{au.css("top",s);ad(s)}}function ad(aI){if(aI===c){aI=au.position().top}al.scrollTop(0);I=aI;var aL=I===0,aJ=I==i,aK=aI/i,s=-aK*(Z-v);if(ai!=aL||aG!=aJ){ai=aL;aG=aJ;D.trigger("jsp-arrow-change",[ai,aG,P,k])}u(aL,aJ);Y.css("top",s);D.trigger("jsp-scroll-y",[-s,aL,aJ]).trigger("scroll")}function W(aI,s){if(!aE){return}if(aI<0){aI=0}else{if(aI>j){aI=j}}if(s===c){s=ay.animateScroll}if(s){Q.animate(h,"left",aI,ae) -}else{h.css("left",aI);ae(aI)}}function ae(aI){if(aI===c){aI=h.position().left}al.scrollTop(0);aa=aI;var aL=aa===0,aK=aa==j,aJ=aI/j,s=-aJ*(T-aj);if(P!=aL||k!=aK){P=aL;k=aK;D.trigger("jsp-arrow-change",[ai,aG,P,k])}r(aL,aK);Y.css("left",s);D.trigger("jsp-scroll-x",[-s,aL,aK]).trigger("scroll")}function u(aI,s){if(ay.showArrows){aq[aI?"addClass":"removeClass"]("jspDisabled");af[s?"addClass":"removeClass"]("jspDisabled")}}function r(aI,s){if(ay.showArrows){ax[aI?"addClass":"removeClass"]("jspDisabled");x[s?"addClass":"removeClass"]("jspDisabled")}}function M(s,aI){var aJ=s/(Z-v);V(aJ*i,aI)}function N(aI,s){var aJ=aI/(T-aj);W(aJ*j,s)}function ab(aV,aQ,aJ){var aN,aK,aL,s=0,aU=0,aI,aP,aO,aS,aR,aT;try{aN=b(aV)}catch(aM){return}aK=aN.outerHeight();aL=aN.outerWidth();al.scrollTop(0);al.scrollLeft(0);while(!aN.is(".jspPane")){s+=aN.position().top;aU+=aN.position().left;aN=aN.offsetParent();if(/^body|html$/i.test(aN[0].nodeName)){return}}aI=aA();aO=aI+v;if(saO){aR=s-v+aK+ay.verticalGutter}}if(aR){M(aR,aJ)}aP=aC();aS=aP+aj;if(aUaS){aT=aU-aj+aL+ay.horizontalGutter}}if(aT){N(aT,aJ)}}function aC(){return -Y.position().left}function aA(){return -Y.position().top}function K(){var s=Z-v;return(s>20)&&(s-aA()<10)}function B(){var s=T-aj;return(s>20)&&(s-aC()<10)}function ag(){al.unbind(ac).bind(ac,function(aL,aM,aK,aI){var aJ=aa,s=I;Q.scrollBy(aK*ay.mouseWheelSpeed,-aI*ay.mouseWheelSpeed,false);return aJ==aa&&s==I})}function n(){al.unbind(ac)}function aB(){return false}function J(){Y.find(":input,a").unbind("focus.jsp").bind("focus.jsp",function(s){ab(s.target,false)})}function E(){Y.find(":input,a").unbind("focus.jsp")}function S(){var s,aI,aK=[];aE&&aK.push(am[0]);az&&aK.push(U[0]);Y.focus(function(){D.focus()});D.attr("tabindex",0).unbind("keydown.jsp keypress.jsp").bind("keydown.jsp",function(aN){if(aN.target!==this&&!(aK.length&&b(aN.target).closest(aK).length)){return}var aM=aa,aL=I;switch(aN.keyCode){case 40:case 38:case 34:case 32:case 33:case 39:case 37:s=aN.keyCode;aJ();break;case 35:M(Z-v);s=null;break;case 36:M(0);s=null;break}aI=aN.keyCode==s&&aM!=aa||aL!=I;return !aI}).bind("keypress.jsp",function(aL){if(aL.keyCode==s){aJ()}return !aI});if(ay.hideFocus){D.css("outline","none");if("hideFocus" in al[0]){D.attr("hideFocus",true)}}else{D.css("outline","");if("hideFocus" in al[0]){D.attr("hideFocus",false)}}function aJ(){var aM=aa,aL=I;switch(s){case 40:Q.scrollByY(ay.keyboardSpeed,false);break;case 38:Q.scrollByY(-ay.keyboardSpeed,false);break;case 34:case 32:Q.scrollByY(v*ay.scrollPagePercent,false);break;case 33:Q.scrollByY(-v*ay.scrollPagePercent,false);break;case 39:Q.scrollByX(ay.keyboardSpeed,false);break;case 37:Q.scrollByX(-ay.keyboardSpeed,false);break}aI=aM!=aa||aL!=I;return aI}}function R(){D.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp keypress.jsp")}function C(){if(location.hash&&location.hash.length>1){var aK,aI,aJ=escape(location.hash.substr(1));try{aK=b("#"+aJ+', a[name="'+aJ+'"]')}catch(s){return}if(aK.length&&Y.find(aJ)){if(al.scrollTop()===0){aI=setInterval(function(){if(al.scrollTop()>0){ab(aK,true);b(document).scrollTop(al.position().top);clearInterval(aI)}},50)}else{ab(aK,true);b(document).scrollTop(al.position().top)}}}}function m(){if(b(document.body).data("jspHijack")){return}b(document.body).data("jspHijack",true);b(document.body).delegate("a[href*=#]","click",function(s){var aI=this.href.substr(0,this.href.indexOf("#")),aK=location.href,aO,aP,aJ,aM,aL,aN;if(location.href.indexOf("#")!==-1){aK=location.href.substr(0,location.href.indexOf("#"))}if(aI!==aK){return}aO=escape(this.href.substr(this.href.indexOf("#")+1));aP;try{aP=b("#"+aO+', a[name="'+aO+'"]')}catch(aQ){return}if(!aP.length){return}aJ=aP.closest(".jspScrollable");aM=aJ.data("jsp");aM.scrollToElement(aP,true);if(aJ[0].scrollIntoView){aL=b(a).scrollTop();aN=aP.offset().top;if(aNaL+b(a).height()){aJ[0].scrollIntoView()}}s.preventDefault() -})}function an(){var aJ,aI,aL,aK,aM,s=false;al.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp",function(aN){var aO=aN.originalEvent.touches[0];aJ=aC();aI=aA();aL=aO.pageX;aK=aO.pageY;aM=false;s=true}).bind("touchmove.jsp",function(aQ){if(!s){return}var aP=aQ.originalEvent.touches[0],aO=aa,aN=I;Q.scrollTo(aJ+aL-aP.pageX,aI+aK-aP.pageY);aM=aM||Math.abs(aL-aP.pageX)>5||Math.abs(aK-aP.pageY)>5;return aO==aa&&aN==I}).bind("touchend.jsp",function(aN){s=false}).bind("click.jsp-touchclick",function(aN){if(aM){aM=false;return false}})}function g(){var s=aA(),aI=aC();D.removeClass("jspScrollable").unbind(".jsp");D.replaceWith(ao.append(Y.children()));ao.scrollTop(s);ao.scrollLeft(aI);if(av){clearInterval(av)}}b.extend(Q,{reinitialise:function(aI){aI=b.extend({},ay,aI);ar(aI)},scrollToElement:function(aJ,aI,s){ab(aJ,aI,s)},scrollTo:function(aJ,s,aI){N(aJ,aI);M(s,aI)},scrollToX:function(aI,s){N(aI,s)},scrollToY:function(s,aI){M(s,aI)},scrollToPercentX:function(aI,s){N(aI*(T-aj),s)},scrollToPercentY:function(aI,s){M(aI*(Z-v),s)},scrollBy:function(aI,s,aJ){Q.scrollByX(aI,aJ);Q.scrollByY(s,aJ)},scrollByX:function(s,aJ){var aI=aC()+Math[s<0?"floor":"ceil"](s),aK=aI/(T-aj);W(aK*j,aJ)},scrollByY:function(s,aJ){var aI=aA()+Math[s<0?"floor":"ceil"](s),aK=aI/(Z-v);V(aK*i,aJ)},positionDragX:function(s,aI){W(s,aI)},positionDragY:function(aI,s){V(aI,s)},animate:function(aI,aL,s,aK){var aJ={};aJ[aL]=s;aI.animate(aJ,{duration:ay.animateDuration,easing:ay.animateEase,queue:false,step:aK})},getContentPositionX:function(){return aC()},getContentPositionY:function(){return aA()},getContentWidth:function(){return T},getContentHeight:function(){return Z},getPercentScrolledX:function(){return aC()/(T-aj)},getPercentScrolledY:function(){return aA()/(Z-v)},getIsScrollableH:function(){return aE},getIsScrollableV:function(){return az},getContentPane:function(){return Y},scrollToBottom:function(s){V(i,s)},hijackInternalLinks:b.noop,destroy:function(){g()}});ar(O)}e=b.extend({},b.fn.jScrollPane.defaults,e);b.each(["arrowButtonSpeed","trackClickSpeed","keyboardSpeed"],function(){e[this]=e[this]||e.speed});return this.each(function(){var f=b(this),g=f.data("jsp");if(g){g.reinitialise(e)}else{b("script",f).filter('[type="text/javascript"],:not([type])').remove();g=new d(f,e);f.data("jsp",g)}})};b.fn.jScrollPane.defaults={showArrows:false,maintainPosition:true,stickToBottom:false,stickToRight:false,clickOnTrack:true,autoReinitialise:false,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:c,animateScroll:false,animateDuration:300,animateEase:"linear",hijackInternalLinks:false,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:3,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:false,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:true,hideFocus:false,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:0.8}})(jQuery,this); - - -/*! Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net) - * Licensed under the MIT License (LICENSE.txt). - * - * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. - * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. - * Thanks to: Seamus Leahy for adding deltaX and deltaY - * - * Version: 3.1.3 - * - * Requires: 1.2.2+ - */ - -(function (factory) { - if ( typeof define === 'function' && define.amd ) { - // AMD. Register as an anonymous module. - define(['jquery'], factory); - } else if (typeof exports === 'object') { - // Node/CommonJS style for Browserify - module.exports = factory; - } else { - // Browser globals - factory(jQuery); - } -}(function ($) { - - var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll']; - var toBind = 'onwheel' in document || document.documentMode >= 9 ? ['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll']; - var lowestDelta, lowestDeltaXY; - - if ( $.event.fixHooks ) { - for ( var i = toFix.length; i; ) { - $.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks; - } - } - - $.event.special.mousewheel = { - setup: function() { - if ( this.addEventListener ) { - for ( var i = toBind.length; i; ) { - this.addEventListener( toBind[--i], handler, false ); - } - } else { - this.onmousewheel = handler; - } - }, - - teardown: function() { - if ( this.removeEventListener ) { - for ( var i = toBind.length; i; ) { - this.removeEventListener( toBind[--i], handler, false ); - } - } else { - this.onmousewheel = null; - } - } - }; - - $.fn.extend({ - mousewheel: function(fn) { - return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel"); - }, - - unmousewheel: function(fn) { - return this.unbind("mousewheel", fn); - } - }); - - - function handler(event) { - var orgEvent = event || window.event, - args = [].slice.call(arguments, 1), - delta = 0, - deltaX = 0, - deltaY = 0, - absDelta = 0, - absDeltaXY = 0, - fn; - event = $.event.fix(orgEvent); - event.type = "mousewheel"; - - // Old school scrollwheel delta - if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta; } - if ( orgEvent.detail ) { delta = orgEvent.detail * -1; } - - // New school wheel delta (wheel event) - if ( orgEvent.deltaY ) { - deltaY = orgEvent.deltaY * -1; - delta = deltaY; - } - if ( orgEvent.deltaX ) { - deltaX = orgEvent.deltaX; - delta = deltaX * -1; - } - - // Webkit - if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY; } - if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = orgEvent.wheelDeltaX * -1; } - - // Look for lowest delta to normalize the delta values - absDelta = Math.abs(delta); - if ( !lowestDelta || absDelta < lowestDelta ) { lowestDelta = absDelta; } - absDeltaXY = Math.max(Math.abs(deltaY), Math.abs(deltaX)); - if ( !lowestDeltaXY || absDeltaXY < lowestDeltaXY ) { lowestDeltaXY = absDeltaXY; } - - // Get a whole value for the deltas - fn = delta > 0 ? 'floor' : 'ceil'; - delta = Math[fn](delta / lowestDelta); - deltaX = Math[fn](deltaX / lowestDeltaXY); - deltaY = Math[fn](deltaY / lowestDeltaXY); - - // Add event and delta to the front of the arguments - args.unshift(event, delta, deltaX, deltaY); - - return ($.event.dispatch || $.event.handle).apply(this, args); - } - -})); - - -/****************************** - - THE PREVIEW JS FUNCTIONS - -********************************/ - -jQuery(document).ready(function() { - - /****************************** - - SUB MENU SCROLLER - - ********************************/ - jQuery('a.menubutton').each(function() { - var but = jQuery(this); - - but.click(function() { - var but = jQuery(this); - var sto = but.data('where'); - - if (sto && sto!=undefined && jQuery(sto)) { - var pos = jQuery(sto).offset().top - 40; - jQuery('body, html').animate({scrollTop:pos},{queue:false,duration:400}); - return false; - } - }); - }) - - - // HIDE JS IF WE ARE ON MOBILE - if (!is_mobile()) { - jQuery('.transition-selectbox').jScrollPane({}); - var naviapi = jQuery('.transition-selectbox').data('jsp'); - } else { - jQuery('.transition-selectbox').css({'overflow':'scroll'}); - } - - // THE TRANSITION SELECTOR - - jQuery('#transitselector').click(function() { - var ts = jQuery('.transition-selectbox-holder'); - if (!ts.hasClass("opened")) { - TweenLite.fromTo(ts,0.2,{opacity:0,transformOrigin:"center bottom", transformPerspective:400, y:-50,rotationX:0,z:0},{opacity:1,y:0,rotationX:0,ease:Power3.easeOut}) - ts.css({display:'block'}); - setTimeout(function() { - naviapi.reinitialise(); - },100) - ts.addClass("opened"); - } - }) - - jQuery('body').on('mouseleave','.transition-selectbox-holder.opened',function() { - - var ts = jQuery('.transition-selectbox-holder'); - TweenLite.to(ts,0.2,{opacity:0,transformOrigin:"center bottom", transformPerspective:400, y:-50,rotationX:0,z:0,ease:Power3.easeOut}); - ts.removeClass("opened"); - }); - - - jQuery('.transition-selectbox li').each(function() { - var li = jQuery(this); - li.click(function() { - var li = jQuery(this); - var anim = li.data('anim'); - - jQuery('#mranim').text(li.text()); - jQuery('#mranim').data('val',anim); - - callChanger(); - - }) - }) - - /****************************** - - TIMER CHANGER - - ********************************/ - - jQuery('#dectime').click(function() { - var mrtime = jQuery('#mrtime'); - var curtime = mrtime.data('val'); - curtime=curtime-100; - if (curtime<300) curtime=300; - mrtime.data('val',curtime); - mrtime.text('Time: '+curtime/1000+"s"); - - callChanger(); - }) - - jQuery('#inctime').click(function() { - var mrtime = jQuery('#mrtime'); - var curtime = mrtime.data('val'); - curtime=curtime+100; - mrtime.data('val',curtime); - mrtime.text('Time: '+curtime/1000+"s"); - - callChanger(); - }) - - - /****************************** - - SLOT CHANGER - - ********************************/ - jQuery('#decslot').click(function() { - var mrslot = jQuery('#mrslot'); - var slot = mrslot.data('val'); - slot=slot-1; - if (slot<1) slot=1; - mrslot.data('val',slot); - mrslot.text('Slots: '+slot); - - callChanger(); - }) - - jQuery('#incslot').click(function() { - var mrslot = jQuery('#mrslot'); - var slot = mrslot.data('val'); - slot=slot+1; - if (slot>20) slot=20; - mrslot.data('val',slot); - mrslot.text('Slots: '+slot); - - callChanger(); - }) - - var timeoutv; - function callChanger() { - clearTimeout(timeoutv); - timeoutv = setTimeout(function() { - - var anim = jQuery('#mranim').data('val'); - var timer = jQuery('#mrtime').data('val'); - var slot = jQuery('#mrslot').data('val'); - - jQuery('.spectaculus ul li').each(function() { - jQuery(this).data("transition",anim); - jQuery(this).data("slotamount",slot); - jQuery(this).data("masterspeed",timer); - }) - - jQuery('#resultanim').text(anim); - jQuery('#resultslot').text(slot); - jQuery('#resultspeed').text(timer); - revapi.revnext(); - },300); - - } - - /*************************************** - - START THE ANIMATION CREATOR - - ***************************************/ - - prepareAnimateCreator(); - - jQuery('#set-random-animation').click(function(){ - jQuery('input[name="movex"]').val((Math.floor(Math.random() * 101) - 50) * 10); - jQuery('input[name="movey"]').val((Math.floor(Math.random() * 101) - 50) * 10); - jQuery('input[name="movez"]').val((Math.floor(Math.random() * 11) - 5) * 10); - - jQuery('input[name="rotationx"]').val((Math.floor(Math.random() * 101) - 50) * 10); - jQuery('input[name="rotationy"]').val((Math.floor(Math.random() * 101) - 50) * 10); - jQuery('input[name="rotationz"]').val((Math.floor(Math.random() * 101) - 50) * 10); - - jQuery('input[name="scalex"]').val((Math.floor(Math.random() * 31)) * 10); - jQuery('input[name="scaley"]').val((Math.floor(Math.random() * 31)) * 10); - - jQuery('input[name="skewx"]').val(Math.floor(Math.random() * 61)); - jQuery('input[name="skewy"]').val(Math.floor(Math.random() * 61)); - - jQuery('input[name="captionopacity"]').val(0); - jQuery('input[name="captionperspective"]').val(600); - - jQuery('input[name="originx"]').val((Math.floor(Math.random() * 41) - 20) * 10); - jQuery('input[name="originy"]').val((Math.floor(Math.random() * 41) - 20) * 10); - - - jQuery('input[name="captionspeed"]').val((Math.floor(Math.random() * 11) + 5) * 100); - - transition = jQuery('#caption-easing-demo option'); - var random = Math.floor(transition.length * (Math.random() % 1)); - - transition.attr('selected',false).eq(random).attr('selected',true); - - - jQuery('input[name="movexout"]').val((Math.floor(Math.random() * 101) - 50) * 10); - jQuery('input[name="moveyout"]').val((Math.floor(Math.random() * 101) - 50) * 10); - jQuery('input[name="movezout"]').val((Math.floor(Math.random() * 11) - 5) * 10); - - jQuery('input[name="rotationxout"]').val((Math.floor(Math.random() * 101) - 50) * 10); - jQuery('input[name="rotationyout"]').val((Math.floor(Math.random() * 101) - 50) * 10); - jQuery('input[name="rotationzout"]').val((Math.floor(Math.random() * 101) - 50) * 10); - - jQuery('input[name="scalexout"]').val((Math.floor(Math.random() * 31)) * 10); - jQuery('input[name="scaleyout"]').val((Math.floor(Math.random() * 31)) * 10); - - jQuery('input[name="skewxout"]').val(Math.floor(Math.random() * 61)); - jQuery('input[name="skewyout"]').val(Math.floor(Math.random() * 61)); - - jQuery('input[name="captionopacityout"]').val(0); - jQuery('input[name="captionperspectiveout"]').val(600); - - jQuery('input[name="originxout"]').val((Math.floor(Math.random() * 41) - 20) * 10); - jQuery('input[name="originyout"]').val((Math.floor(Math.random() * 41) - 20) * 10); - - - jQuery('input[name="captionspeedout"]').val((Math.floor(Math.random() * 11) + 5) * 100); - - transition = jQuery('#caption-easing-demoout option'); - var random = Math.floor(transition.length * (Math.random() % 1)); - - transition.attr('selected',false).eq(random).attr('selected',true); - - }); - - - - - -}); - - - - ////////////////// - // IS MOBILE ?? // - ////////////////// - function is_mobile() { - var agents = ['android', 'webos', 'iphone', 'ipad', 'blackberry','Android', 'webos', ,'iPod', 'iPhone', 'iPad', 'Blackberry', 'BlackBerry']; - var ismobile=false; - for(i in agents) { - - if (navigator.userAgent.split(agents[i]).length>1) { - ismobile = true; - - } - } - return ismobile; - } - - -/****************************** - - ANIMATION CREATOR - - ********************************/ - - function prepareAnimateCreator() { - var cic = jQuery('#caption-inout-controll'); - cic.data('direction',0); - - var osw = jQuery('#outanimation .settings_wrapper'); - osw.slideUp(200).addClass("collapsed"); - var isw = jQuery('#inanimation .settings_wrapper'); - - jQuery('#outanimation .caption-demo-controll').click(function() { - - if (osw.hasClass("collapsed")) { - osw.removeClass("collapsed").slideDown(200); - isw.slideUp(200).addClass("collapsed"); - } else { - osw.slideUp(200).addClass("collapsed"); - isw.removeClass("collapsed").slideDown(200); - } - }); - - jQuery('#inanimation .caption-demo-controll').click(function() { - - if (isw.hasClass("collapsed")) { - isw.removeClass("collapsed").slideDown(200); - osw.slideUp(200).addClass("collapsed"); - } else { - isw.slideUp(200).addClass("collapsed"); - osw.removeClass("collapsed").slideDown(200); - } - }); - - - - - jQuery('#caption-inout-controll').click(function() { - if (cic.data('direction')==0) { - cic.data('direction',1); - jQuery('#revshowmetheinanim').removeClass("reviconinaction"); - jQuery('#revshowmetheoutanim').addClass("reviconinaction"); - } else - - if (cic.data('direction')==1) { - cic.data('direction',2); - jQuery('#revshowmetheinanim').addClass("reviconinaction"); - jQuery('#revshowmetheoutanim').addClass("reviconinaction"); - - } else - - if (cic.data('direction')==2) { - cic.data('direction',0); - jQuery('#revshowmetheinanim').addClass("reviconinaction"); - jQuery('#revshowmetheoutanim').removeClass("reviconinaction"); - - } - }); - startAnimationInCreator(); - - } - - function startAnimationInCreator() { - stopAnimationInPreview(); - animateCreatorIn(); - } - - function killAnimationInCreator() { - var nextcaption = jQuery('#caption_custon_anim_preview'); - TweenLite.killTweensOf(nextcaption,false); - } - - function animateCreatorIn() { - - - var nextcaption = jQuery('#caption_custon_anim_preview'); - var cic = jQuery('#caption-inout-controll'); - - var transx = jQuery('input[name="movex"]').val(); - var transy = jQuery('input[name="movey"]').val(); - var transz = jQuery('input[name="movez"]').val(); - - var rotatex = jQuery('input[name="rotationx"]').val(); - var rotatey = jQuery('input[name="rotationy"]').val(); - var rotatez = jQuery('input[name="rotationz"]').val(); - - var scalex = jQuery('input[name="scalex"]').val()/100; - var scaley = jQuery('input[name="scaley"]').val()/100; - - var skewx = jQuery('input[name="skewx"]').val(); - var skewy = jQuery('input[name="skewy"]').val(); - var opac = jQuery('input[name="captionopacity"]').val()/100; - - var tper = jQuery('input[name="captionperspective"]').val(); - //var tper = 600; - - var originx = jQuery('input[name="originx"]').val()+"%"; - var originy = jQuery('input[name="originy"]').val()+"%"; - var origin = originx+" "+originy; - - var speed = parseInt(jQuery('input[name="captionspeed"]').val(),0); - if (speed<100) speed=100; - - var easedata = jQuery('#caption-easing-demo').val(); - - - - jQuery('#custominresult').text("x:"+transx+";y:"+transy+";z:"+transz+";"+ - "rotationX:"+rotatex+";rotationY:"+rotatey+";rotationZ:"+rotatez+";"+ - "scaleX:"+scalex+";scaleY:"+scaley+";"+ - "skewX:"+skewx+";skewY:"+skewy+";"+ - "opacity:"+opac+";"+ - "transformPerspective:"+tper+";transformOrigin:"+origin+";"); - - jQuery('#custominspeed').text(speed); - jQuery('#custominease').text(easedata); - jQuery('#presplitin').text(jQuery('#caption-splitin-demo').val()); - jQuery('#presplitout').text(jQuery('#caption-splitout-demo').val()); - jQuery('#predelayin').text(jQuery('input[name="splitspeedin"]').val()/1000); - jQuery('#predleayout').text(jQuery('input[name="splitspeedout"]').val()/1000); - - - - speed=speed/1000; - var xx = jQuery('.tp-present-wrapper').width()/2 - 72; - var yy=jQuery('.tp-present-wrapper').height()/2 - 17; - - if (nextcaption.data('mySplitText') != undefined) - nextcaption.data('mySplitText').revert(); - - nextcaption.data('splitin',jQuery('#caption-splitin-demo').val()); - var animobject = nextcaption; - var splitspeed = 0; - var delayer = 1; - - if (nextcaption.data('splitin') == "chars" || nextcaption.data('splitin') == "words" || nextcaption.data('splitin') == "lines") { - if (nextcaption.find('a').length>0) - nextcaption.data('mySplitText',new SplitText(nextcaption.find('a'),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); - else - nextcaption.data('mySplitText',new SplitText(nextcaption,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); - - nextcaption.addClass("splitted"); - splitspeed = jQuery('input[name="splitspeedin"]').val()/1000; - } - - if (nextcaption.data('splitin') == "chars") { - - animobject = nextcaption.data('mySplitText').chars; - delayer = animobject.length; - } - - - if (nextcaption.data('splitin') == "words") { - animobject = nextcaption.data('mySplitText').words; - delayer = animobject.length; - } - - - if (nextcaption.data('splitin') == "lines") { - animobject = nextcaption.data('mySplitText').lines; - delayer = animobject.length; - } - - - TweenLite.fromTo(nextcaption,speed,{top:yy, left:xx, opacity:opac},{top:yy, left:xx, opacity:1}); - - var newtl = new TimelineLite(); - - TweenLite.killTweensOf(animobject,false); - newtl.staggerFromTo(animobject,speed, - { scaleX:scalex, - scaleY:scaley, - rotationX:rotatex, - rotationY:rotatey, - rotationZ:rotatez, - x:transx, - y:transy, - z:transz+1, - skewX:skewx, - skewY:skewy, - - - transformPerspective:tper, - transformOrigin:origin, - visibility:'hidden'}, - - { - - x:0, - y:0, - scaleX:1, - scaleY:1, - rotationX:0, - rotationY:0, - rotationZ:0, - skewX:0, - skewY:0, - z:1, - visibility:'visible', - opacity:1, - ease:easedata, - overwrite:"all" - },splitspeed); - - - - setTimeout(function() {animateCreatorOut()},(splitspeed/1000 * delayer) + (speed*1000)+500); - } - - - function animateCreatorOut() { - - - var nextcaption = jQuery('#caption_custon_anim_preview'); - var cic = jQuery('#caption-inout-controll'); - - var transx = jQuery('input[name="movexout"]').val(); - var transy = jQuery('input[name="moveyout"]').val(); - var transz = jQuery('input[name="movezout"]').val(); - - var rotatex = jQuery('input[name="rotationxout"]').val(); - var rotatey = jQuery('input[name="rotationyout"]').val(); - var rotatez = jQuery('input[name="rotationzout"]').val(); - - var scalex = jQuery('input[name="scalexout"]').val()/100; - var scaley = jQuery('input[name="scaleyout"]').val()/100; - - var skewx = jQuery('input[name="skewxout"]').val(); - var skewy = jQuery('input[name="skewyout"]').val(); - var opac = jQuery('input[name="captionopacityout"]').val()/100; - - var tper = jQuery('input[name="captionperspectiveout"]').val(); - //var tper = 600; - - var originx = jQuery('input[name="originxout"]').val()+"%"; - var originy = jQuery('input[name="originyout"]').val()+"%"; - var origin = originx+" "+originy; - - var speed = parseInt(jQuery('input[name="captionspeedout"]').val(),0); - if (speed<100) speed=100; - - var easedata = jQuery('#caption-easing-demoout').val(); - - - - jQuery('#customoutresult').text("x:"+transx+";y:"+transy+";z:"+transz+";"+ - "rotationX:"+rotatex+";rotationY:"+rotatey+";rotationZ:"+rotatez+";"+ - "scaleX:"+scalex+";scaleY:"+scaley+";"+ - "skewX:"+skewx+";skewY:"+skewy+";"+ - "opacity:"+opac+";"+ - "transformPerspective:"+tper+";transformOrigin:"+origin+";"); - - jQuery('#customoutspeed').text(speed); - jQuery('#customoutease').text(easedata); - - jQuery('#presplitin').text(jQuery('#caption-splitin-demo').val()); - jQuery('#presplitout').text(jQuery('#caption-splitout-demo').val()); - jQuery('#predelayin').text(jQuery('input[name="splitspeedin"]').val()/1000); - jQuery('#predleayout').text(jQuery('input[name="splitspeedout"]').val()/1000); - - speed=speed/1000; - var xx = jQuery('.tp-present-wrapper').width()/2 - 72; - var yy=jQuery('.tp-present-wrapper').height()/2 - 17; - - if (nextcaption.data('mySplitText') != undefined) - nextcaption.data('mySplitText').revert(); - - nextcaption.data('splitout',jQuery('#caption-splitout-demo').val()); - - - var animobject = nextcaption; - var splitspeed = 0; - var delayer = 1; - - if (nextcaption.data('splitout') == "chars" || nextcaption.data('splitout') == "words" || nextcaption.data('splitout') == "lines") { - if (nextcaption.find('a').length>0) - nextcaption.data('mySplitText',new SplitText(nextcaption.find('a'),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); - else - nextcaption.data('mySplitText',new SplitText(nextcaption,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); - - nextcaption.addClass("splitted"); - splitspeed = jQuery('input[name="splitspeedout"]').val()/1000; - } - - if (nextcaption.data('splitout') == "chars") { - - - animobject = nextcaption.data('mySplitText').chars; - delayer = animobject.length; - } - - - if (nextcaption.data('splitout') == "words") { - animobject = nextcaption.data('mySplitText').words; - delayer = animobject.length; - } - - - if (nextcaption.data('splitout') == "lines") { - animobject = nextcaption.data('mySplitText').lines; - delayer = animobject.length; - } - - if (nextcaption == animobject) - TweenLite.fromTo(nextcaption,speed,{top:yy, left:xx, opacity:1},{top:yy, left:xx, opacity:opac}); - else { - TweenLite.set(nextcaption,{top:yy, left:xx, opacity:1}); - setTimeout(function() {TweenLite.fromTo(nextcaption,0.3,{top:yy, left:xx, opacity:1},{top:yy, left:xx, opacity:opac});},(splitspeed*1000 * delayer) + (speed*1000)); - } - - var newtl = new TimelineLite(); - - TweenLite.killTweensOf(animobject,false); - newtl.staggerFromTo(animobject,speed, - { - x:0, - y:0, - scaleX:1, - scaleY:1, - rotationX:0, - rotationY:0, - rotationZ:0, - skewX:0, - skewY:0, - z:1, - visibility:'visible', - opacity:1 - }, - - { - - scaleX:scalex, - scaleY:scaley, - rotationX:rotatex, - rotationY:rotatey, - rotationZ:rotatez, - x:transx, - y:transy, - z:transz+1, - skewX:skewx, - skewY:skewy, - left:xx, - top:yy, - - transformPerspective:tper, - transformOrigin:origin, - ease:easedata, - overwrite:"all", - delay:0.3, - opacity:opac - },splitspeed); - - setTimeout(function() {animateCreatorIn()},(splitspeed*1000 * delayer) + (speed*1000)+500); - - } - - -/****************************** - - PLAY IN ANIMATION - - ********************************/ - - function stopAnimationInPreview() { - var nextcaption = jQuery('#preview_caption_animateme'); - TweenLite.killTweensOf(nextcaption,false); - if (nextcaption.data("timer")) clearTimeout(nextcaption.data('timer')); - if (nextcaption.data("timera")) clearTimeout(nextcaption.data('timera')); - } - diff --git a/examples&sources/editor/type/fontello.css b/examples&sources/editor/type/fontello.css deleted file mode 100644 index 4f7f80a..0000000 --- a/examples&sources/editor/type/fontello.css +++ /dev/null @@ -1,577 +0,0 @@ -@charset "UTF-8"; - -@font-face { - font-family: 'fontello'; - src: url("fontello/fontello.eot"); - src: url("fontello/fontello.eot?#iefix") format('embedded-opentype'), url("fontello/fontello.woff") format('woff'), url("fontello/fontello.ttf") format('truetype'), url("fontello/fontello.svg#fontello") format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'fontello-social'; - src: url("fontello/fontello-social.eot"); - src: url("fontello/fontello-social.eot?#iefix") format('embedded-opentype'), url("fontello/fontello-social.woff") format('woff'), url("fontello/fontello-social.ttf") format('truetype'), url("fontello/fontello-social.svg#fontello") format('svg'); - font-weight: normal; - font-style: normal; -} - -[class^="icon-"]:before, -[class*=" icon-"]:before { - font-family: 'fontello'; - font-style: normal; - font-weight: normal; - speak: none; - display: inline-block; - text-decoration: inherit; - width: 1em; - text-align: center; -/* fix buttons height, for twitter bootstrap */ - line-height: 1em; -/* Animation center compensation - magrins should be symmetric */ -/* remove if not needed */ -/* you can be more comfortable with increased icons size */ -/* font-size: 120%; */ -/* Uncomment for 3D effect */ -/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ -} - -[class^="social-"]:before, -[class*=" social-"]:before { - font-family: 'fontello-social'; - font-style: normal; - font-weight: normal; - speak: none; - display: inline-block; - text-decoration: inherit; - width: 1em; - margin-right: 0; - text-align: center; - line-height: 1em; -} - -.icon-plus:before { content: '\2b'; } /* '+' */ -.icon-plus-1:before { content: '\e817'; } /* '' */ -.icon-minus:before { content: '\2d'; } /* '-' */ -.icon-minus-1:before { content: '\e816'; } /* '' */ -.icon-info:before { content: '\2139'; } /* 'ℹ' */ -.icon-left-thin:before { content: '\2190'; } /* '←' */ -.icon-left-1:before { content: '\e847'; } /* '' */ -.icon-up-thin:before { content: '\2191'; } /* '↑' */ -.icon-up-1:before { content: '\e845'; } /* '' */ -.icon-right-thin:before { content: '\2192'; } /* '→' */ -.icon-right-1:before { content: '\e846'; } /* '' */ -.icon-down-thin:before { content: '\2193'; } /* '↓' */ -.icon-down-1:before { content: '\e848'; } /* '' */ -.icon-level-up:before { content: '\21b0'; } /* '↰' */ -.icon-level-down:before { content: '\21b3'; } /* '↳' */ -.icon-switch:before { content: '\21c6'; } /* '⇆' */ -.icon-infinity:before { content: '\221e'; } /* '∞' */ -.icon-plus-squared:before { content: '\229e'; } /* '⊞' */ -.icon-minus-squared:before { content: '\229f'; } /* '⊟' */ -.icon-home:before { content: '\2302'; } /* '⌂' */ -.icon-home-1:before { content: '\e811'; } /* '' */ -.icon-keyboard:before { content: '\2328'; } /* '⌨' */ -.icon-erase:before { content: '\232b'; } /* '⌫' */ -.icon-pause:before { content: '\2389'; } /* '⎉' */ -.icon-pause-1:before { content: '\e851'; } /* '' */ -.icon-fast-forward:before { content: '\23e9'; } /* '⏩' */ -.icon-fast-fw:before { content: '\e856'; } /* '' */ -.icon-fast-backward:before { content: '\23ea'; } /* '⏪' */ -.icon-fast-bw:before { content: '\e857'; } /* '' */ -.icon-to-end:before { content: '\23ed'; } /* '⏭' */ -.icon-to-end-1:before { content: '\e852'; } /* '' */ -.icon-to-start:before { content: '\23ee'; } /* '⏮' */ -.icon-to-start-1:before { content: '\e854'; } /* '' */ -.icon-hourglass:before { content: '\23f3'; } /* '⏳' */ -.icon-stop:before { content: '\25a0'; } /* '■' */ -.icon-stop-1:before { content: '\25aa'; } /* '▪' */ -.icon-up-dir:before { content: '\25b4'; } /* '▴' */ -.icon-up-dir-1:before { content: '\e841'; } /* '' */ -.icon-play:before { content: '\25b6'; } /* '▶' */ -.icon-play-1:before { content: '\e84f'; } /* '' */ -.icon-right-dir:before { content: '\25b8'; } /* '▸' */ -.icon-right-dir-1:before { content: '\e84d'; } /* '' */ -.icon-down-dir:before { content: '\25be'; } /* '▾' */ -.icon-down-dir-1:before { content: '\e840'; } /* '' */ -.icon-left-dir:before { content: '\25c2'; } /* '◂' */ -.icon-left-dir-1:before { content: '\e842'; } /* '' */ -.icon-adjust:before { content: '\25d1'; } /* '◑' */ -.icon-cloud:before { content: '\2601'; } /* '☁' */ -.icon-cloud-1:before { content: '\e85c'; } /* '' */ -.icon-umbrella:before { content: '\2602'; } /* '☂' */ -.icon-star:before { content: '\2605'; } /* '★' */ -.icon-star-1:before { content: '\e805'; } /* '' */ -.icon-star-empty:before { content: '\2606'; } /* '☆' */ -.icon-star-empty-1:before { content: '\e806'; } /* '' */ -.icon-check-1:before { content: '\2611'; } /* '☑' */ -.icon-cup:before { content: '\2615'; } /* '☕' */ -.icon-left-hand:before { content: '\261c'; } /* '☜' */ -.icon-up-hand:before { content: '\261d'; } /* '☝' */ -.icon-right-hand:before { content: '\261e'; } /* '☞' */ -.icon-down-hand:before { content: '\261f'; } /* '☟' */ -.icon-menu:before { content: '\2630'; } /* '☰' */ -.icon-th-list:before { content: '\e81b'; } /* '' */ -.icon-moon:before { content: '\263d'; } /* '☽' */ -.icon-heart-empty:before { content: '\2661'; } /* '♡' */ -.icon-heart-empty-1:before { content: '\e804'; } /* '' */ -.icon-heart:before { content: '\2665'; } /* '♥' */ -.icon-heart-1:before { content: '\e803'; } /* '' */ -.icon-note:before { content: '\266a'; } /* '♪' */ -.icon-note-beamed:before { content: '\266b'; } /* '♫' */ -.icon-music-1:before { content: '\e800'; } /* '' */ -.icon-th:before { content: '\268f'; } /* '⚏' */ -.icon-layout:before { content: '\e80c'; } /* '' */ -.icon-flag:before { content: '\2691'; } /* '⚑' */ -.icon-flag-1:before { content: '\e81f'; } /* '' */ -.icon-tools:before { content: '\2692'; } /* '⚒' */ -.icon-cog:before { content: '\2699'; } /* '⚙' */ -.icon-cog-1:before { content: '\e82e'; } /* '' */ -.icon-attention:before { content: '\26a0'; } /* '⚠' */ -.icon-attention-1:before { content: '\e834'; } /* '' */ -.icon-flash:before { content: '\26a1'; } /* '⚡' */ -.icon-flash-1:before { content: '\e85d'; } /* '' */ -.icon-record:before { content: '\26ab'; } /* '⚫' */ -.icon-cloud-thunder:before { content: '\26c8'; } /* '⛈' */ -.icon-cog-alt:before { content: '\26ef'; } /* '⛯' */ -.icon-scissors:before { content: '\2702'; } /* '✂' */ -.icon-tape:before { content: '\2707'; } /* '✇' */ -.icon-flight:before { content: '\2708'; } /* '✈' */ -.icon-flight-1:before { content: '\e86f'; } /* '' */ -.icon-mail:before { content: '\2709'; } /* '✉' */ -.icon-mail-1:before { content: '\e802'; } /* '' */ -.icon-edit:before { content: '\270d'; } /* '✍' */ -.icon-pencil:before { content: '\270e'; } /* '✎' */ -.icon-pencil-1:before { content: '\e826'; } /* '' */ -.icon-feather:before { content: '\2712'; } /* '✒' */ -.icon-check:before { content: '\2713'; } /* '✓' */ -.icon-ok:before { content: '\e81a'; } /* '' */ -.icon-ok-circle:before { content: '\2714'; } /* '✔' */ -.icon-cancel:before { content: '\2715'; } /* '✕' */ -.icon-cancel-1:before { content: '\e819'; } /* '' */ -.icon-cancel-circled:before { content: '\2716'; } /* '✖' */ -.icon-cancel-circle:before { content: '\e818'; } /* '' */ -.icon-asterisk:before { content: '\2731'; } /* '✱' */ -.icon-cancel-squared:before { content: '\274e'; } /* '❎' */ -.icon-help:before { content: '\2753'; } /* '❓' */ -.icon-attention-circle:before { content: '\2757'; } /* '❗' */ -.icon-quote:before { content: '\275e'; } /* '❞' */ -.icon-plus-circled:before { content: '\2795'; } /* '➕' */ -.icon-plus-circle:before { content: '\e815'; } /* '' */ -.icon-minus-circled:before { content: '\2796'; } /* '➖' */ -.icon-minus-circle:before { content: '\e814'; } /* '' */ -.icon-right:before { content: '\27a1'; } /* '➡' */ -.icon-direction:before { content: '\27a2'; } /* '➢' */ -.icon-forward:before { content: '\27a6'; } /* '➦' */ -.icon-forward-1:before { content: '\e824'; } /* '' */ -.icon-ccw:before { content: '\27f2'; } /* '⟲' */ -.icon-cw:before { content: '\27f3'; } /* '⟳' */ -.icon-cw-1:before { content: '\e844'; } /* '' */ -.icon-left:before { content: '\2b05'; } /* '⬅' */ -.icon-up:before { content: '\2b06'; } /* '⬆' */ -.icon-down:before { content: '\2b07'; } /* '⬇' */ -.icon-resize-vertical:before { content: '\2b0c'; } /* '⬌' */ -.icon-resize-horizontal:before { content: '\2b0d'; } /* '⬍' */ -.icon-eject:before { content: '\2ecf'; } /* '⻏' */ -.icon-list-add:before { content: '\e003'; } /* '' */ -.icon-list:before { content: '\e005'; } /* '' */ -.icon-left-bold:before { content: '\e4ad'; } /* '' */ -.icon-right-bold:before { content: '\e4ae'; } /* '' */ -.icon-up-bold:before { content: '\e4af'; } /* '' */ -.icon-down-bold:before { content: '\e4b0'; } /* '' */ -.icon-user-add:before { content: '\e700'; } /* '' */ -.icon-star-half:before { content: '\e701'; } /* '' */ -.icon-ok-circle2:before { content: '\e702'; } /* '' */ -.icon-cancel-circle2:before { content: '\e703'; } /* '' */ -.icon-help-circled:before { content: '\e704'; } /* '' */ -.icon-help-circle:before { content: '\e813'; } /* '' */ -.icon-info-circled:before { content: '\e705'; } /* '' */ -.icon-info-circle:before { content: '\e812'; } /* '' */ -.icon-th-large:before { content: '\e708'; } /* '' */ -.icon-eye:before { content: '\e70a'; } /* '' */ -.icon-eye-1:before { content: '\e81c'; } /* '' */ -.icon-eye-off:before { content: '\e70b'; } /* '' */ -.icon-tag:before { content: '\e70c'; } /* '' */ -.icon-tag-1:before { content: '\e81d'; } /* '' */ -.icon-tags:before { content: '\e70d'; } /* '' */ -.icon-camera-alt:before { content: '\e70f'; } /* '' */ -.icon-upload-cloud:before { content: '\e711'; } /* '' */ -.icon-reply:before { content: '\e712'; } /* '' */ -.icon-reply-all:before { content: '\e713'; } /* '' */ -.icon-code:before { content: '\e714'; } /* '' */ -.icon-export:before { content: '\e715'; } /* '' */ -.icon-export-1:before { content: '\e825'; } /* '' */ -.icon-print:before { content: '\e716'; } /* '' */ -.icon-print-1:before { content: '\e827'; } /* '' */ -.icon-retweet:before { content: '\e717'; } /* '' */ -.icon-retweet-1:before { content: '\e828'; } /* '' */ -.icon-comment:before { content: '\e718'; } /* '' */ -.icon-comment-1:before { content: '\e829'; } /* '' */ -.icon-chat:before { content: '\e720'; } /* '' */ -.icon-chat-1:before { content: '\e82a'; } /* '' */ -.icon-vcard:before { content: '\e722'; } /* '' */ -.icon-address:before { content: '\e723'; } /* '' */ -.icon-location:before { content: '\e724'; } /* '' */ -.icon-location-1:before { content: '\e833'; } /* '' */ -.icon-map:before { content: '\e727'; } /* '' */ -.icon-compass:before { content: '\e728'; } /* '' */ -.icon-trash:before { content: '\e729'; } /* '' */ -.icon-trash-1:before { content: '\e832'; } /* '' */ -.icon-doc:before { content: '\e730'; } /* '' */ -.icon-doc-text-inv:before { content: '\e731'; } /* '' */ -.icon-docs:before { content: '\e736'; } /* '' */ -.icon-doc-landscape:before { content: '\e737'; } /* '' */ -.icon-archive:before { content: '\e738'; } /* '' */ -.icon-rss:before { content: '\e73a'; } /* '' */ -.icon-share:before { content: '\e73c'; } /* '' */ -.icon-basket:before { content: '\e73d'; } /* '' */ -.icon-basket-1:before { content: '\e82d'; } /* '' */ -.icon-shareable:before { content: '\e73e'; } /* '' */ -.icon-login:before { content: '\e740'; } /* '' */ -.icon-login-1:before { content: '\e82b'; } /* '' */ -.icon-logout:before { content: '\e741'; } /* '' */ -.icon-logout-1:before { content: '\e836'; } /* '' */ -.icon-volume:before { content: '\e742'; } /* '' */ -.icon-resize-full:before { content: '\e744'; } /* '' */ -.icon-resize-full-1:before { content: '\e83b'; } /* '' */ -.icon-resize-small:before { content: '\e746'; } /* '' */ -.icon-resize-small-1:before { content: '\e83c'; } /* '' */ -.icon-popup:before { content: '\e74c'; } /* '' */ -.icon-publish:before { content: '\e74d'; } /* '' */ -.icon-window:before { content: '\e74e'; } /* '' */ -.icon-arrow-combo:before { content: '\e74f'; } /* '' */ -.icon-zoom-in:before { content: '\e750'; } /* '' */ -.icon-chart-pie:before { content: '\e751'; } /* '' */ -.icon-zoom-out:before { content: '\e83d'; } /* '' */ -.icon-language:before { content: '\e752'; } /* '' */ -.icon-air:before { content: '\e753'; } /* '' */ -.icon-database:before { content: '\e754'; } /* '' */ -.icon-drive:before { content: '\e755'; } /* '' */ -.icon-bucket:before { content: '\e756'; } /* '' */ -.icon-thermometer:before { content: '\e757'; } /* '' */ -.icon-down-circled:before { content: '\e758'; } /* '' */ -.icon-down-circle2:before { content: '\e83e'; } /* '' */ -.icon-left-circled:before { content: '\e759'; } /* '' */ -.icon-right-circled:before { content: '\e75a'; } /* '' */ -.icon-up-circled:before { content: '\e75b'; } /* '' */ -.icon-up-circle2:before { content: '\e83f'; } /* '' */ -.icon-down-open:before { content: '\e75c'; } /* '' */ -.icon-down-open-1:before { content: '\e84c'; } /* '' */ -.icon-left-open:before { content: '\e75d'; } /* '' */ -.icon-left-open-1:before { content: '\e84b'; } /* '' */ -.icon-right-open:before { content: '\e75e'; } /* '' */ -.icon-right-open-1:before { content: '\e84a'; } /* '' */ -.icon-up-open:before { content: '\e75f'; } /* '' */ -.icon-up-open-1:before { content: '\e849'; } /* '' */ -.icon-down-open-mini:before { content: '\e760'; } /* '' */ -.icon-arrows-cw:before { content: '\e843'; } /* '' */ -.icon-left-open-mini:before { content: '\e761'; } /* '' */ -.icon-play-circle2:before { content: '\e850'; } /* '' */ -.icon-right-open-mini:before { content: '\e762'; } /* '' */ -.icon-to-end-alt:before { content: '\e853'; } /* '' */ -.icon-up-open-mini:before { content: '\e763'; } /* '' */ -.icon-to-start-alt:before { content: '\e855'; } /* '' */ -.icon-down-open-big:before { content: '\e764'; } /* '' */ -.icon-left-open-big:before { content: '\e765'; } /* '' */ -.icon-right-open-big:before { content: '\e766'; } /* '' */ -.icon-up-open-big:before { content: '\e767'; } /* '' */ -.icon-progress-0:before { content: '\e768'; } /* '' */ -.icon-progress-1:before { content: '\e769'; } /* '' */ -.icon-progress-2:before { content: '\e76a'; } /* '' */ -.icon-progress-3:before { content: '\e76b'; } /* '' */ -.icon-back-in-time:before { content: '\e771'; } /* '' */ -.icon-network:before { content: '\e776'; } /* '' */ -.icon-inbox:before { content: '\e777'; } /* '' */ -.icon-inbox-1:before { content: '\e85a'; } /* '' */ -.icon-install:before { content: '\e778'; } /* '' */ -.icon-font:before { content: '\e779'; } /* '' */ -.icon-bold:before { content: '\e77a'; } /* '' */ -.icon-italic:before { content: '\e77b'; } /* '' */ -.icon-text-height:before { content: '\e77c'; } /* '' */ -.icon-text-width:before { content: '\e77d'; } /* '' */ -.icon-align-left:before { content: '\e77e'; } /* '' */ -.icon-align-center:before { content: '\e77f'; } /* '' */ -.icon-align-right:before { content: '\e780'; } /* '' */ -.icon-align-justify:before { content: '\e781'; } /* '' */ -.icon-list-1:before { content: '\e782'; } /* '' */ -.icon-indent-left:before { content: '\e783'; } /* '' */ -.icon-indent-right:before { content: '\e784'; } /* '' */ -.icon-lifebuoy:before { content: '\e788'; } /* '' */ -.icon-mouse:before { content: '\e789'; } /* '' */ -.icon-dot:before { content: '\e78b'; } /* '' */ -.icon-dot-2:before { content: '\e78c'; } /* '' */ -.icon-dot-3:before { content: '\e78d'; } /* '' */ -.icon-suitcase:before { content: '\e78e'; } /* '' */ -.icon-off:before { content: '\e86a'; } /* '' */ -.icon-road:before { content: '\e78f'; } /* '' */ -.icon-flow-cascade:before { content: '\e790'; } /* '' */ -.icon-list-alt:before { content: '\e869'; } /* '' */ -.icon-flow-branch:before { content: '\e791'; } /* '' */ -.icon-qrcode:before { content: '\e868'; } /* '' */ -.icon-flow-tree:before { content: '\e792'; } /* '' */ -.icon-barcode:before { content: '\e867'; } /* '' */ -.icon-flow-line:before { content: '\e793'; } /* '' */ -.icon-ajust:before { content: '\e865'; } /* '' */ -.icon-flow-parallel:before { content: '\e794'; } /* '' */ -.icon-tint:before { content: '\e864'; } /* '' */ -.icon-brush:before { content: '\e79a'; } /* '' */ -.icon-paper-plane:before { content: '\e79b'; } /* '' */ -.icon-magnet:before { content: '\e7a1'; } /* '' */ -.icon-magnet-1:before { content: '\e863'; } /* '' */ -.icon-gauge:before { content: '\e7a2'; } /* '' */ -.icon-traffic-cone:before { content: '\e7a3'; } /* '' */ -.icon-cc:before { content: '\e7a5'; } /* '' */ -.icon-cc-by:before { content: '\e7a6'; } /* '' */ -.icon-cc-nc:before { content: '\e7a7'; } /* '' */ -.icon-cc-nc-eu:before { content: '\e7a8'; } /* '' */ -.icon-cc-nc-jp:before { content: '\e7a9'; } /* '' */ -.icon-cc-sa:before { content: '\e7aa'; } /* '' */ -.icon-cc-nd:before { content: '\e7ab'; } /* '' */ -.icon-cc-pd:before { content: '\e7ac'; } /* '' */ -.icon-cc-zero:before { content: '\e7ad'; } /* '' */ -.icon-cc-share:before { content: '\e7ae'; } /* '' */ -.icon-cc-remix:before { content: '\e7af'; } /* '' */ -.icon-move:before { content: '\f047'; } /* '' */ -.icon-link-ext:before { content: '\f08e'; } /* '' */ -.icon-check-empty:before { content: '\f096'; } /* '' */ -.icon-bookmark-empty:before { content: '\f097'; } /* '' */ -.icon-phone-squared:before { content: '\f098'; } /* '' */ -.icon-twitter:before { content: '\f099'; } /* '' */ -.icon-facebook:before { content: '\f09a'; } /* '' */ -.icon-github:before { content: '\f09b'; } /* '' */ -.icon-rss-1:before { content: '\f09e'; } /* '' */ -.icon-hdd:before { content: '\f0a0'; } /* '' */ -.icon-certificate:before { content: '\f0a3'; } /* '' */ -.icon-left-circled-1:before { content: '\f0a8'; } /* '' */ -.icon-right-circled-1:before { content: '\f0a9'; } /* '' */ -.icon-up-circled-1:before { content: '\f0aa'; } /* '' */ -.icon-down-circled-1:before { content: '\f0ab'; } /* '' */ -.icon-tasks:before { content: '\f0ae'; } /* '' */ -.icon-filter:before { content: '\f0b0'; } /* '' */ -.icon-resize-full-alt:before { content: '\f0b2'; } /* '' */ -.icon-beaker:before { content: '\f0c3'; } /* '' */ -.icon-docs-1:before { content: '\f0c5'; } /* '' */ -.icon-blank:before { content: '\f0c8'; } /* '' */ -.icon-menu-1:before { content: '\f0c9'; } /* '' */ -.icon-list-bullet:before { content: '\f0ca'; } /* '' */ -.icon-list-numbered:before { content: '\f0cb'; } /* '' */ -.icon-strike:before { content: '\f0cc'; } /* '' */ -.icon-underline:before { content: '\f0cd'; } /* '' */ -.icon-table:before { content: '\f0ce'; } /* '' */ -.icon-magic:before { content: '\f0d0'; } /* '' */ -.icon-pinterest-circled-1:before { content: '\f0d2'; } /* '' */ -.icon-pinterest-squared:before { content: '\f0d3'; } /* '' */ -.icon-gplus-squared:before { content: '\f0d4'; } /* '' */ -.icon-gplus:before { content: '\f0d5'; } /* '' */ -.icon-money:before { content: '\f0d6'; } /* '' */ -.icon-columns:before { content: '\f0db'; } /* '' */ -.icon-sort:before { content: '\f0dc'; } /* '' */ -.icon-sort-down:before { content: '\f0dd'; } /* '' */ -.icon-sort-up:before { content: '\f0de'; } /* '' */ -.icon-mail-alt:before { content: '\f0e0'; } /* '' */ -.icon-linkedin:before { content: '\f0e1'; } /* '' */ -.icon-gauge-1:before { content: '\f0e4'; } /* '' */ -.icon-comment-empty:before { content: '\f0e5'; } /* '' */ -.icon-chat-empty:before { content: '\f0e6'; } /* '' */ -.icon-sitemap:before { content: '\f0e8'; } /* '' */ -.icon-paste:before { content: '\f0ea'; } /* '' */ -.icon-user-md:before { content: '\f200'; } /* '' */ -.icon-s-github:before { content: '\f300'; } /* '' */ -.icon-github-squared:before { content: '\e862'; } /* '' */ -.icon-github-circled:before { content: '\f301'; } /* '' */ -.icon-s-flickr:before { content: '\f303'; } /* '' */ -.icon-twitter-squared:before { content: '\e85f'; } /* '' */ -.icon-s-vimeo:before { content: '\f306'; } /* '' */ -.icon-vimeo-circled:before { content: '\f307'; } /* '' */ -.icon-facebook-squared-1:before { content: '\f308'; } /* '' */ -.icon-s-twitter:before { content: '\f309'; } /* '' */ -.icon-twitter-circled:before { content: '\f30a'; } /* '' */ -.icon-s-facebook:before { content: '\f30c'; } /* '' */ -.icon-linkedin-squared:before { content: '\e870'; } /* '' */ -.icon-facebook-circled:before { content: '\f30d'; } /* '' */ -.icon-s-gplus:before { content: '\f30f'; } /* '' */ -.icon-gplus-circled:before { content: '\f310'; } /* '' */ -.icon-s-pinterest:before { content: '\f312'; } /* '' */ -.icon-pinterest-circled:before { content: '\f313'; } /* '' */ -.icon-s-tumblr:before { content: '\f315'; } /* '' */ -.icon-tumblr-circled:before { content: '\f316'; } /* '' */ -.icon-s-linkedin:before { content: '\f318'; } /* '' */ -.icon-linkedin-circled:before { content: '\f319'; } /* '' */ -.icon-s-dribbble:before { content: '\f31b'; } /* '' */ -.icon-dribbble-circled:before { content: '\f31c'; } /* '' */ -.icon-s-stumbleupon:before { content: '\f31e'; } /* '' */ -.icon-stumbleupon-circled:before { content: '\f31f'; } /* '' */ -.icon-s-lastfm:before { content: '\f321'; } /* '' */ -.icon-lastfm-circled:before { content: '\f322'; } /* '' */ -.icon-rdio:before { content: '\f324'; } /* '' */ -.icon-rdio-circled:before { content: '\f325'; } /* '' */ -.icon-spotify:before { content: '\f327'; } /* '' */ -.icon-s-spotify-circled:before { content: '\f328'; } /* '' */ -.icon-qq:before { content: '\f32a'; } /* '' */ -.icon-s-instagrem:before { content: '\f32d'; } /* '' */ -.icon-dropbox:before { content: '\f330'; } /* '' */ -.icon-s-evernote:before { content: '\f333'; } /* '' */ -.icon-flattr:before { content: '\f336'; } /* '' */ -.icon-s-skype:before { content: '\f339'; } /* '' */ -.icon-skype-circled:before { content: '\f33a'; } /* '' */ -.icon-renren:before { content: '\f33c'; } /* '' */ -.icon-sina-weibo:before { content: '\f33f'; } /* '' */ -.icon-s-paypal:before { content: '\f342'; } /* '' */ -.icon-s-picasa:before { content: '\f345'; } /* '' */ -.icon-s-soundcloud:before { content: '\f348'; } /* '' */ -.icon-s-behance:before { content: '\f34e'; } /* '' */ -.icon-google-circles:before { content: '\f351'; } /* '' */ -.icon-vkontakte:before { content: '\f354'; } /* '' */ -.icon-smashing:before { content: '\f357'; } /* '' */ -.icon-db-shape:before { content: '\f600'; } /* '' */ -.icon-sweden:before { content: '\f601'; } /* '' */ -.icon-logo-db:before { content: '\f603'; } /* '' */ -.icon-picture:before { content: '\f304'; } /* '' */ -.icon-picture-1:before { content: '\e80a'; } /* '' */ -.icon-globe:before { content: '\f30e'; } /* '' */ -.icon-globe-1:before { content: '\e85b'; } /* '' */ -.icon-leaf-1:before { content: '\e86d'; } /* '' */ -.icon-lemon:before { content: '\f34b'; } /* '' */ -.icon-glass:before { content: '\f378'; } /* '' */ -.icon-gift:before { content: '\f381'; } /* '' */ -.icon-graduation-cap:before { content: '\f393'; } /* '' */ -.icon-mic:before { content: '\f3a4'; } /* '' */ -.icon-videocam:before { content: '\f3a5'; } /* '' */ -.icon-headphones:before { content: '\f3a7'; } /* '' */ -.icon-palette:before { content: '\f3a8'; } /* '' */ -.icon-ticket:before { content: '\f3ab'; } /* '' */ -.icon-video:before { content: '\f3ac'; } /* '' */ -.icon-video-1:before { content: '\e809'; } /* '' */ -.icon-target:before { content: '\f3af'; } /* '' */ -.icon-target-1:before { content: '\e858'; } /* '' */ -.icon-music:before { content: '\f3b5'; } /* '' */ -.icon-trophy:before { content: '\f3c6'; } /* '' */ -.icon-award:before { content: '\f3c9'; } /* '' */ -.icon-thumbs-up:before { content: '\f44d'; } /* '' */ -.icon-thumbs-up-1:before { content: '\e820'; } /* '' */ -.icon-thumbs-down:before { content: '\f44e'; } /* '' */ -.icon-thumbs-down-1:before { content: '\e821'; } /* '' */ -.icon-bag:before { content: '\f45c'; } /* '' */ -.icon-user:before { content: '\f464'; } /* '' */ -.icon-user-1:before { content: '\e807'; } /* '' */ -.icon-users:before { content: '\f465'; } /* '' */ -.icon-users-1:before { content: '\e808'; } /* '' */ -.icon-lamp:before { content: '\f4a1'; } /* '' */ -.icon-alert:before { content: '\f4a5'; } /* '' */ -.icon-water:before { content: '\f4a6'; } /* '' */ -.icon-droplet:before { content: '\f4a7'; } /* '' */ -.icon-credit-card:before { content: '\f4b3'; } /* '' */ -.icon-credit-card-1:before { content: '\e860'; } /* '' */ -.icon-monitor:before { content: '\f4bb'; } /* '' */ -.icon-briefcase:before { content: '\f4bc'; } /* '' */ -.icon-briefcase-1:before { content: '\e86c'; } /* '' */ -.icon-floppy:before { content: '\f4be'; } /* '' */ -.icon-floppy-1:before { content: '\e85e'; } /* '' */ -.icon-cd:before { content: '\f4bf'; } /* '' */ -.icon-folder:before { content: '\f4c1'; } /* '' */ -.icon-folder-1:before { content: '\e830'; } /* '' */ -.icon-folder-open:before { content: '\f4c2'; } /* '' */ -.icon-doc-text:before { content: '\f4c4'; } /* '' */ -.icon-doc-1:before { content: '\e831'; } /* '' */ -.icon-calendar:before { content: '\f4c5'; } /* '' */ -.icon-calendar-1:before { content: '\e82c'; } /* '' */ -.icon-chart-line:before { content: '\f4c8'; } /* '' */ -.icon-chart-bar:before { content: '\f4ca'; } /* '' */ -.icon-chart-bar-1:before { content: '\e861'; } /* '' */ -.icon-clipboard:before { content: '\f4cb'; } /* '' */ -.icon-pin:before { content: '\f4cc'; } /* '' */ -.icon-attach:before { content: '\f4ce'; } /* '' */ -.icon-attach-1:before { content: '\e80f'; } /* '' */ -.icon-bookmarks:before { content: '\f4d1'; } /* '' */ -.icon-book:before { content: '\f4d5'; } /* '' */ -.icon-book-1:before { content: '\e866'; } /* '' */ -.icon-book-open:before { content: '\f4d6'; } /* '' */ -.icon-phone:before { content: '\f4de'; } /* '' */ -.icon-phone-1:before { content: '\e82f'; } /* '' */ -.icon-megaphone:before { content: '\f4e3'; } /* '' */ -.icon-megaphone-1:before { content: '\e86e'; } /* '' */ -.icon-upload:before { content: '\f4e4'; } /* '' */ -.icon-upload-1:before { content: '\e823'; } /* '' */ -.icon-download:before { content: '\f4e5'; } /* '' */ -.icon-download-1:before { content: '\e822'; } /* '' */ -.icon-box:before { content: '\f4e6'; } /* '' */ -.icon-newspaper:before { content: '\f4f0'; } /* '' */ -.icon-mobile:before { content: '\f4f1'; } /* '' */ -.icon-signal:before { content: '\f4f6'; } /* '' */ -.icon-signal-1:before { content: '\e859'; } /* '' */ -.icon-camera:before { content: '\f4f7'; } /* '' */ -.icon-camera-1:before { content: '\e80b'; } /* '' */ -.icon-shuffle:before { content: '\f500'; } /* '' */ -.icon-shuffle-1:before { content: '\e84e'; } /* '' */ -.icon-loop:before { content: '\f501'; } /* '' */ -.icon-arrows-ccw:before { content: '\f504'; } /* '' */ -.icon-light-down:before { content: '\f505'; } /* '' */ -.icon-light-up:before { content: '\f506'; } /* '' */ -.icon-mute:before { content: '\f507'; } /* '' */ -.icon-volume-off:before { content: '\e837'; } /* '' */ -.icon-volume-down:before { content: '\f509'; } /* '' */ -.icon-sound:before { content: '\f50a'; } /* '' */ -.icon-volume-up:before { content: '\e838'; } /* '' */ -.icon-battery:before { content: '\f50b'; } /* '' */ -.icon-search:before { content: '\f50d'; } /* '' */ -.icon-search-1:before { content: '\e801'; } /* '' */ -.icon-key:before { content: '\f511'; } /* '' */ -.icon-key-1:before { content: '\e86b'; } /* '' */ -.icon-lock:before { content: '\f512'; } /* '' */ -.icon-lock-1:before { content: '\e80e'; } /* '' */ -.icon-lock-open:before { content: '\f513'; } /* '' */ -.icon-lock-open-1:before { content: '\e80d'; } /* '' */ -.icon-bell:before { content: '\f514'; } /* '' */ -.icon-bell-1:before { content: '\e835'; } /* '' */ -.icon-bookmark:before { content: '\f516'; } /* '' */ -.icon-bookmark-1:before { content: '\e81e'; } /* '' */ -.icon-link:before { content: '\f517'; } /* '' */ -.icon-link-1:before { content: '\e810'; } /* '' */ -.icon-back:before { content: '\f519'; } /* '' */ -.icon-fire:before { content: '\f525'; } /* '' */ -.icon-flashlight:before { content: '\f526'; } /* '' */ -.icon-wrench:before { content: '\f527'; } /* '' */ -.icon-hammer:before { content: '\f528'; } /* '' */ -.icon-chart-area:before { content: '\f53e'; } /* '' */ -.icon-clock:before { content: '\f554'; } /* '' */ -.icon-clock-1:before { content: '\e839'; } /* '' */ -.icon-rocket:before { content: '\f680'; } /* '' */ -.icon-truck:before { content: '\f69a'; } /* '' */ -.icon-block:before { content: '\f6ab'; } /* '' */ -.icon-block-1:before { content: '\e83a'; } /* '' */ - -.social-rss:before { font-family: 'fontello'; content: '\e73a'; } /* '' */ -.social-delicious:before { content: '\23'; } /* '#' */ -.social-500px:before { content: '\30'; } /* '0' */ -.social-grooveshark:before { content: '\38'; } /* '8' */ -.social-forrst:before { content: '\3a'; } /* ':' */ -.social-digg:before { content: '\3b'; } /* ';' */ -.social-blogger:before { content: '\42'; } /* 'B' */ -.social-klout:before { content: '\4b'; } /* 'K' */ -.social-dropbox:before { content: '\64'; } /* 'd' */ -.social-ebay:before { content: '\65'; } /* 'e' */ -.social-github-1:before { content: '\67'; } /* 'g' */ -.social-songkick:before { content: '\6b'; } /* 'k' */ -.social-posterous:before { content: '\7e'; } /* '~' */ -.social-appnet:before { content: '\e1'; } /* 'á' */ -.social-github:before { content: '\f300'; } /* '' */ -.social-flickr:before { content: '\f303'; } /* '' */ -.social-vimeo:before { content: '\f306'; } /* '' */ -.social-twitter:before { content: '\f309'; } /* '' */ -.social-facebook:before { content: '\f30c'; } /* '' */ -.social-gplus:before { content: '\f30f'; } /* '' */ -.social-pinterest:before { content: '\f312'; } /* '' */ -.social-youtube:before { content: '\f313'; } /* '' */ -.social-tumblr:before { content: '\f315'; } /* '' */ -.social-linkedin:before { content: '\f318'; } /* '' */ -.social-dribbble:before { content: '\f31b'; } /* '' */ -.social-stumbleupon:before { content: '\f31e'; } /* '' */ -.social-lastfm:before { content: '\f321'; } /* '' */ -.social-spotify:before { content: '\f328'; } /* '' */ -.social-instagram:before { content: '\f32d'; } /* '' */ -.social-evernote:before { content: '\f333'; } /* '' */ -.social-skype:before { content: '\f339'; } /* '' */ -.social-paypal:before { content: '\f342'; } /* '' */ -.social-picasa:before { content: '\f345'; } /* '' */ -.social-soundcloud:before { content: '\f348'; } /* '' */ -.social-behance:before { content: '\f34e'; } /* '' */ \ No newline at end of file diff --git a/examples&sources/editor/type/fontello/fontello-social.eot b/examples&sources/editor/type/fontello/fontello-social.eot deleted file mode 100644 index ef08fae..0000000 Binary files a/examples&sources/editor/type/fontello/fontello-social.eot and /dev/null differ diff --git a/examples&sources/editor/type/fontello/fontello-social.svg b/examples&sources/editor/type/fontello/fontello-social.svg deleted file mode 100644 index 04008bf..0000000 --- a/examples&sources/editor/type/fontello/fontello-social.svg +++ /dev/null @@ -1,152 +0,0 @@ - - - - -Created by FontForge 20100429 at Thu Nov 29 11:57:38 2012 - By root -Copyright (C) 2012 by original authors @ fontello.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples&sources/editor/type/fontello/fontello-social.ttf b/examples&sources/editor/type/fontello/fontello-social.ttf deleted file mode 100644 index 967397c..0000000 Binary files a/examples&sources/editor/type/fontello/fontello-social.ttf and /dev/null differ diff --git a/examples&sources/editor/type/fontello/fontello-social.woff b/examples&sources/editor/type/fontello/fontello-social.woff deleted file mode 100644 index a7cda6f..0000000 Binary files a/examples&sources/editor/type/fontello/fontello-social.woff and /dev/null differ diff --git a/examples&sources/editor/type/fontello/fontello.eot b/examples&sources/editor/type/fontello/fontello.eot deleted file mode 100644 index 0704672..0000000 Binary files a/examples&sources/editor/type/fontello/fontello.eot and /dev/null differ diff --git a/examples&sources/editor/type/fontello/fontello.svg b/examples&sources/editor/type/fontello/fontello.svg deleted file mode 100644 index a10af6a..0000000 --- a/examples&sources/editor/type/fontello/fontello.svg +++ /dev/null @@ -1,1509 +0,0 @@ - - - - -Created by FontForge 20100429 at Wed Dec 26 08:31:24 2012 - By root -Copyright (C) 2012 by original authors @ fontello.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples&sources/editor/type/fontello/fontello.ttf b/examples&sources/editor/type/fontello/fontello.ttf deleted file mode 100644 index 3f39722..0000000 Binary files a/examples&sources/editor/type/fontello/fontello.ttf and /dev/null differ diff --git a/examples&sources/editor/type/fontello/fontello.woff b/examples&sources/editor/type/fontello/fontello.woff deleted file mode 100644 index a7c2419..0000000 Binary files a/examples&sources/editor/type/fontello/fontello.woff and /dev/null differ diff --git a/examples&sources/images/apple.png b/examples&sources/images/apple.png deleted file mode 100644 index 8997873..0000000 Binary files a/examples&sources/images/apple.png and /dev/null differ diff --git a/examples&sources/images/bg1.jpg b/examples&sources/images/bg1.jpg deleted file mode 100644 index 18c399d..0000000 Binary files a/examples&sources/images/bg1.jpg and /dev/null differ diff --git a/examples&sources/images/bg2.jpg b/examples&sources/images/bg2.jpg deleted file mode 100644 index f047904..0000000 Binary files a/examples&sources/images/bg2.jpg and /dev/null differ diff --git a/examples&sources/images/bg3.jpg b/examples&sources/images/bg3.jpg deleted file mode 100644 index 6f1c1f6..0000000 Binary files a/examples&sources/images/bg3.jpg and /dev/null differ diff --git a/examples&sources/images/bg4.jpg b/examples&sources/images/bg4.jpg deleted file mode 100644 index 8610ce3..0000000 Binary files a/examples&sources/images/bg4.jpg and /dev/null differ diff --git a/examples&sources/images/clock.png b/examples&sources/images/clock.png deleted file mode 100644 index 248c17c..0000000 Binary files a/examples&sources/images/clock.png and /dev/null differ diff --git a/examples&sources/images/clock2.png b/examples&sources/images/clock2.png deleted file mode 100644 index 248c17c..0000000 Binary files a/examples&sources/images/clock2.png and /dev/null differ diff --git a/examples&sources/images/cloud1.png b/examples&sources/images/cloud1.png deleted file mode 100644 index 395a03a..0000000 Binary files a/examples&sources/images/cloud1.png and /dev/null differ diff --git a/examples&sources/images/cloud2.png b/examples&sources/images/cloud2.png deleted file mode 100644 index a2978a5..0000000 Binary files a/examples&sources/images/cloud2.png and /dev/null differ diff --git a/examples&sources/images/cloud3.png b/examples&sources/images/cloud3.png deleted file mode 100644 index 0faa914..0000000 Binary files a/examples&sources/images/cloud3.png and /dev/null differ diff --git a/examples&sources/images/cycle1.png b/examples&sources/images/cycle1.png deleted file mode 100644 index 9b17f90..0000000 Binary files a/examples&sources/images/cycle1.png and /dev/null differ diff --git a/examples&sources/images/darkblurbg.jpg b/examples&sources/images/darkblurbg.jpg deleted file mode 100644 index e95d449..0000000 Binary files a/examples&sources/images/darkblurbg.jpg and /dev/null differ diff --git a/examples&sources/images/dummy.png b/examples&sources/images/dummy.png deleted file mode 100644 index 62de185..0000000 Binary files a/examples&sources/images/dummy.png and /dev/null differ diff --git a/examples&sources/images/graph.png b/examples&sources/images/graph.png deleted file mode 100644 index f2c63cf..0000000 Binary files a/examples&sources/images/graph.png and /dev/null differ diff --git a/examples&sources/images/guy1.png b/examples&sources/images/guy1.png deleted file mode 100644 index 91fc170..0000000 Binary files a/examples&sources/images/guy1.png and /dev/null differ diff --git a/examples&sources/images/guy2.png b/examples&sources/images/guy2.png deleted file mode 100644 index ad9031a..0000000 Binary files a/examples&sources/images/guy2.png and /dev/null differ diff --git a/examples&sources/images/guy3.png b/examples&sources/images/guy3.png deleted file mode 100644 index 2851117..0000000 Binary files a/examples&sources/images/guy3.png and /dev/null differ diff --git a/examples&sources/images/guy4.png b/examples&sources/images/guy4.png deleted file mode 100644 index 6cdfb44..0000000 Binary files a/examples&sources/images/guy4.png and /dev/null differ diff --git a/examples&sources/images/guy5.png b/examples&sources/images/guy5.png deleted file mode 100644 index 5380cff..0000000 Binary files a/examples&sources/images/guy5.png and /dev/null differ diff --git a/examples&sources/images/hill1.png b/examples&sources/images/hill1.png deleted file mode 100644 index c2a6b1e..0000000 Binary files a/examples&sources/images/hill1.png and /dev/null differ diff --git a/examples&sources/images/hill2.png b/examples&sources/images/hill2.png deleted file mode 100644 index 13ec734..0000000 Binary files a/examples&sources/images/hill2.png and /dev/null differ diff --git a/examples&sources/images/hill3.png b/examples&sources/images/hill3.png deleted file mode 100644 index f105217..0000000 Binary files a/examples&sources/images/hill3.png and /dev/null differ diff --git a/examples&sources/images/hill4.png b/examples&sources/images/hill4.png deleted file mode 100644 index 7c5408e..0000000 Binary files a/examples&sources/images/hill4.png and /dev/null differ diff --git a/examples&sources/images/huge.jpg b/examples&sources/images/huge.jpg deleted file mode 100644 index db63e3a..0000000 Binary files a/examples&sources/images/huge.jpg and /dev/null differ diff --git a/examples&sources/images/icon_photo.png b/examples&sources/images/icon_photo.png deleted file mode 100644 index 7f53717..0000000 Binary files a/examples&sources/images/icon_photo.png and /dev/null differ diff --git a/examples&sources/images/imac1.png b/examples&sources/images/imac1.png deleted file mode 100644 index f41ca92..0000000 Binary files a/examples&sources/images/imac1.png and /dev/null differ diff --git a/examples&sources/images/kenburns1.jpg b/examples&sources/images/kenburns1.jpg deleted file mode 100644 index 2d95354..0000000 Binary files a/examples&sources/images/kenburns1.jpg and /dev/null differ diff --git a/examples&sources/images/kenburns2.jpg b/examples&sources/images/kenburns2.jpg deleted file mode 100644 index c92ae0c..0000000 Binary files a/examples&sources/images/kenburns2.jpg and /dev/null differ diff --git a/examples&sources/images/kenburns3.jpg b/examples&sources/images/kenburns3.jpg deleted file mode 100644 index eb200f3..0000000 Binary files a/examples&sources/images/kenburns3.jpg and /dev/null differ diff --git a/examples&sources/images/kenburns4.jpg b/examples&sources/images/kenburns4.jpg deleted file mode 100644 index 3f7b40b..0000000 Binary files a/examples&sources/images/kenburns4.jpg and /dev/null differ diff --git a/examples&sources/images/kenburns5.jpg b/examples&sources/images/kenburns5.jpg deleted file mode 100644 index 927ec85..0000000 Binary files a/examples&sources/images/kenburns5.jpg and /dev/null differ diff --git a/examples&sources/images/logo.png b/examples&sources/images/logo.png deleted file mode 100644 index f5c6014..0000000 Binary files a/examples&sources/images/logo.png and /dev/null differ diff --git a/examples&sources/images/lupe_imac.png b/examples&sources/images/lupe_imac.png deleted file mode 100644 index 35d6627..0000000 Binary files a/examples&sources/images/lupe_imac.png and /dev/null differ diff --git a/examples&sources/images/lupe_macbook.png b/examples&sources/images/lupe_macbook.png deleted file mode 100644 index 7455e55..0000000 Binary files a/examples&sources/images/lupe_macbook.png and /dev/null differ diff --git a/examples&sources/images/macbook2.png b/examples&sources/images/macbook2.png deleted file mode 100644 index 44aafd3..0000000 Binary files a/examples&sources/images/macbook2.png and /dev/null differ diff --git a/examples&sources/images/newslide2014_1.jpg b/examples&sources/images/newslide2014_1.jpg deleted file mode 100644 index 7520a07..0000000 Binary files a/examples&sources/images/newslide2014_1.jpg and /dev/null differ diff --git a/examples&sources/images/slidebg1.jpg b/examples&sources/images/slidebg1.jpg deleted file mode 100644 index b2535f8..0000000 Binary files a/examples&sources/images/slidebg1.jpg and /dev/null differ diff --git a/examples&sources/images/slidebg1.png b/examples&sources/images/slidebg1.png deleted file mode 100644 index 989a928..0000000 Binary files a/examples&sources/images/slidebg1.png and /dev/null differ diff --git a/examples&sources/images/star.png b/examples&sources/images/star.png deleted file mode 100644 index 6def637..0000000 Binary files a/examples&sources/images/star.png and /dev/null differ diff --git a/examples&sources/images/trans_tile2.png b/examples&sources/images/trans_tile2.png deleted file mode 100644 index ff9deb3..0000000 Binary files a/examples&sources/images/trans_tile2.png and /dev/null differ diff --git a/examples&sources/images/transparent.png b/examples&sources/images/transparent.png deleted file mode 100644 index 62de185..0000000 Binary files a/examples&sources/images/transparent.png and /dev/null differ diff --git a/examples&sources/images/tree.png b/examples&sources/images/tree.png deleted file mode 100644 index 7b58052..0000000 Binary files a/examples&sources/images/tree.png and /dev/null differ diff --git a/examples&sources/images/video_forest.jpg b/examples&sources/images/video_forest.jpg deleted file mode 100644 index ebce249..0000000 Binary files a/examples&sources/images/video_forest.jpg and /dev/null differ diff --git a/examples&sources/images/videobg1.jpg b/examples&sources/images/videobg1.jpg deleted file mode 100644 index 4e32c03..0000000 Binary files a/examples&sources/images/videobg1.jpg and /dev/null differ diff --git a/examples&sources/images/videoshadow.png b/examples&sources/images/videoshadow.png deleted file mode 100644 index 93dcfea..0000000 Binary files a/examples&sources/images/videoshadow.png and /dev/null differ diff --git a/examples&sources/images/woman.png b/examples&sources/images/woman.png deleted file mode 100644 index 36b0534..0000000 Binary files a/examples&sources/images/woman.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/arrow_large_left.png b/examples&sources/rs-plugin/assets/arrow_large_left.png deleted file mode 100644 index d0e0f42..0000000 Binary files a/examples&sources/rs-plugin/assets/arrow_large_left.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/arrow_large_right.png b/examples&sources/rs-plugin/assets/arrow_large_right.png deleted file mode 100644 index c1c23e3..0000000 Binary files a/examples&sources/rs-plugin/assets/arrow_large_right.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/arrow_left.png b/examples&sources/rs-plugin/assets/arrow_left.png deleted file mode 100644 index b71957f..0000000 Binary files a/examples&sources/rs-plugin/assets/arrow_left.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/arrow_left2.png b/examples&sources/rs-plugin/assets/arrow_left2.png deleted file mode 100644 index b569448..0000000 Binary files a/examples&sources/rs-plugin/assets/arrow_left2.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/arrow_right.png b/examples&sources/rs-plugin/assets/arrow_right.png deleted file mode 100644 index 76f81f5..0000000 Binary files a/examples&sources/rs-plugin/assets/arrow_right.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/arrow_right2.png b/examples&sources/rs-plugin/assets/arrow_right2.png deleted file mode 100644 index c6a2726..0000000 Binary files a/examples&sources/rs-plugin/assets/arrow_right2.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/arrowleft.png b/examples&sources/rs-plugin/assets/arrowleft.png deleted file mode 100644 index 2e7daf8..0000000 Binary files a/examples&sources/rs-plugin/assets/arrowleft.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/arrowright.png b/examples&sources/rs-plugin/assets/arrowright.png deleted file mode 100644 index 0702b88..0000000 Binary files a/examples&sources/rs-plugin/assets/arrowright.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/arrows.psd b/examples&sources/rs-plugin/assets/arrows.psd deleted file mode 100644 index ade2810..0000000 Binary files a/examples&sources/rs-plugin/assets/arrows.psd and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/black50.png b/examples&sources/rs-plugin/assets/black50.png deleted file mode 100644 index 01e9141..0000000 Binary files a/examples&sources/rs-plugin/assets/black50.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/boxed_bgtile.png b/examples&sources/rs-plugin/assets/boxed_bgtile.png deleted file mode 100644 index 7068133..0000000 Binary files a/examples&sources/rs-plugin/assets/boxed_bgtile.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/bullet.png b/examples&sources/rs-plugin/assets/bullet.png deleted file mode 100644 index 1203f8a..0000000 Binary files a/examples&sources/rs-plugin/assets/bullet.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/bullet_boxed.png b/examples&sources/rs-plugin/assets/bullet_boxed.png deleted file mode 100644 index 7e28118..0000000 Binary files a/examples&sources/rs-plugin/assets/bullet_boxed.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/bullets.png b/examples&sources/rs-plugin/assets/bullets.png deleted file mode 100644 index eca5977..0000000 Binary files a/examples&sources/rs-plugin/assets/bullets.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/bullets.psd b/examples&sources/rs-plugin/assets/bullets.psd deleted file mode 100644 index 181523b..0000000 Binary files a/examples&sources/rs-plugin/assets/bullets.psd and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/bullets2.png b/examples&sources/rs-plugin/assets/bullets2.png deleted file mode 100644 index bf3c7f2..0000000 Binary files a/examples&sources/rs-plugin/assets/bullets2.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/coloredbg.png b/examples&sources/rs-plugin/assets/coloredbg.png deleted file mode 100644 index db75b7a..0000000 Binary files a/examples&sources/rs-plugin/assets/coloredbg.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/grain.png b/examples&sources/rs-plugin/assets/grain.png deleted file mode 100644 index d892efe..0000000 Binary files a/examples&sources/rs-plugin/assets/grain.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/gridtile.png b/examples&sources/rs-plugin/assets/gridtile.png deleted file mode 100644 index b07e396..0000000 Binary files a/examples&sources/rs-plugin/assets/gridtile.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/gridtile_3x3.png b/examples&sources/rs-plugin/assets/gridtile_3x3.png deleted file mode 100644 index 6f2c31d..0000000 Binary files a/examples&sources/rs-plugin/assets/gridtile_3x3.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/gridtile_3x3_white.png b/examples&sources/rs-plugin/assets/gridtile_3x3_white.png deleted file mode 100644 index a8830fc..0000000 Binary files a/examples&sources/rs-plugin/assets/gridtile_3x3_white.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/gridtile_white.png b/examples&sources/rs-plugin/assets/gridtile_white.png deleted file mode 100644 index 7f2599e..0000000 Binary files a/examples&sources/rs-plugin/assets/gridtile_white.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/large_left.png b/examples&sources/rs-plugin/assets/large_left.png deleted file mode 100644 index 896d084..0000000 Binary files a/examples&sources/rs-plugin/assets/large_left.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/large_right.png b/examples&sources/rs-plugin/assets/large_right.png deleted file mode 100644 index 43db6f6..0000000 Binary files a/examples&sources/rs-plugin/assets/large_right.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/loader.gif b/examples&sources/rs-plugin/assets/loader.gif deleted file mode 100644 index 53dd589..0000000 Binary files a/examples&sources/rs-plugin/assets/loader.gif and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/loader2.gif b/examples&sources/rs-plugin/assets/loader2.gif deleted file mode 100644 index 4ec1dda..0000000 Binary files a/examples&sources/rs-plugin/assets/loader2.gif and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/navigdots.png b/examples&sources/rs-plugin/assets/navigdots.png deleted file mode 100644 index 3c0ea2f..0000000 Binary files a/examples&sources/rs-plugin/assets/navigdots.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/navigdots_bgtile.png b/examples&sources/rs-plugin/assets/navigdots_bgtile.png deleted file mode 100644 index 84f1c28..0000000 Binary files a/examples&sources/rs-plugin/assets/navigdots_bgtile.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/shadow1.png b/examples&sources/rs-plugin/assets/shadow1.png deleted file mode 100644 index 55293a1..0000000 Binary files a/examples&sources/rs-plugin/assets/shadow1.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/shadow2.png b/examples&sources/rs-plugin/assets/shadow2.png deleted file mode 100644 index 8d0f298..0000000 Binary files a/examples&sources/rs-plugin/assets/shadow2.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/shadow3.png b/examples&sources/rs-plugin/assets/shadow3.png deleted file mode 100644 index 2ceccf8..0000000 Binary files a/examples&sources/rs-plugin/assets/shadow3.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/small_arrows.psd b/examples&sources/rs-plugin/assets/small_arrows.psd deleted file mode 100644 index 5a60813..0000000 Binary files a/examples&sources/rs-plugin/assets/small_arrows.psd and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/small_left.png b/examples&sources/rs-plugin/assets/small_left.png deleted file mode 100644 index 0fb36a6..0000000 Binary files a/examples&sources/rs-plugin/assets/small_left.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/small_left_boxed.png b/examples&sources/rs-plugin/assets/small_left_boxed.png deleted file mode 100644 index 59cd3bc..0000000 Binary files a/examples&sources/rs-plugin/assets/small_left_boxed.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/small_right.png b/examples&sources/rs-plugin/assets/small_right.png deleted file mode 100644 index b83563a..0000000 Binary files a/examples&sources/rs-plugin/assets/small_right.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/small_right_boxed.png b/examples&sources/rs-plugin/assets/small_right_boxed.png deleted file mode 100644 index d89a095..0000000 Binary files a/examples&sources/rs-plugin/assets/small_right_boxed.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/timer.png b/examples&sources/rs-plugin/assets/timer.png deleted file mode 100644 index 8e2ee79..0000000 Binary files a/examples&sources/rs-plugin/assets/timer.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/timerdot.png b/examples&sources/rs-plugin/assets/timerdot.png deleted file mode 100644 index 0174d3d..0000000 Binary files a/examples&sources/rs-plugin/assets/timerdot.png and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/transparent.jpg b/examples&sources/rs-plugin/assets/transparent.jpg deleted file mode 100644 index f0e511b..0000000 Binary files a/examples&sources/rs-plugin/assets/transparent.jpg and /dev/null differ diff --git a/examples&sources/rs-plugin/assets/white50.png b/examples&sources/rs-plugin/assets/white50.png deleted file mode 100644 index 3242605..0000000 Binary files a/examples&sources/rs-plugin/assets/white50.png and /dev/null differ diff --git a/examples&sources/rs-plugin/css/settings-ie8.css b/examples&sources/rs-plugin/css/settings-ie8.css deleted file mode 100644 index e4cdf50..0000000 --- a/examples&sources/rs-plugin/css/settings-ie8.css +++ /dev/null @@ -1,814 +0,0 @@ -/*----------------------------------------------------------------------------- - - - Revolution Slider 1.5.3 - - - Screen Stylesheet - -version: 2.1 -date: 09/18/11 -last update: 06.12.2012 -author: themepunch -email: info@themepunch.com -website: http://www.themepunch.com ------------------------------------------------------------------------------*/ - - -/*----------------------------------------------------------------------------- - - - Revolution Slider 2.0 Captions - - - Screen Stylesheet - -version: 1.4.5 -date: 09/18/11 -last update: 06.12.2012 -author: themepunch -email: info@themepunch.com -website: http://www.themepunch.com ------------------------------------------------------------------------------*/ - - - -/************************* - - CAPTIONS - -**************************/ - -.tp-hide-revslider,.tp-caption.tp-hidden-caption { visibility:hidden !important; display:none !important;} - -.tp-caption { z-index:1;} -.tp-caption.big_white{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 800; - font-size: 20px; - line-height: 20px; - font-family: 'Open Sans', sans; - padding: 3px 4px; - padding-top: 1px; - margin: 0px; - border-width: 0px; - border-style: none; - background-color:#000; - letter-spacing: 0px; - } - -.tp-caption.big_orange{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 700; - font-size: 36px; - line-height: 36px; - font-family: Arial; - padding: 0px 4px; - margin: 0px; - border-width: 0px; - border-style: none; - background-color:#fb7354; - letter-spacing: -1.5px; - } - -.tp-caption.big_black{ - position: absolute; - color: #000; - text-shadow: none; - font-weight: 800; - font-size: 36px; - line-height: 36px; - font-family: 'Open Sans', sans; - padding: 0px 4px; - margin: 0px; - border-width: 0px; - border-style: none; - background-color:#fff; - letter-spacing: -1.5px; - } - -.tp-caption.medium_grey{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 700; - font-size: 20px; - line-height: 20px; - font-family: Arial; - padding: 2px 4px; - margin: 0px; - border-width: 0px; - border-style: none; - background-color:#888; - white-space:nowrap; - text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); - } - -.tp-caption.small_text{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 700; - font-size: 14px; - line-height: 20px; - font-family: Arial; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); - } - -.tp-caption.medium_text{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 300; - font-size: 20px; - line-height: 20px; - font-family: 'Open Sans', sans; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); - } - -.tp-caption.large_text{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 800; - font-size: 36px; - line-height: 36px; - font-family: 'Open Sans', sans; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); - } -.tp-caption.large_black_text{ - position: absolute; - color: #000; - text-shadow: none; - font-weight: 300; - font-size: 42px; - line-height: 42px; - font-family: 'Open Sans', sans; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - } - -.tp-caption.very_large_text{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 800; - font-size: 60px; - line-height: 60px; - font-family: 'Open Sans', sans; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); - letter-spacing: 0px; - } -.tp-caption.very_large_black_text{ - position: absolute; - color: #000; - text-shadow: none; - font-weight: 800; - font-size: 72px; - line-height: 72px; - font-family: 'Open Sans', sans; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - } -.tp-caption.bold_red_text{ - position: absolute; - color: #d31e00; - text-shadow: none; - font-weight: 800; - font-size: 20px; - line-height: 20px; - font-family: 'Open Sans', sans; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - } -.tp-caption.bold_brown_text{ - position: absolute; - color: #a04606; - text-shadow: none; - font-weight: 800; - font-size: 20px; - line-height: 20px; - font-family: 'Open Sans', sans; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - } - .tp-caption.bold_green_text{ - position: absolute; - color: #5b9830; - text-shadow: none; - font-weight: 800; - font-size: 20px; - line-height: 20px; - font-family: 'Open Sans', sans; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - } - -.tp-caption.very_big_white{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 800; - font-size: 36px; - line-height: 36px; - font-family: 'Open Sans', sans; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - padding: 3px 4px; - padding-top: 1px; - background-color:#7e8e96; - } - -.tp-caption.very_big_black{ - position: absolute; - color: #000; - text-shadow: none; - font-weight: 700; - font-size: 60px; - line-height: 60px; - font-family: Arial; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - padding: 0px 4px; - padding-top: 1px; - background-color:#fff; - } - - -.tp-caption.modern_medium_fat{ - position: absolute; - color: #000; - text-shadow: none; - font-weight: 800; - font-size: 24px; - line-height: 20px; - font-family: 'Open Sans', sans-serif; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - } -.tp-caption.modern_medium_fat_white{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 800; - font-size: 24px; - line-height: 20px; - font-family: 'Open Sans', sans-serif; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - } -.tp-caption.modern_medium_light{ - position: absolute; - color: #000; - text-shadow: none; - font-weight: 300; - font-size: 24px; - line-height: 20px; - font-family: 'Open Sans', sans-serif; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - } -.tp-caption.modern_big_bluebg{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 800; - font-size: 30px; - line-height: 36px; - font-family: 'Open Sans', sans-serif; - padding: 3px 10px; - margin: 0px; - border-width: 0px; - border-style: none; - background-color:#4e5b6c; - letter-spacing: 0; - } -.tp-caption.modern_big_redbg{ - position: absolute; - color: #fff; - text-shadow: none; - font-weight: 300; - font-size: 30px; - line-height: 36px; - font-family: 'Open Sans', sans-serif; - padding: 3px 10px; - padding-top: 1px; - margin: 0px; - border-width: 0px; - border-style: none; - background-color:#de543e; - letter-spacing: 0; - } -.tp-caption.modern_small_text_dark{ - position: absolute; - color: #555; - text-shadow: none; - font-size: 14px; - line-height: 22px; - font-family: Arial; - margin: 0px; - border-width: 0px; - border-style: none; - white-space:nowrap; - } - - - - - -.tp-caption.boxshadow{ - -moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); - -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); - box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); - } - -.tp-caption.black{ - color: #000; - text-shadow: none; - font-weight: 300; - font-size: 19px; - line-height: 19px; - font-family: 'Open Sans', sans; - } - -.tp-caption.noshadow { - text-shadow: none; - } - -.tp-caption a { - color: #ff7302; text-shadow: none; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -} - -.tp-caption a:hover { - color: #ffa902; -} - - -.tp_inner_padding { box-sizing:border-box; - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - max-height:none !important; } - - -.tp-caption .frontcorner { - width: 0; - height: 0; - border-left: 40px solid transparent; - border-right: 0px solid transparent; - border-top: 40px solid #00A8FF; - position: absolute;left:-40px;top:0px; - } - -.tp-caption .backcorner { - width: 0; - height: 0; - border-left: 0px solid transparent; - border-right: 40px solid transparent; - border-bottom: 40px solid #00A8FF; - position: absolute;right:0px;top:0px; - } - -.tp-caption .frontcornertop { - width: 0; - height: 0; - border-left: 40px solid transparent; - border-right: 0px solid transparent; - border-bottom: 40px solid #00A8FF; - position: absolute;left:-40px;top:0px; - } - -.tp-caption .backcornertop { - width: 0; - height: 0; - border-left: 0px solid transparent; - border-right: 40px solid transparent; - border-top: 40px solid #00A8FF; - position: absolute;right:0px;top:0px; - } - - -/****************************** - - BUTTONS - -*******************************/ - -.button { padding:6px 13px 5px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; height:30px; - cursor:pointer; - color:#fff !important; text-shadow:0px 1px 1px rgba(0, 0, 0, 0.6) !important; font-size:15px; line-height:45px !important; - background:url(../images/gradient/g30.png) repeat-x top; font-family: arial, sans-serif; font-weight: bold; letter-spacing: -1px; - } - -.button.big { color:#fff; text-shadow:0px 1px 1px rgba(0, 0, 0, 0.6); font-weight:bold; padding:9px 20px; font-size:19px; line-height:57px !important; background:url(../images/gradient/g40.png) repeat-x top;} - - -.purchase:hover, -.button:hover, -.button.big:hover { background-position:bottom, 15px 11px;} - - - - @media only screen and (min-width: 768px) and (max-width: 959px) { - - } - - - - @media only screen and (min-width: 480px) and (max-width: 767px) { - .button { padding:4px 8px 3px; line-height:25px !important; font-size:11px !important;font-weight:normal; } - a.button { -webkit-transition: none; -moz-transition: none; -o-transition: none; -ms-transition: none; } - - - } - - @media only screen and (min-width: 0px) and (max-width: 479px) { - .button { padding:2px 5px 2px; line-height:20px !important; font-size:10px !important;} - a.button { -webkit-transition: none; -moz-transition: none; -o-transition: none; -ms-transition: none; } - } - - - - - -/* BUTTON COLORS */ - - - -.button.green, .button:hover.green, -.purchase.green, .purchase:hover.green { background-color:#21a117; -webkit-box-shadow: 0px 3px 0px 0px #104d0b; -moz-box-shadow: 0px 3px 0px 0px #104d0b; box-shadow: 0px 3px 0px 0px #104d0b; } - - -.button.blue, .button:hover.blue, -.purchase.blue, .purchase:hover.blue { background-color:#1d78cb; -webkit-box-shadow: 0px 3px 0px 0px #0f3e68; -moz-box-shadow: 0px 3px 0px 0px #0f3e68; box-shadow: 0px 3px 0px 0px #0f3e68;} - - -.button.red, .button:hover.red, -.purchase.red, .purchase:hover.red { background-color:#cb1d1d; -webkit-box-shadow: 0px 3px 0px 0px #7c1212; -moz-box-shadow: 0px 3px 0px 0px #7c1212; box-shadow: 0px 3px 0px 0px #7c1212;} - -.button.orange, .button:hover.orange, -.purchase.orange, .purchase:hover.orange { background-color:#ff7700; -webkit-box-shadow: 0px 3px 0px 0px #a34c00; -moz-box-shadow: 0px 3px 0px 0px #a34c00; box-shadow: 0px 3px 0px 0px #a34c00;} - -.button.darkgrey,.button.grey, -.button:hover.darkgrey,.button:hover.grey, -.purchase.darkgrey, .purchase:hover.darkgrey { background-color:#555; -webkit-box-shadow: 0px 3px 0px 0px #222; -moz-box-shadow: 0px 3px 0px 0px #222; box-shadow: 0px 3px 0px 0px #222;} - -.button.lightgrey, .button:hover.lightgrey, -.purchase.lightgrey, .purchase:hover.lightgrey { background-color:#888; -webkit-box-shadow: 0px 3px 0px 0px #555; -moz-box-shadow: 0px 3px 0px 0px #555; box-shadow: 0px 3px 0px 0px #555;} - - - -/**************************************************************** - - - SET THE ANIMATION EVEN MORE SMOOTHER ON ANDROID - - -******************************************************************/ - -.tp-simpleresponsive .slotholder *, -.tp-simpleresponsive img { -webkit-transform: translateZ(0); - -webkit-backface-visibility: hidden; - -webkit-perspective: 1000; - } - - -/************************************************ - - SOME CAPTION MODIFICATION AT START - -*************************************************/ -.tp-simpleresponsive .caption, -.tp-simpleresponsive .tp-caption { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; -moz-opacity: 0; -khtml-opacity: 0; opacity: 0; position:absolute; visibility: hidden; - -} - -.tp-simpleresponsive img { max-width:none;} - - - -/****************************** - - IE8 HACKS - -*******************************/ -.noFilterClass { - filter:none !important; -} - - -/****************************** - - SHADOWS - -******************************/ -.tp-bannershadow { - position:absolute; - - margin-left:auto; - margin-right:auto; - -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; - } - -.tp-bannershadow.tp-shadow1 { background:url(../assets/shadow1.png) no-repeat; background-size:100%; width:890px; height:60px; bottom:-60px;} -.tp-bannershadow.tp-shadow2 { background:url(../assets/shadow2.png) no-repeat; background-size:100%; width:890px; height:60px;bottom:-60px;} -.tp-bannershadow.tp-shadow3 { background:url(../assets/shadow3.png) no-repeat; background-size:100%; width:890px; height:60px;bottom:-60px;} - - -/******************************** - - FULLSCREEN VIDEO - -*********************************/ -.caption.fullscreenvideo { left:0px; top:0px; position:absolute;width:100%;height:100%;} -.caption.fullscreenvideo iframe { width:100% !important; height:100% !important;} - -.tp-caption.fullscreenvideo { left:0px; top:0px; position:absolute;width:100%;height:100%;} -.tp-caption.fullscreenvideo iframe { width:100% !important; height:100% !important;} - -/************************ - - NAVIGATION - -*************************/ - -/** BULLETS **/ - -.tpclear { clear:both;} - - -.tp-bullets { z-index:1000; position:absolute; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - -moz-opacity: 1; - -khtml-opacity: 1; - opacity: 1; - -webkit-transition: opacity 0.2s ease-out; -moz-transition: opacity 0.2s ease-out; -o-transition: opacity 0.2s ease-out; -ms-transition: opacity 0.2s ease-out; - } -.tp-bullets.hidebullets { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - -moz-opacity: 0; - -khtml-opacity: 0; - opacity: 0; - } - - -.tp-bullets.simplebullets.navbar { border:1px solid #666; border-bottom:1px solid #444; background:url(../assets/boxed_bgtile.png); height:40px; padding:0px 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px ;} - -.tp-bullets.simplebullets.navbar-old { background:url(../assets/navigdots_bgtile.png); height:35px; padding:0px 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px ;} - - -.tp-bullets.simplebullets.round .bullet { cursor:pointer; position:relative; background:url(../assets/bullet.png) no-Repeat top left; width:20px; height:20px; margin-right:0px; float:left; margin-top:2px; margin-left:3px;} -.tp-bullets.simplebullets.round .bullet.last { margin-right:3px;} - -.tp-bullets.simplebullets.round-old .bullet { cursor:pointer; position:relative; background:url(../assets/bullets.png) no-Repeat bottom left; width:23px; height:23px; margin-right:0px; float:left; margin-top:0px;} -.tp-bullets.simplebullets.round-old .bullet.last { margin-right:0px;} - - -/** SQUARE BULLETS **/ -.tp-bullets.simplebullets.square .bullet { cursor:pointer; position:relative; background:url(../assets/bullets2.png) no-Repeat bottom left; width:19px; height:19px; margin-right:0px; float:left; margin-top:2px;} -.tp-bullets.simplebullets.square .bullet.last { margin-right:0px;} - - -/** SQUARE BULLETS **/ -.tp-bullets.simplebullets.square-old .bullet { cursor:pointer; position:relative; background:url(../assets/bullets2.png) no-Repeat bottom left; width:19px; height:19px; margin-right:0px; float:left; margin-top:2px;} -.tp-bullets.simplebullets.square-old .bullet.last { margin-right:0px;} - - -/** navbar NAVIGATION VERSION **/ -.tp-bullets.simplebullets.navbar .bullet { cursor:pointer; position:relative; background:url(../assets/bullet_boxed.png) no-Repeat top left; width:18px; height:19px; margin-right:5px; float:left; margin-top:10px;} - -.tp-bullets.simplebullets.navbar .bullet.first { margin-left:0px !important;} -.tp-bullets.simplebullets.navbar .bullet.last { margin-right:0px !important;} - - - -/** navbar NAVIGATION VERSION **/ -.tp-bullets.simplebullets.navbar-old .bullet { cursor:pointer; position:relative; background:url(../assets/navigdots.png) no-Repeat bottom left; width:15px; height:15px; margin-left:5px !important; margin-right:5px !important;float:left; margin-top:10px;} -.tp-bullets.simplebullets.navbar-old .bullet.first { margin-left:0px !important;} -.tp-bullets.simplebullets.navbar-old .bullet.last { margin-right:0px !important;} - - -.tp-bullets.simplebullets .bullet:hover, -.tp-bullets.simplebullets .bullet.selected { background-position:top left; } - -.tp-bullets.simplebullets.round .bullet:hover, -.tp-bullets.simplebullets.round .bullet.selected, -.tp-bullets.simplebullets.navbar .bullet:hover, -.tp-bullets.simplebullets.navbar .bullet.selected { background-position:bottom left; } - - - -/************************************* - - TP ARROWS - -**************************************/ -.tparrows { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - -moz-opacity: 1; - -khtml-opacity: 1; - opacity: 1; - -webkit-transition: opacity 0.2s ease-out; -moz-transition: opacity 0.2s ease-out; -o-transition: opacity 0.2s ease-out; -ms-transition: opacity 0.2s ease-out; - - } -.tparrows.hidearrows { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - -moz-opacity: 0; - -khtml-opacity: 0; - opacity: 0; - } -.tp-leftarrow { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_left.png) no-Repeat top left; width:40px; height:40px; } -.tp-rightarrow { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_right.png) no-Repeat top left; width:40px; height:40px; } - - -.tp-leftarrow.round { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_left.png) no-Repeat top left; width:19px; height:14px; margin-right:0px; float:left; margin-top:0px; } -.tp-rightarrow.round { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_right.png) no-Repeat top left; width:19px; height:14px; margin-right:0px; float:left; margin-top:0px;} - - -.tp-leftarrow.round-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_left.png) no-Repeat top left; width:26px; height:26px; margin-right:0px; float:left; margin-top:0px; } -.tp-rightarrow.round-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_right.png) no-Repeat top left; width:26px; height:26px; margin-right:0px; float:left; margin-top:0px;} - - -.tp-leftarrow.navbar { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_left_boxed.png) no-Repeat top left; width:20px; height:15px; float:left; margin-right:6px; margin-top:12px;} -.tp-rightarrow.navbar { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_right_boxed.png) no-Repeat top left; width:20px; height:15px; float:left; margin-left:6px; margin-top:12px;} - - -.tp-leftarrow.navbar-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrowleft.png) no-Repeat top left; width:9px; height:16px; float:left; margin-right:6px; margin-top:10px;} -.tp-rightarrow.navbar-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrowright.png) no-Repeat top left; width:9px; height:16px; float:left; margin-left:6px; margin-top:10px;} - -.tp-leftarrow.navbar-old.thumbswitharrow { margin-right:10px; } -.tp-rightarrow.navbar-old.thumbswitharrow { margin-left:0px; } - -.tp-leftarrow.square { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_left2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-right:0px; margin-top:0px;} -.tp-rightarrow.square { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_right2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-left:0px; margin-top:0px;} - - -.tp-leftarrow.square-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_left2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-right:0px; margin-top:0px;} -.tp-rightarrow.square-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_right2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-left:0px; margin-top:0px;} - - -.tp-leftarrow.default { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_left.png) no-Repeat 0 0; width:40px; height:40px; - - } -.tp-rightarrow.default { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_right.png) no-Repeat 0 0; width:40px; height:40px; - - } - - - - -.tp-leftarrow:hover, -.tp-rightarrow:hover { background-position:bottom left; } - - - - - - -/**************************************************************************************************** - - TP THUMBS - -***************************************************************************************************** - - - tp-thumbs & tp-mask Width is the width of the basic Thumb Container (500px basic settings) - - - .bullet width & height is the dimension of a simple Thumbnail (basic 100px x 50px) - - *****************************************************************************************************/ - - -.tp-bullets.tp-thumbs { z-index:1000; position:absolute; padding:3px;background-color:#fff; - width:500px;height:50px; /* THE DIMENSIONS OF THE THUMB CONTAINER */ - margin-top:-50px; - } - - -.fullwidthbanner-container .tp-thumbs { padding:3px;} - -.tp-bullets.tp-thumbs .tp-mask { width:500px; height:50px; /* THE DIMENSIONS OF THE THUMB CONTAINER */ - overflow:hidden; position:relative;} - - -.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer { width:5000px; position:absolute;} - -.tp-bullets.tp-thumbs .bullet { width:100px; height:50px; /* THE DIMENSION OF A SINGLE THUMB */ - cursor:pointer; overflow:hidden;background:none;margin:0;float:left; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; - /*filter: alpha(opacity=50); */ - -moz-opacity: 0.5; - -khtml-opacity: 0.5; - opacity: 0.5; - - -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; - } - - -.tp-bullets.tp-thumbs .bullet:hover, -.tp-bullets.tp-thumbs .bullet.selected { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - - -moz-opacity: 1; - -khtml-opacity: 1; - opacity: 1; - } -.tp-thumbs img { width:100%; } - - -/************************************ - - TP BANNER TIMER - -*************************************/ -.tp-bannertimer { width:100%; height:10px; background:url(../assets/timer.png);position:absolute; z-index:200;top:0px;} -.tp-bannertimer.tp-bottom { bottom:0px;height:5px; top:auto;} - - - - -/*************************************** - - RESPONSIVE SETTINGS - -****************************************/ - - - @media only screen and (min-width: 768px) and (max-width: 959px) { - - } - - - - @media only screen and (min-width: 480px) and (max-width: 767px) { - .responsive .tp-bullets.tp-thumbs { width:300px !important; height:30px !important;} - .responsive .tp-bullets.tp-thumbs .tp-mask { width:300px !important; height:30px !important;} - .responsive .tp-bullets.tp-thumbs .bullet { width:60px !important;height:30px !important;} - - } - - @media only screen and (min-width: 0px) and (max-width: 479px) { - .responsive .tp-bullets { display:none} - .responsive .tparrows { display:none;} - } - - - - - -/********************************************* - - - BASIC SETTINGS FOR THE BANNER - - -***********************************************/ - - .tp-simpleresponsive img { - -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; -} - - - -.tp-simpleresponsive a{ text-decoration:none;} - -.tp-simpleresponsive ul { - list-style:none; - padding:0; - margin:0; -} - -.tp-simpleresponsive >ul >li{ - list-stye:none; - position:absolute; - visibility:hidden; -} -/* CAPTION SLIDELINK **/ -.caption.slidelink a div, -.tp-caption.slidelink a div { width:3000px; height:1500px; background:url(../assets/coloredbg.png) repeat;} - -.tp-loader { background:url(../assets/loader.gif) no-repeat 10px 10px; background-color:#fff; margin:-22px -22px; top:50%; left:50%; z-index:10000; position:absolute;width:44px;height:44px; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - } - - -.tp-transparentimg { content:"url(../assets/transparent.png)"} -.tp-3d { -webkit-transform-style: preserve-3d; - -webkit-transform-origin: 50% 50%; - } - diff --git a/examples&sources/rs-plugin/css/settings.css b/examples&sources/rs-plugin/css/settings.css deleted file mode 100644 index 0333566..0000000 --- a/examples&sources/rs-plugin/css/settings.css +++ /dev/null @@ -1,1864 +0,0 @@ -/*----------------------------------------------------------------------------- - - - Revolution Slider 4.1 Captions - - - Screen Stylesheet - -version: 1.4.5 -date: 27/11/13 -author: themepunch -email: info@themepunch.com -website: http://www.themepunch.com ------------------------------------------------------------------------------*/ - - - -/************************* - - CAPTIONS - -**************************/ - -.tp-hide-revslider,.tp-caption.tp-hidden-caption { visibility:hidden !important; display:none !important;} - - -.tp-caption { z-index:1; white-space:nowrap} - -.tp-caption-demo .tp-caption { position:relative !important; display:inline-block; margin-bottom:10px; margin-right:20px !important;} - - -.tp-caption.whitedivider3px { - - color: #000000; - text-shadow: none; - background-color: rgb(255, 255, 255); - background-color: rgba(255, 255, 255, 1); - text-decoration: none; - min-width: 408px; - min-height: 3px; - background-position: initial initial; - background-repeat: initial initial; - border-width: 0px; - border-color: #000000; - border-style: none; -} - - -.tp-caption.finewide_large_white { -color:#ffffff; -text-shadow:none; -font-size:60px; -line-height:60px; -font-weight:300; -font-family:"Open Sans", sans-serif; -background-color:transparent; -text-decoration:none; -text-transform:uppercase; -letter-spacing:8px; -border-width:0px; -border-color:rgb(0, 0, 0); -border-style:none; -} - -.tp-caption.whitedivider3px { -color:#000000; -text-shadow:none; -background-color:rgb(255, 255, 255); -background-color:rgba(255, 255, 255, 1); -text-decoration:none; -font-size:0px; -line-height:0; -min-width:468px; -min-height:3px; -border-width:0px; -border-color:rgb(0, 0, 0); -border-style:none; -} - -.tp-caption.finewide_medium_white { -color:#ffffff; -text-shadow:none; -font-size:37px; -line-height:37px; -font-weight:300; -font-family:"Open Sans", sans-serif; -background-color:transparent; -text-decoration:none; -text-transform:uppercase; -letter-spacing:5px; -border-width:0px; -border-color:rgb(0, 0, 0); -border-style:none; -} - -.tp-caption.boldwide_small_white { -font-size:25px; -line-height:25px; -font-weight:800; -font-family:"Open Sans", sans-serif; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:transparent; -text-shadow:none; -text-transform:uppercase; -letter-spacing:5px; -border-width:0px; -border-color:rgb(0, 0, 0); -border-style:none; -} - -.tp-caption.whitedivider3px_vertical { -color:#000000; -text-shadow:none; -background-color:rgb(255, 255, 255); -background-color:rgba(255, 255, 255, 1); -text-decoration:none; -font-size:0px; -line-height:0; -min-width:3px; -min-height:130px; -border-width:0px; -border-color:rgb(0, 0, 0); -border-style:none; -} - -.tp-caption.finewide_small_white { -color:#ffffff; -text-shadow:none; -font-size:25px; -line-height:25px; -font-weight:300; -font-family:"Open Sans", sans-serif; -background-color:transparent; -text-decoration:none; -text-transform:uppercase; -letter-spacing:5px; -border-width:0px; -border-color:rgb(0, 0, 0); -border-style:none; -} - -.tp-caption.finewide_verysmall_white_mw { -font-size:13px; -line-height:25px; -font-weight:400; -font-family:"Open Sans", sans-serif; -color:#ffffff; -text-decoration:none; -background-color:transparent; -text-shadow:none; -text-transform:uppercase; -letter-spacing:5px; -max-width:470px; -white-space:normal !important; -border-width:0px; -border-color:rgb(0, 0, 0); -border-style:none; -} - -.tp-caption.lightgrey_divider { -text-decoration:none; -background-color:rgb(235, 235, 235); -background-color:rgba(235, 235, 235, 1); -width:370px; -height:3px; -background-position:initial initial; -background-repeat:initial initial; -border-width:0px; -border-color:rgb(34, 34, 34); -border-style:none; -} - -.tp-caption.finewide_large_white { -color: #FFF; -text-shadow: none; -font-size: 60px; -line-height: 60px; -font-weight: 300; -font-family: "Open Sans", sans-serif; -background-color: rgba(0, 0, 0, 0); -text-decoration: none; -text-transform: uppercase; -letter-spacing: 8px; -border-width: 0px; -border-color: #000; -border-style: none; -} - -.tp-caption.finewide_medium_white { -color: #FFF; -text-shadow: none; -font-size: 34px; -line-height: 34px; -font-weight: 300; -font-family: "Open Sans", sans-serif; -background-color: rgba(0, 0, 0, 0); -text-decoration: none; -text-transform: uppercase; -letter-spacing: 5px; -border-width: 0px; -border-color: #000; -border-style: none; -} - -.tp-caption.huge_red { -position:absolute; -color:rgb(223,75,107); -font-weight:400; -font-size:150px; -line-height:130px; -font-family: 'Oswald', sans-serif; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -background-color:rgb(45,49,54); -padding:0px; -} - -.tp-caption.middle_yellow { -position:absolute; -color:rgb(251,213,114); -font-weight:600; -font-size:50px; -line-height:50px; -font-family: 'Open Sans', sans-serif; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - -.tp-caption.huge_thin_yellow { - position:absolute; -color:rgb(251,213,114); -font-weight:300; -font-size:90px; -line-height:90px; -font-family: 'Open Sans', sans-serif; -margin:0px; -letter-spacing: 20px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - -.tp-caption.big_dark { -position:absolute; -color:#333; -font-weight:700; -font-size:70px; -line-height:70px; -font-family:"Open Sans"; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - -.tp-caption.medium_dark { -position:absolute; -color:#333; -font-weight:300; -font-size:40px; -line-height:40px; -font-family:"Open Sans"; -margin:0px; -letter-spacing: 5px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - - -.tp-caption.medium_grey { -position:absolute; -color:#fff; -text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); -font-weight:700; -font-size:20px; -line-height:20px; -font-family:Arial; -padding:2px 4px; -margin:0px; -border-width:0px; -border-style:none; -background-color:#888; -white-space:nowrap; -} - -.tp-caption.small_text { -position:absolute; -color:#fff; -text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); -font-weight:700; -font-size:14px; -line-height:20px; -font-family:Arial; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - -.tp-caption.medium_text { -position:absolute; -color:#fff; -text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); -font-weight:700; -font-size:20px; -line-height:20px; -font-family:Arial; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - - -.tp-caption.large_bold_white_25 { -font-size:55px; -line-height:65px; -font-weight:700; -font-family:"Open Sans"; -color:#fff; -text-decoration:none; -background-color:transparent; -text-align:center; -text-shadow:#000 0px 5px 10px; -border-width:0px; -border-color:rgb(255, 255, 255); -border-style:none; -} - -.tp-caption.medium_text_shadow { -font-size:25px; -line-height:25px; -font-weight:600; -font-family:"Open Sans"; -color:#fff; -text-decoration:none; -background-color:transparent; -text-align:center; -text-shadow:#000 0px 5px 10px; -border-width:0px; -border-color:rgb(255, 255, 255); -border-style:none; -} - -.tp-caption.large_text { -position:absolute; -color:#fff; -text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); -font-weight:700; -font-size:40px; -line-height:40px; -font-family:Arial; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - -.tp-caption.medium_bold_grey { -font-size:30px; -line-height:30px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(102, 102, 102); -text-decoration:none; -background-color:transparent; -text-shadow:none; -margin:0px; -padding:1px 4px 0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.very_large_text { -position:absolute; -color:#fff; -text-shadow:0px 2px 5px rgba(0, 0, 0, 0.5); -font-weight:700; -font-size:60px; -line-height:60px; -font-family:Arial; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -letter-spacing:-2px; -} - -.tp-caption.very_big_white { -position:absolute; -color:#fff; -text-shadow:none; -font-weight:800; -font-size:60px; -line-height:60px; -font-family:Arial; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -padding:0px 4px; -padding-top:1px; -background-color:#000; -} - -.tp-caption.very_big_black { -position:absolute; -color:#000; -text-shadow:none; -font-weight:700; -font-size:60px; -line-height:60px; -font-family:Arial; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -padding:0px 4px; -padding-top:1px; -background-color:#fff; -} - -.tp-caption.modern_medium_fat { -position:absolute; -color:#000; -text-shadow:none; -font-weight:800; -font-size:24px; -line-height:20px; -font-family:"Open Sans", sans-serif; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - -.tp-caption.modern_medium_fat_white { -position:absolute; -color:#fff; -text-shadow:none; -font-weight:800; -font-size:24px; -line-height:20px; -font-family:"Open Sans", sans-serif; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - -.tp-caption.modern_medium_light { -position:absolute; -color:#000; -text-shadow:none; -font-weight:300; -font-size:24px; -line-height:20px; -font-family:"Open Sans", sans-serif; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - -.tp-caption.modern_big_bluebg { -position:absolute; -color:#fff; -text-shadow:none; -font-weight:800; -font-size:30px; -line-height:36px; -font-family:"Open Sans", sans-serif; -padding:3px 10px; -margin:0px; -border-width:0px; -border-style:none; -background-color:#4e5b6c; -letter-spacing:0; -} - -.tp-caption.modern_big_redbg { -position:absolute; -color:#fff; -text-shadow:none; -font-weight:300; -font-size:30px; -line-height:36px; -font-family:"Open Sans", sans-serif; -padding:3px 10px; -padding-top:1px; -margin:0px; -border-width:0px; -border-style:none; -background-color:#de543e; -letter-spacing:0; -} - -.tp-caption.modern_small_text_dark { -position:absolute; -color:#555; -text-shadow:none; -font-size:14px; -line-height:22px; -font-family:Arial; -margin:0px; -border-width:0px; -border-style:none; -white-space:nowrap; -} - -.tp-caption.boxshadow { --moz-box-shadow:0px 0px 20px rgba(0, 0, 0, 0.5); --webkit-box-shadow:0px 0px 20px rgba(0, 0, 0, 0.5); -box-shadow:0px 0px 20px rgba(0, 0, 0, 0.5); -} - -.tp-caption.black { -color:#000; -text-shadow:none; -} - -.tp-caption.noshadow { -text-shadow:none; -} - -.tp-caption a { -color:#ff7302; -text-shadow:none; --webkit-transition:all 0.2s ease-out; --moz-transition:all 0.2s ease-out; --o-transition:all 0.2s ease-out; --ms-transition:all 0.2s ease-out; -} - -.tp-caption a:hover { -color:#ffa902; -} - -.tp-caption.thinheadline_dark { -position:absolute; -color:rgba(0,0,0,0.85); -text-shadow:none; -font-weight:300; -font-size:30px; -line-height:30px; -font-family:"Open Sans"; -background-color:transparent; -} - -.tp-caption.thintext_dark { -position:absolute; -color:rgba(0,0,0,0.85); -text-shadow:none; -font-weight:300; -font-size:16px; -line-height:26px; -font-family:"Open Sans"; -background-color:transparent; -} - -.tp-caption.medium_bg_red a { - color: #fff; - text-decoration: none; -} - -.tp-caption.medium_bg_red a:hover { - color: #fff; - text-decoration: underline; -} - -.tp-caption.smoothcircle { -font-size:30px; -line-height:75px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:rgb(0, 0, 0); -background-color:rgba(0, 0, 0, 0.498039); -padding:50px 25px; -text-align:center; -border-radius:500px 500px 500px 500px; -border-width:0px; -border-color:rgb(0, 0, 0); -border-style:none; -} - -.tp-caption.largeblackbg { -font-size:50px; -line-height:70px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:rgb(0, 0, 0); -padding:0px 20px 5px; -text-shadow:none; -border-width:0px; -border-color:rgb(255, 255, 255); -border-style:none; -} - -.tp-caption.largepinkbg { -position:absolute; -color:#fff; -text-shadow:none; -font-weight:300; -font-size:50px; -line-height:70px; -font-family:"Open Sans"; -background-color:#db4360; -padding:0px 20px; --webkit-border-radius:0px; --moz-border-radius:0px; -border-radius:0px; -} - -.tp-caption.largewhitebg { -position:absolute; -color:#000; -text-shadow:none; -font-weight:300; -font-size:50px; -line-height:70px; -font-family:"Open Sans"; -background-color:#fff; -padding:0px 20px; --webkit-border-radius:0px; --moz-border-radius:0px; -border-radius:0px; -} - -.tp-caption.largegreenbg { -position:absolute; -color:#fff; -text-shadow:none; -font-weight:300; -font-size:50px; -line-height:70px; -font-family:"Open Sans"; -background-color:#67ae73; -padding:0px 20px; --webkit-border-radius:0px; --moz-border-radius:0px; -border-radius:0px; -} - -.tp-caption.excerpt { -font-size:36px; -line-height:36px; -font-weight:700; -font-family:Arial; -color:#ffffff; -text-decoration:none; -background-color:rgba(0, 0, 0, 1); -text-shadow:none; -margin:0px; -letter-spacing:-1.5px; -padding:1px 4px 0px 4px; -width:150px; -white-space:normal !important; -height:auto; -border-width:0px; -border-color:rgb(255, 255, 255); -border-style:none; -} - -.tp-caption.large_bold_grey { -font-size:60px; -line-height:60px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(102, 102, 102); -text-decoration:none; -background-color:transparent; -text-shadow:none; -margin:0px; -padding:1px 4px 0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_thin_grey { -font-size:34px; -line-height:30px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(102, 102, 102); -text-decoration:none; -background-color:transparent; -padding:1px 4px 0px; -text-shadow:none; -margin:0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.small_thin_grey { -font-size:18px; -line-height:26px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(117, 117, 117); -text-decoration:none; -background-color:transparent; -padding:1px 4px 0px; -text-shadow:none; -margin:0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.lightgrey_divider { -text-decoration:none; -background-color:rgba(235, 235, 235, 1); -width:370px; -height:3px; -background-position:initial initial; -background-repeat:initial initial; -border-width:0px; -border-color:rgb(34, 34, 34); -border-style:none; -} - -.tp-caption.large_bold_darkblue { -font-size:58px; -line-height:60px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(52, 73, 94); -text-decoration:none; -background-color:transparent; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_bg_darkblue { -font-size:20px; -line-height:20px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:rgb(52, 73, 94); -padding:10px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_bold_red { -font-size:24px; -line-height:30px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(227, 58, 12); -text-decoration:none; -background-color:transparent; -padding:0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_light_red { -font-size:21px; -line-height:26px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(227, 58, 12); -text-decoration:none; -background-color:transparent; -padding:0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_bg_red { -font-size:20px; -line-height:20px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:rgb(227, 58, 12); -padding:10px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_bold_orange { -font-size:24px; -line-height:30px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(243, 156, 18); -text-decoration:none; -background-color:transparent; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_bg_orange { -font-size:20px; -line-height:20px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:rgb(243, 156, 18); -padding:10px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.grassfloor { -text-decoration:none; -background-color:rgba(160, 179, 151, 1); -width:4000px; -height:150px; -border-width:0px; -border-color:rgb(34, 34, 34); -border-style:none; -} - -.tp-caption.large_bold_white { -font-size:58px; -line-height:60px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:transparent; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_light_white { -font-size:30px; -line-height:36px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:transparent; -padding:0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.mediumlarge_light_white { -font-size:34px; -line-height:40px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:transparent; -padding:0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.mediumlarge_light_white_center { -font-size:34px; -line-height:40px; -font-weight:300; -font-family:"Open Sans"; -color:#ffffff; -text-decoration:none; -background-color:transparent; -padding:0px 0px 0px 0px; -text-align:center; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_bg_asbestos { -font-size:20px; -line-height:20px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:rgb(127, 140, 141); -padding:10px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.medium_light_black { -font-size:30px; -line-height:36px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(0, 0, 0); -text-decoration:none; -background-color:transparent; -padding:0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.large_bold_black { -font-size:58px; -line-height:60px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(0, 0, 0); -text-decoration:none; -background-color:transparent; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.mediumlarge_light_darkblue { -font-size:34px; -line-height:40px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(52, 73, 94); -text-decoration:none; -background-color:transparent; -padding:0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.small_light_white { -font-size:17px; -line-height:28px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:transparent; -padding:0px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.roundedimage { -border-width:0px; -border-color:rgb(34, 34, 34); -border-style:none; -} - -.tp-caption.large_bg_black { -font-size:40px; -line-height:40px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:rgb(0, 0, 0); -padding:10px 20px 15px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - -.tp-caption.mediumwhitebg { -font-size:30px; -line-height:30px; -font-weight:300; -font-family:"Open Sans"; -color:rgb(0, 0, 0); -text-decoration:none; -background-color:rgb(255, 255, 255); -padding:5px 15px 10px; -text-shadow:none; -border-width:0px; -border-color:rgb(0, 0, 0); -border-style:none; -} - -.tp-caption.medium_bg_orange_new1 { -font-size:20px; -line-height:20px; -font-weight:800; -font-family:"Open Sans"; -color:rgb(255, 255, 255); -text-decoration:none; -background-color:rgb(243, 156, 18); -padding:10px; -border-width:0px; -border-color:rgb(255, 214, 88); -border-style:none; -} - - - -.tp-caption.boxshadow{ - -moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); - -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); - box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); - } - -.tp-caption.black{ - color: #000; - text-shadow: none; - font-weight: 300; - font-size: 19px; - line-height: 19px; - font-family: 'Open Sans', sans; - } - -.tp-caption.noshadow { - text-shadow: none; - } - - -.tp_inner_padding { box-sizing:border-box; - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - max-height:none !important; } - - -/*.tp-caption { transform:none !important}*/ - - -/********************************* - - SPECIAL TP CAPTIONS - -**********************************/ -.tp-caption .frontcorner { - width: 0; - height: 0; - border-left: 40px solid transparent; - border-right: 0px solid transparent; - border-top: 40px solid #00A8FF; - position: absolute;left:-40px;top:0px; - } - -.tp-caption .backcorner { - width: 0; - height: 0; - border-left: 0px solid transparent; - border-right: 40px solid transparent; - border-bottom: 40px solid #00A8FF; - position: absolute;right:0px;top:0px; - } - -.tp-caption .frontcornertop { - width: 0; - height: 0; - border-left: 40px solid transparent; - border-right: 0px solid transparent; - border-bottom: 40px solid #00A8FF; - position: absolute;left:-40px;top:0px; - } - -.tp-caption .backcornertop { - width: 0; - height: 0; - border-left: 0px solid transparent; - border-right: 40px solid transparent; - border-top: 40px solid #00A8FF; - position: absolute;right:0px;top:0px; - } - -/****************************** - - BUTTONS - -*******************************/ - -.tp-simpleresponsive .button { padding:6px 13px 5px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; height:30px; - cursor:pointer; - color:#fff !important; text-shadow:0px 1px 1px rgba(0, 0, 0, 0.6) !important; font-size:15px; line-height:45px !important; - background:url(../images/gradient/g30.png) repeat-x top; font-family: arial, sans-serif; font-weight: bold; letter-spacing: -1px; - } - -.tp-simpleresponsive .button.big { color:#fff; text-shadow:0px 1px 1px rgba(0, 0, 0, 0.6); font-weight:bold; padding:9px 20px; font-size:19px; line-height:57px !important; background:url(../images/gradient/g40.png) repeat-x top;} - - -.tp-simpleresponsive .purchase:hover, -.tp-simpleresponsive .button:hover, -.tp-simpleresponsive .button.big:hover { background-position:bottom, 15px 11px;} - - - - @media only screen and (min-width: 768px) and (max-width: 959px) { - - } - - - - @media only screen and (min-width: 480px) and (max-width: 767px) { - .tp-simpleresponsive .button { padding:4px 8px 3px; line-height:25px !important; font-size:11px !important;font-weight:normal; } - .tp-simpleresponsive a.button { -webkit-transition: none; -moz-transition: none; -o-transition: none; -ms-transition: none; } - - - } - - @media only screen and (min-width: 0px) and (max-width: 479px) { - .tp-simpleresponsive .button { padding:2px 5px 2px; line-height:20px !important; font-size:10px !important;} - .tp-simpleresponsive a.button { -webkit-transition: none; -moz-transition: none; -o-transition: none; -ms-transition: none; } - } - - - - - -/* BUTTON COLORS */ - - - -.tp-simpleresponsive .button.green, .tp-simpleresponsive .button:hover.green, -.tp-simpleresponsive .purchase.green, .tp-simpleresponsive .purchase:hover.green { background-color:#21a117; -webkit-box-shadow: 0px 3px 0px 0px #104d0b; -moz-box-shadow: 0px 3px 0px 0px #104d0b; box-shadow: 0px 3px 0px 0px #104d0b; } - - -.tp-simpleresponsive .button.blue, .tp-simpleresponsive .button:hover.blue, -.tp-simpleresponsive .purchase.blue, .tp-simpleresponsive .purchase:hover.blue { background-color:#1d78cb; -webkit-box-shadow: 0px 3px 0px 0px #0f3e68; -moz-box-shadow: 0px 3px 0px 0px #0f3e68; box-shadow: 0px 3px 0px 0px #0f3e68;} - - -.tp-simpleresponsive .button.red, .tp-simpleresponsive .button:hover.red, -.tp-simpleresponsive .purchase.red, .tp-simpleresponsive .purchase:hover.red { background-color:#cb1d1d; -webkit-box-shadow: 0px 3px 0px 0px #7c1212; -moz-box-shadow: 0px 3px 0px 0px #7c1212; box-shadow: 0px 3px 0px 0px #7c1212;} - -.tp-simpleresponsive .button.orange, .tp-simpleresponsive .button:hover.orange, -.tp-simpleresponsive .purchase.orange, .tp-simpleresponsive .purchase:hover.orange { background-color:#ff7700; -webkit-box-shadow: 0px 3px 0px 0px #a34c00; -moz-box-shadow: 0px 3px 0px 0px #a34c00; box-shadow: 0px 3px 0px 0px #a34c00;} - -.tp-simpleresponsive .button.darkgrey, .tp-simpleresponsive .button.grey, -.tp-simpleresponsive .button:hover.darkgrey, .tp-simpleresponsive .button:hover.grey, -.tp-simpleresponsive .purchase.darkgrey, .tp-simpleresponsive .purchase:hover.darkgrey { background-color:#555; -webkit-box-shadow: 0px 3px 0px 0px #222; -moz-box-shadow: 0px 3px 0px 0px #222; box-shadow: 0px 3px 0px 0px #222;} - -.tp-simpleresponsive .button.lightgrey, .tp-simpleresponsive .button:hover.lightgrey, -.tp-simpleresponsive .purchase.lightgrey, .tp-simpleresponsive .purchase:hover.lightgrey { background-color:#888; -webkit-box-shadow: 0px 3px 0px 0px #555; -moz-box-shadow: 0px 3px 0px 0px #555; box-shadow: 0px 3px 0px 0px #555;} - - - -/**************************************************************** - - - SET THE ANIMATION EVEN MORE SMOOTHER ON ANDROID - - -******************************************************************/ - -/*.tp-simpleresponsive { -webkit-perspective: 1500px; - -moz-perspective: 1500px; - -o-perspective: 1500px; - -ms-perspective: 1500px; - perspective: 1500px; - }*/ - - - - -/********************************************** - - FULLSCREEN AND FULLWIDHT CONTAINERS - -**********************************************/ - -.fullscreen-container { - width:100%; - position:relative; - padding:0; -} - - - -.fullwidthbanner-container{ - width:100%; - position:relative; - padding:0; - overflow:hidden; -} - -.fullwidthbanner-container .fullwidthbanner{ - width:100%; - position:relative; -} - - - -/************************************************ - - SOME CAPTION MODIFICATION AT START - -*************************************************/ -.tp-simpleresponsive .caption, -.tp-simpleresponsive .tp-caption { - /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; -moz-opacity: 0; -khtml-opacity: 0; opacity: 0; */ - position:absolute;visibility: hidden; - -webkit-font-smoothing: antialiased !important; -} - - -.tp-simpleresponsive img { max-width:none;} - - - -/****************************** - - IE8 HACKS - -*******************************/ -.noFilterClass { - filter:none !important; -} - - -/****************************** - - SHADOWS - -******************************/ -.tp-bannershadow { - position:absolute; - - margin-left:auto; - margin-right:auto; - -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; - } - -.tp-bannershadow.tp-shadow1 { background:url(../assets/shadow1.png) no-repeat; background-size:100% 100%; width:890px; height:60px; bottom:-60px;} -.tp-bannershadow.tp-shadow2 { background:url(../assets/shadow2.png) no-repeat; background-size:100% 100%; width:890px; height:60px;bottom:-60px;} -.tp-bannershadow.tp-shadow3 { background:url(../assets/shadow3.png) no-repeat; background-size:100% 100%; width:890px; height:60px;bottom:-60px;} - - -/******************************** - - FULLSCREEN VIDEO - -*********************************/ -.caption.fullscreenvideo { left:0px; top:0px; position:absolute;width:100%;height:100%;} -.caption.fullscreenvideo iframe, -.caption.fullscreenvideo video { width:100% !important; height:100% !important; display: none} - -.tp-caption.fullscreenvideo { left:0px; top:0px; position:absolute;width:100%;height:100%;} - - -.tp-caption.fullscreenvideo iframe, -.tp-caption.fullscreenvideo iframe video { width:100% !important; height:100% !important; display: none;} - - -.fullcoveredvideo video, -.fullscreenvideo video { background: #000;} - -.fullcoveredvideo .tp-poster { background-position: center center;background-size: cover;width:100%;height:100%;top:0px;left:0px;} - -.html5vid.videoisplaying .tp-poster { display: none} - -.tp-video-play-button { background:#000; - background:rgba(0,0,0,0.3); - padding:5px; - border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px; - position: absolute; - top: 50%; - left: 50%; - font-size: 40px; - color: #FFF; - z-index: 3; - margin-top: -27px; - margin-left: -28px; - text-align: center; - cursor: pointer; - } - -.html5vid .tp-revstop { width:6px;height:20px; border-left:5px solid #fff; border-right:5px solid #fff; position: relative;margin:10px 20px;} -.html5vid .tp-revstop { display:none;} -.html5vid.videoisplaying .revicon-right-dir { display:none} -.html5vid.videoisplaying .tp-revstop { display:block} - -.html5vid.videoisplaying .tp-video-play-button { display:none} -.html5vid:hover .tp-video-play-button { display:block} - -.fullcoveredvideo .tp-video-play-button { display:none !important} - - -/******************************** - - FULLSCREEN VIDEO ENDS - -*********************************/ - - -/******************************** - - DOTTED OVERLAYS - -*********************************/ -.tp-dottedoverlay { background-repeat:repeat;width:100%;height:100%;position:absolute;top:0px;left:0px;z-index:1;} -.tp-dottedoverlay.twoxtwo { background:url(../assets/gridtile.png)} -.tp-dottedoverlay.twoxtwowhite { background:url(../assets/gridtile_white.png)} -.tp-dottedoverlay.threexthree { background:url(../assets/gridtile_3x3.png)} -.tp-dottedoverlay.threexthreewhite { background:url(../assets/gridtile_3x3_white.png)} -/******************************** - - DOTTED OVERLAYS ENDS - -*********************************/ - - -/************************ - - NAVIGATION - -*************************/ - -/** BULLETS **/ - -.tpclear { clear:both;} - - -.tp-bullets { z-index:1000; position:absolute; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - -moz-opacity: 1; - -khtml-opacity: 1; - opacity: 1; - -webkit-transition: opacity 0.2s ease-out; -moz-transition: opacity 0.2s ease-out; -o-transition: opacity 0.2s ease-out; -ms-transition: opacity 0.2s ease-out;-webkit-transform: translateZ(5px); - } -.tp-bullets.hidebullets { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - -moz-opacity: 0; - -khtml-opacity: 0; - opacity: 0; - } - - -.tp-bullets.simplebullets.navbar { border:1px solid #666; border-bottom:1px solid #444; background:url(../assets/boxed_bgtile.png); height:40px; padding:0px 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px ;} - -.tp-bullets.simplebullets.navbar-old { background:url(../assets/navigdots_bgtile.png); height:35px; padding:0px 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px ;} - - -.tp-bullets.simplebullets.round .bullet { cursor:pointer; position:relative; background:url(../assets/bullet.png) no-Repeat top left; width:20px; height:20px; margin-right:0px; float:left; margin-top:0px; margin-left:3px;} -.tp-bullets.simplebullets.round .bullet.last { margin-right:3px;} - -.tp-bullets.simplebullets.round-old .bullet { cursor:pointer; position:relative; background:url(../assets/bullets.png) no-Repeat bottom left; width:23px; height:23px; margin-right:0px; float:left; margin-top:0px;} -.tp-bullets.simplebullets.round-old .bullet.last { margin-right:0px;} - - -/** SQUARE BULLETS **/ -.tp-bullets.simplebullets.square .bullet { cursor:pointer; position:relative; background:url(../assets/bullets2.png) no-Repeat bottom left; width:19px; height:19px; margin-right:0px; float:left; margin-top:0px;} -.tp-bullets.simplebullets.square .bullet.last { margin-right:0px;} - - -/** SQUARE BULLETS **/ -.tp-bullets.simplebullets.square-old .bullet { cursor:pointer; position:relative; background:url(../assets/bullets2.png) no-Repeat bottom left; width:19px; height:19px; margin-right:0px; float:left; margin-top:0px;} -.tp-bullets.simplebullets.square-old .bullet.last { margin-right:0px;} - - -/** navbar NAVIGATION VERSION **/ -.tp-bullets.simplebullets.navbar .bullet { cursor:pointer; position:relative; background:url(../assets/bullet_boxed.png) no-Repeat top left; width:18px; height:19px; margin-right:5px; float:left; margin-top:0px;} - -.tp-bullets.simplebullets.navbar .bullet.first { margin-left:0px !important;} -.tp-bullets.simplebullets.navbar .bullet.last { margin-right:0px !important;} - - - -/** navbar NAVIGATION VERSION **/ -.tp-bullets.simplebullets.navbar-old .bullet { cursor:pointer; position:relative; background:url(../assets/navigdots.png) no-Repeat bottom left; width:15px; height:15px; margin-left:5px !important; margin-right:5px !important;float:left; margin-top:10px;} -.tp-bullets.simplebullets.navbar-old .bullet.first { margin-left:0px !important;} -.tp-bullets.simplebullets.navbar-old .bullet.last { margin-right:0px !important;} - - -.tp-bullets.simplebullets .bullet:hover, -.tp-bullets.simplebullets .bullet.selected { background-position:top left; } - -.tp-bullets.simplebullets.round .bullet:hover, -.tp-bullets.simplebullets.round .bullet.selected, -.tp-bullets.simplebullets.navbar .bullet:hover, -.tp-bullets.simplebullets.navbar .bullet.selected { background-position:bottom left; } - - - -/************************************* - - TP ARROWS - -**************************************/ -.tparrows { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - -moz-opacity: 1; - -khtml-opacity: 1; - opacity: 1; - -webkit-transition: opacity 0.2s ease-out; -moz-transition: opacity 0.2s ease-out; -o-transition: opacity 0.2s ease-out; -ms-transition: opacity 0.2s ease-out; - -webkit-transform: translateZ(5000px); - -webkit-transform-style: flat; - -webkit-backface-visibility: hidden; - z-index:600; - position: relative; - - } -.tparrows.hidearrows { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - -moz-opacity: 0; - -khtml-opacity: 0; - opacity: 0; - } -.tp-leftarrow { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_left.png) no-Repeat top left; width:40px; height:40px; } -.tp-rightarrow { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_right.png) no-Repeat top left; width:40px; height:40px; } - - -.tp-leftarrow.round { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_left.png) no-Repeat top left; width:19px; height:14px; margin-right:0px; float:left; margin-top:0px; } -.tp-rightarrow.round { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_right.png) no-Repeat top left; width:19px; height:14px; margin-right:0px; float:left; margin-top:0px;} - - -.tp-leftarrow.round-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_left.png) no-Repeat top left; width:26px; height:26px; margin-right:0px; float:left; margin-top:0px; } -.tp-rightarrow.round-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_right.png) no-Repeat top left; width:26px; height:26px; margin-right:0px; float:left; margin-top:0px;} - - -.tp-leftarrow.navbar { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_left_boxed.png) no-Repeat top left; width:20px; height:15px; float:left; margin-right:6px; margin-top:12px;} -.tp-rightarrow.navbar { z-index:100;cursor:pointer; position:relative; background:url(../assets/small_right_boxed.png) no-Repeat top left; width:20px; height:15px; float:left; margin-left:6px; margin-top:12px;} - - -.tp-leftarrow.navbar-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrowleft.png) no-Repeat top left; width:9px; height:16px; float:left; margin-right:6px; margin-top:10px;} -.tp-rightarrow.navbar-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrowright.png) no-Repeat top left; width:9px; height:16px; float:left; margin-left:6px; margin-top:10px;} - -.tp-leftarrow.navbar-old.thumbswitharrow { margin-right:10px; } -.tp-rightarrow.navbar-old.thumbswitharrow { margin-left:0px; } - -.tp-leftarrow.square { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_left2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-right:0px; margin-top:0px;} -.tp-rightarrow.square { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_right2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-left:0px; margin-top:0px;} - - -.tp-leftarrow.square-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_left2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-right:0px; margin-top:0px;} -.tp-rightarrow.square-old { z-index:100;cursor:pointer; position:relative; background:url(../assets/arrow_right2.png) no-Repeat top left; width:12px; height:17px; float:left; margin-left:0px; margin-top:0px;} - - -.tp-leftarrow.default { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_left.png) no-Repeat 0 0; width:40px; height:40px; - - } -.tp-rightarrow.default { z-index:100;cursor:pointer; position:relative; background:url(../assets/large_right.png) no-Repeat 0 0; width:40px; height:40px; - - } - - - - -.tp-leftarrow:hover, -.tp-rightarrow:hover { background-position:bottom left; } - - - - - - -/**************************************************************************************************** - - TP THUMBS - -***************************************************************************************************** - - - tp-thumbs & tp-mask Width is the width of the basic Thumb Container (500px basic settings) - - - .bullet width & height is the dimension of a simple Thumbnail (basic 100px x 50px) - - *****************************************************************************************************/ - - -.tp-bullets.tp-thumbs { z-index:1000; position:absolute; padding:3px;background-color:#fff; - width:500px;height:50px; /* THE DIMENSIONS OF THE THUMB CONTAINER */ - margin-top:-50px; - } - - -.fullwidthbanner-container .tp-thumbs { padding:3px;} - -.tp-bullets.tp-thumbs .tp-mask { width:500px; height:50px; /* THE DIMENSIONS OF THE THUMB CONTAINER */ - overflow:hidden; position:relative;} - - -.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer { width:5000px; position:absolute;} - -.tp-bullets.tp-thumbs .bullet { width:100px; height:50px; /* THE DIMENSION OF A SINGLE THUMB */ - cursor:pointer; overflow:hidden;background:none;margin:0;float:left; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; - /*filter: alpha(opacity=50); */ - -moz-opacity: 0.5; - -khtml-opacity: 0.5; - opacity: 0.5; - - -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; - } - - -.tp-bullets.tp-thumbs .bullet:hover, -.tp-bullets.tp-thumbs .bullet.selected { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - - -moz-opacity: 1; - -khtml-opacity: 1; - opacity: 1; - } -.tp-thumbs img { width:100%; } - - -/************************************ - - TP BANNER TIMER - -*************************************/ -.tp-bannertimer { width:100%; height:10px; background:url(../assets/timer.png);position:absolute; z-index:200;top:0px;} -.tp-bannertimer.tp-bottom { bottom:0px;height:5px; top:auto;} - - - - -/*************************************** - - RESPONSIVE SETTINGS - -****************************************/ - - - - - @media only screen and (min-width: 0px) and (max-width: 479px) { - .responsive .tp-bullets { display:none} - .responsive .tparrows { display:none;} - } - - - - - -/********************************************* - - - BASIC SETTINGS FOR THE BANNER - - -***********************************************/ - - .tp-simpleresponsive img { - -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; -} - - - -.tp-simpleresponsive a{ text-decoration:none;} - -.tp-simpleresponsive ul { - list-style:none; - padding:0; - margin:0; -} - -.tp-simpleresponsive >ul >li{ - list-stye:none; - position:absolute; - visibility:hidden; -} -/* CAPTION SLIDELINK **/ -.caption.slidelink a div, -.tp-caption.slidelink a div { width:3000px; height:1500px; background:url(../assets/coloredbg.png) repeat;} - -/****************************** - - LOADER FORMS - -********************************/ - -.tp-loader { - top:50%; left:50%; - z-index:10000; - position:absolute; - - - } - -.tp-loader.spinner0 { - width: 40px; - height: 40px; - background:url(../assets/loader.gif) no-repeat center center; - background-color: #fff; - box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - margin-top:-20px; - margin-left:-20px; - -webkit-animation: tp-rotateplane 1.2s infinite ease-in-out; - animation: tp-rotateplane 1.2s infinite ease-in-out; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; -} - - -.tp-loader.spinner1 { - width: 40px; - height: 40px; - background-color: #fff; - box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - margin-top:-20px; - margin-left:-20px; - -webkit-animation: tp-rotateplane 1.2s infinite ease-in-out; - animation: tp-rotateplane 1.2s infinite ease-in-out; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; -} - - - -.tp-loader.spinner5 { background:url(../assets/loader.gif) no-repeat 10px 10px; - background-color:#fff; - margin:-22px -22px; - width:44px;height:44px; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - } - - -@-webkit-keyframes tp-rotateplane { - 0% { -webkit-transform: perspective(120px) } - 50% { -webkit-transform: perspective(120px) rotateY(180deg) } - 100% { -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg) } -} - -@keyframes tp-rotateplane { - 0% { - transform: perspective(120px) rotateX(0deg) rotateY(0deg); - -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) - } 50% { - transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); - -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) - } 100% { - transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); - -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); - } -} - - -.tp-loader.spinner2 { - width: 40px; - height: 40px; - margin-top:-20px;margin-left:-20px; - background-color: #ff0000; - box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - border-radius: 100%; - -webkit-animation: tp-scaleout 1.0s infinite ease-in-out; - animation: tp-scaleout 1.0s infinite ease-in-out; -} - -@-webkit-keyframes tp-scaleout { - 0% { -webkit-transform: scale(0.0) } - 100% { - -webkit-transform: scale(1.0); - opacity: 0; - } -} - -@keyframes tp-scaleout { - 0% { - transform: scale(0.0); - -webkit-transform: scale(0.0); - } 100% { - transform: scale(1.0); - -webkit-transform: scale(1.0); - opacity: 0; - } -} - - - - -.tp-loader.spinner3 { - margin: -9px 0px 0px -35px; - width: 70px; - text-align: center; - -} - -.tp-loader.spinner3 .bounce1, -.tp-loader.spinner3 .bounce2, -.tp-loader.spinner3 .bounce3 { - width: 18px; - height: 18px; - background-color: #fff; - box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - border-radius: 100%; - display: inline-block; - -webkit-animation: tp-bouncedelay 1.4s infinite ease-in-out; - animation: tp-bouncedelay 1.4s infinite ease-in-out; - /* Prevent first frame from flickering when animation starts */ - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} - -.tp-loader.spinner3 .bounce1 { - -webkit-animation-delay: -0.32s; - animation-delay: -0.32s; -} - -.tp-loader.spinner3 .bounce2 { - -webkit-animation-delay: -0.16s; - animation-delay: -0.16s; -} - -@-webkit-keyframes tp-bouncedelay { - 0%, 80%, 100% { -webkit-transform: scale(0.0) } - 40% { -webkit-transform: scale(1.0) } -} - -@keyframes tp-bouncedelay { - 0%, 80%, 100% { - transform: scale(0.0); - -webkit-transform: scale(0.0); - } 40% { - transform: scale(1.0); - -webkit-transform: scale(1.0); - } -} - - - - -.tp-loader.spinner4 { - margin: -20px 0px 0px -20px; - width: 40px; - height: 40px; - text-align: center; - -webkit-animation: tp-rotate 2.0s infinite linear; - animation: tp-rotate 2.0s infinite linear; -} - -.tp-loader.spinner4 .dot1, -.tp-loader.spinner4 .dot2 { - width: 60%; - height: 60%; - display: inline-block; - position: absolute; - top: 0; - background-color: #fff; - border-radius: 100%; - -webkit-animation: tp-bounce 2.0s infinite ease-in-out; - animation: tp-bounce 2.0s infinite ease-in-out; - box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); -} - -.tp-loader.spinner4 .dot2 { - top: auto; - bottom: 0px; - -webkit-animation-delay: -1.0s; - animation-delay: -1.0s; -} - -@-webkit-keyframes tp-rotate { 100% { -webkit-transform: rotate(360deg) }} -@keyframes tp-rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }} - -@-webkit-keyframes tp-bounce { - 0%, 100% { -webkit-transform: scale(0.0) } - 50% { -webkit-transform: scale(1.0) } -} - -@keyframes tp-bounce { - 0%, 100% { - transform: scale(0.0); - -webkit-transform: scale(0.0); - } 50% { - transform: scale(1.0); - -webkit-transform: scale(1.0); - } -} - - - -.tp-transparentimg { content:"url(../assets/transparent.png)"} -.tp-3d { -webkit-transform-style: preserve-3d; - -webkit-transform-origin: 50% 50%; - } - - - -.tp-caption img { -background: transparent; --ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; -filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); -zoom: 1; -} - - -@font-face { - font-family: 'revicons'; - src: url('../font/revicons.eot?5510888'); - src: url('../font/revicons.eot?5510888#iefix') format('embedded-opentype'), - url('../font/revicons.woff?5510888') format('woff'), - url('../font/revicons.ttf?5510888') format('truetype'), - url('../font/revicons.svg?5510888#revicons') format('svg'); - font-weight: normal; - font-style: normal; -} -/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ -/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ -/* -@media screen and (-webkit-min-device-pixel-ratio:0) { - @font-face { - font-family: 'revicons'; - src: url('../font/revicons.svg?5510888#revicons') format('svg'); - } -} -*/ - - [class^="revicon-"]:before, [class*=" revicon-"]:before { - font-family: "revicons"; - font-style: normal; - font-weight: normal; - speak: none; - - display: inline-block; - text-decoration: inherit; - width: 1em; - margin-right: .2em; - text-align: center; - /* opacity: .8; */ - - /* For safety - reset parent styles, that can break glyph codes*/ - font-variant: normal; - text-transform: none; - - /* fix buttons height, for twitter bootstrap */ - line-height: 1em; - - /* Animation center compensation - margins should be symmetric */ - /* remove if not needed */ - margin-left: .2em; - - /* you can be more comfortable with increased icons size */ - /* font-size: 120%; */ - - /* Uncomment for 3D effect */ - /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ -} - -.revicon-search-1:before { content: '\e802'; } /* '' */ -.revicon-pencil-1:before { content: '\e831'; } /* '' */ -.revicon-picture-1:before { content: '\e803'; } /* '' */ -.revicon-cancel:before { content: '\e80a'; } /* '' */ -.revicon-info-circled:before { content: '\e80f'; } /* '' */ -.revicon-trash:before { content: '\e801'; } /* '' */ -.revicon-left-dir:before { content: '\e817'; } /* '' */ -.revicon-right-dir:before { content: '\e818'; } /* '' */ -.revicon-down-open:before { content: '\e83b'; } /* '' */ -.revicon-left-open:before { content: '\e819'; } /* '' */ -.revicon-right-open:before { content: '\e81a'; } /* '' */ -.revicon-angle-left:before { content: '\e820'; } /* '' */ -.revicon-angle-right:before { content: '\e81d'; } /* '' */ -.revicon-left-big:before { content: '\e81f'; } /* '' */ -.revicon-right-big:before { content: '\e81e'; } /* '' */ -.revicon-magic:before { content: '\e807'; } /* '' */ -.revicon-picture:before { content: '\e800'; } /* '' */ -.revicon-export:before { content: '\e80b'; } /* '' */ -.revicon-cog:before { content: '\e832'; } /* '' */ -.revicon-login:before { content: '\e833'; } /* '' */ -.revicon-logout:before { content: '\e834'; } /* '' */ -.revicon-video:before { content: '\e805'; } /* '' */ -.revicon-arrow-combo:before { content: '\e827'; } /* '' */ -.revicon-left-open-1:before { content: '\e82a'; } /* '' */ -.revicon-right-open-1:before { content: '\e82b'; } /* '' */ -.revicon-left-open-mini:before { content: '\e822'; } /* '' */ -.revicon-right-open-mini:before { content: '\e823'; } /* '' */ -.revicon-left-open-big:before { content: '\e824'; } /* '' */ -.revicon-right-open-big:before { content: '\e825'; } /* '' */ -.revicon-left:before { content: '\e836'; } /* '' */ -.revicon-right:before { content: '\e826'; } /* '' */ -.revicon-ccw:before { content: '\e808'; } /* '' */ -.revicon-arrows-ccw:before { content: '\e806'; } /* '' */ -.revicon-palette:before { content: '\e829'; } /* '' */ -.revicon-list-add:before { content: '\e80c'; } /* '' */ -.revicon-doc:before { content: '\e809'; } /* '' */ -.revicon-left-open-outline:before { content: '\e82e'; } /* '' */ -.revicon-left-open-2:before { content: '\e82c'; } /* '' */ -.revicon-right-open-outline:before { content: '\e82f'; } /* '' */ -.revicon-right-open-2:before { content: '\e82d'; } /* '' */ -.revicon-equalizer:before { content: '\e83a'; } /* '' */ -.revicon-layers-alt:before { content: '\e804'; } /* '' */ -.revicon-popup:before { content: '\e828'; } /* '' */ \ No newline at end of file diff --git a/examples&sources/rs-plugin/font/revicons.eot b/examples&sources/rs-plugin/font/revicons.eot deleted file mode 100644 index 955dc3f..0000000 Binary files a/examples&sources/rs-plugin/font/revicons.eot and /dev/null differ diff --git a/examples&sources/rs-plugin/font/revicons.svg b/examples&sources/rs-plugin/font/revicons.svg deleted file mode 100644 index 2ec696b..0000000 --- a/examples&sources/rs-plugin/font/revicons.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - -Copyright (C) 2013 by original authors @ fontello.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/examples&sources/rs-plugin/font/revicons.ttf b/examples&sources/rs-plugin/font/revicons.ttf deleted file mode 100644 index 4e8df98..0000000 Binary files a/examples&sources/rs-plugin/font/revicons.ttf and /dev/null differ diff --git a/examples&sources/rs-plugin/font/revicons.woff b/examples&sources/rs-plugin/font/revicons.woff deleted file mode 100644 index 6d3ea4d..0000000 Binary files a/examples&sources/rs-plugin/font/revicons.woff and /dev/null differ diff --git a/examples&sources/rs-plugin/images/decor_inside.png b/examples&sources/rs-plugin/images/decor_inside.png deleted file mode 100644 index 02f3321..0000000 Binary files a/examples&sources/rs-plugin/images/decor_inside.png and /dev/null differ diff --git a/examples&sources/rs-plugin/images/decor_inside_white.png b/examples&sources/rs-plugin/images/decor_inside_white.png deleted file mode 100644 index a3679f1..0000000 Binary files a/examples&sources/rs-plugin/images/decor_inside_white.png and /dev/null differ diff --git a/examples&sources/rs-plugin/images/decor_testimonial.png b/examples&sources/rs-plugin/images/decor_testimonial.png deleted file mode 100644 index 949e564..0000000 Binary files a/examples&sources/rs-plugin/images/decor_testimonial.png and /dev/null differ diff --git a/examples&sources/rs-plugin/images/gradient/g30.png b/examples&sources/rs-plugin/images/gradient/g30.png deleted file mode 100644 index 48595b7..0000000 Binary files a/examples&sources/rs-plugin/images/gradient/g30.png and /dev/null differ diff --git a/examples&sources/rs-plugin/images/gradient/g40.png b/examples&sources/rs-plugin/images/gradient/g40.png deleted file mode 100644 index d82af00..0000000 Binary files a/examples&sources/rs-plugin/images/gradient/g40.png and /dev/null differ diff --git a/examples&sources/rs-plugin/js/jquery.themepunch.plugins.min.js b/examples&sources/rs-plugin/js/jquery.themepunch.plugins.min.js deleted file mode 100644 index 18ce172..0000000 --- a/examples&sources/rs-plugin/js/jquery.themepunch.plugins.min.js +++ /dev/null @@ -1,89 +0,0 @@ - - -/******************************************** - - THEMEPUNCH TOOLS Ver. 1.0 - - Last Update of Tools 22.01.2013 -*********************************************/ - -/*! Hammer.JS - v1.0.5 - 2013-04-07 - * http://eightmedia.github.com/hammer.js - * - * Copyright (c) 2013 Jorik Tangelder ; - * Licensed under the MIT license */ - -(function(t,e){"use strict";function n(){if(!i.READY){i.event.determineEventTypes();for(var t in i.gestures)i.gestures.hasOwnProperty(t)&&i.detection.register(i.gestures[t]);i.event.onTouch(i.DOCUMENT,i.EVENT_MOVE,i.detection.detect),i.event.onTouch(i.DOCUMENT,i.EVENT_END,i.detection.detect),i.READY=!0}}var i=function(t,e){return new i.Instance(t,e||{})};i.defaults={stop_browser_behavior:{userSelect:"none",touchAction:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},i.HAS_POINTEREVENTS=navigator.pointerEnabled||navigator.msPointerEnabled,i.HAS_TOUCHEVENTS="ontouchstart"in t,i.MOBILE_REGEX=/mobile|tablet|ip(ad|hone|od)|android/i,i.NO_MOUSEEVENTS=i.HAS_TOUCHEVENTS&&navigator.userAgent.match(i.MOBILE_REGEX),i.EVENT_TYPES={},i.DIRECTION_DOWN="down",i.DIRECTION_LEFT="left",i.DIRECTION_UP="up",i.DIRECTION_RIGHT="right",i.POINTER_MOUSE="mouse",i.POINTER_TOUCH="touch",i.POINTER_PEN="pen",i.EVENT_START="start",i.EVENT_MOVE="move",i.EVENT_END="end",i.DOCUMENT=document,i.plugins={},i.READY=!1,i.Instance=function(t,e){var r=this;return n(),this.element=t,this.enabled=!0,this.options=i.utils.extend(i.utils.extend({},i.defaults),e||{}),this.options.stop_browser_behavior&&i.utils.stopDefaultBrowserBehavior(this.element,this.options.stop_browser_behavior),i.event.onTouch(t,i.EVENT_START,function(t){r.enabled&&i.detection.startDetect(r,t)}),this},i.Instance.prototype={on:function(t,e){for(var n=t.split(" "),i=0;n.length>i;i++)this.element.addEventListener(n[i],e,!1);return this},off:function(t,e){for(var n=t.split(" "),i=0;n.length>i;i++)this.element.removeEventListener(n[i],e,!1);return this},trigger:function(t,e){var n=i.DOCUMENT.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e;var r=this.element;return i.utils.hasParent(e.target,r)&&(r=e.target),r.dispatchEvent(n),this},enable:function(t){return this.enabled=t,this}};var r=null,o=!1,s=!1;i.event={bindDom:function(t,e,n){for(var i=e.split(" "),r=0;i.length>r;r++)t.addEventListener(i[r],n,!1)},onTouch:function(t,e,n){var a=this;this.bindDom(t,i.EVENT_TYPES[e],function(c){var u=c.type.toLowerCase();if(!u.match(/mouse/)||!s){(u.match(/touch/)||u.match(/pointerdown/)||u.match(/mouse/)&&1===c.which)&&(o=!0),u.match(/touch|pointer/)&&(s=!0);var h=0;o&&(i.HAS_POINTEREVENTS&&e!=i.EVENT_END?h=i.PointerEvent.updatePointer(e,c):u.match(/touch/)?h=c.touches.length:s||(h=u.match(/up/)?0:1),h>0&&e==i.EVENT_END?e=i.EVENT_MOVE:h||(e=i.EVENT_END),h||null===r?r=c:c=r,n.call(i.detection,a.collectEventData(t,e,c)),i.HAS_POINTEREVENTS&&e==i.EVENT_END&&(h=i.PointerEvent.updatePointer(e,c))),h||(r=null,o=!1,s=!1,i.PointerEvent.reset())}})},determineEventTypes:function(){var t;t=i.HAS_POINTEREVENTS?i.PointerEvent.getEvents():i.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"],i.EVENT_TYPES[i.EVENT_START]=t[0],i.EVENT_TYPES[i.EVENT_MOVE]=t[1],i.EVENT_TYPES[i.EVENT_END]=t[2]},getTouchList:function(t){return i.HAS_POINTEREVENTS?i.PointerEvent.getTouchList():t.touches?t.touches:[{identifier:1,pageX:t.pageX,pageY:t.pageY,target:t.target}]},collectEventData:function(t,e,n){var r=this.getTouchList(n,e),o=i.POINTER_TOUCH;return(n.type.match(/mouse/)||i.PointerEvent.matchType(i.POINTER_MOUSE,n))&&(o=i.POINTER_MOUSE),{center:i.utils.getCenter(r),timeStamp:(new Date).getTime(),target:n.target,touches:r,eventType:e,pointerType:o,srcEvent:n,preventDefault:function(){this.srcEvent.preventManipulation&&this.srcEvent.preventManipulation(),this.srcEvent.preventDefault&&this.srcEvent.preventDefault()},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return i.detection.stopDetect()}}}},i.PointerEvent={pointers:{},getTouchList:function(){var t=this,e=[];return Object.keys(t.pointers).sort().forEach(function(n){e.push(t.pointers[n])}),e},updatePointer:function(t,e){return t==i.EVENT_END?this.pointers={}:(e.identifier=e.pointerId,this.pointers[e.pointerId]=e),Object.keys(this.pointers).length},matchType:function(t,e){if(!e.pointerType)return!1;var n={};return n[i.POINTER_MOUSE]=e.pointerType==e.MSPOINTER_TYPE_MOUSE||e.pointerType==i.POINTER_MOUSE,n[i.POINTER_TOUCH]=e.pointerType==e.MSPOINTER_TYPE_TOUCH||e.pointerType==i.POINTER_TOUCH,n[i.POINTER_PEN]=e.pointerType==e.MSPOINTER_TYPE_PEN||e.pointerType==i.POINTER_PEN,n[t]},getEvents:function(){return["pointerdown MSPointerDown","pointermove MSPointerMove","pointerup pointercancel MSPointerUp MSPointerCancel"]},reset:function(){this.pointers={}}},i.utils={extend:function(t,n,i){for(var r in n)t[r]!==e&&i||(t[r]=n[r]);return t},hasParent:function(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1},getCenter:function(t){for(var e=[],n=[],i=0,r=t.length;r>i;i++)e.push(t[i].pageX),n.push(t[i].pageY);return{pageX:(Math.min.apply(Math,e)+Math.max.apply(Math,e))/2,pageY:(Math.min.apply(Math,n)+Math.max.apply(Math,n))/2}},getVelocity:function(t,e,n){return{x:Math.abs(e/t)||0,y:Math.abs(n/t)||0}},getAngle:function(t,e){var n=e.pageY-t.pageY,i=e.pageX-t.pageX;return 180*Math.atan2(n,i)/Math.PI},getDirection:function(t,e){var n=Math.abs(t.pageX-e.pageX),r=Math.abs(t.pageY-e.pageY);return n>=r?t.pageX-e.pageX>0?i.DIRECTION_LEFT:i.DIRECTION_RIGHT:t.pageY-e.pageY>0?i.DIRECTION_UP:i.DIRECTION_DOWN},getDistance:function(t,e){var n=e.pageX-t.pageX,i=e.pageY-t.pageY;return Math.sqrt(n*n+i*i)},getScale:function(t,e){return t.length>=2&&e.length>=2?this.getDistance(e[0],e[1])/this.getDistance(t[0],t[1]):1},getRotation:function(t,e){return t.length>=2&&e.length>=2?this.getAngle(e[1],e[0])-this.getAngle(t[1],t[0]):0},isVertical:function(t){return t==i.DIRECTION_UP||t==i.DIRECTION_DOWN},stopDefaultBrowserBehavior:function(t,e){var n,i=["webkit","khtml","moz","ms","o",""];if(e&&t.style){for(var r=0;i.length>r;r++)for(var o in e)e.hasOwnProperty(o)&&(n=o,i[r]&&(n=i[r]+n.substring(0,1).toUpperCase()+n.substring(1)),t.style[n]=e[o]);"none"==e.userSelect&&(t.onselectstart=function(){return!1})}}},i.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(t,e){this.current||(this.stopped=!1,this.current={inst:t,startEvent:i.utils.extend({},e),lastEvent:!1,name:""},this.detect(e))},detect:function(t){if(this.current&&!this.stopped){t=this.extendEventData(t);for(var e=this.current.inst.options,n=0,r=this.gestures.length;r>n;n++){var o=this.gestures[n];if(!this.stopped&&e[o.name]!==!1&&o.handler.call(o,t,this.current.inst)===!1){this.stopDetect();break}}return this.current&&(this.current.lastEvent=t),t.eventType==i.EVENT_END&&!t.touches.length-1&&this.stopDetect(),t}},stopDetect:function(){this.previous=i.utils.extend({},this.current),this.current=null,this.stopped=!0},extendEventData:function(t){var e=this.current.startEvent;if(e&&(t.touches.length!=e.touches.length||t.touches===e.touches)){e.touches=[];for(var n=0,r=t.touches.length;r>n;n++)e.touches.push(i.utils.extend({},t.touches[n]))}var o=t.timeStamp-e.timeStamp,s=t.center.pageX-e.center.pageX,a=t.center.pageY-e.center.pageY,c=i.utils.getVelocity(o,s,a);return i.utils.extend(t,{deltaTime:o,deltaX:s,deltaY:a,velocityX:c.x,velocityY:c.y,distance:i.utils.getDistance(e.center,t.center),angle:i.utils.getAngle(e.center,t.center),direction:i.utils.getDirection(e.center,t.center),scale:i.utils.getScale(e.touches,t.touches),rotation:i.utils.getRotation(e.touches,t.touches),startEvent:e}),t},register:function(t){var n=t.defaults||{};return n[t.name]===e&&(n[t.name]=!0),i.utils.extend(i.defaults,n,!0),t.index=t.index||1e3,this.gestures.push(t),this.gestures.sort(function(t,e){return t.indexe.index?1:0}),this.gestures}},i.gestures=i.gestures||{},i.gestures.Hold={name:"hold",index:10,defaults:{hold_timeout:500,hold_threshold:1},timer:null,handler:function(t,e){switch(t.eventType){case i.EVENT_START:clearTimeout(this.timer),i.detection.current.name=this.name,this.timer=setTimeout(function(){"hold"==i.detection.current.name&&e.trigger("hold",t)},e.options.hold_timeout);break;case i.EVENT_MOVE:t.distance>e.options.hold_threshold&&clearTimeout(this.timer);break;case i.EVENT_END:clearTimeout(this.timer)}}},i.gestures.Tap={name:"tap",index:100,defaults:{tap_max_touchtime:250,tap_max_distance:10,tap_always:!0,doubletap_distance:20,doubletap_interval:300},handler:function(t,e){if(t.eventType==i.EVENT_END){var n=i.detection.previous,r=!1;if(t.deltaTime>e.options.tap_max_touchtime||t.distance>e.options.tap_max_distance)return;n&&"tap"==n.name&&t.timeStamp-n.lastEvent.timeStamp0&&t.touches.length>e.options.swipe_max_touches)return;(t.velocityX>e.options.swipe_velocity||t.velocityY>e.options.swipe_velocity)&&(e.trigger(this.name,t),e.trigger(this.name+t.direction,t))}}},i.gestures.Drag={name:"drag",index:50,defaults:{drag_min_distance:10,drag_max_touches:1,drag_block_horizontal:!1,drag_block_vertical:!1,drag_lock_to_axis:!1,drag_lock_min_distance:25},triggered:!1,handler:function(t,n){if(i.detection.current.name!=this.name&&this.triggered)return n.trigger(this.name+"end",t),this.triggered=!1,e;if(!(n.options.drag_max_touches>0&&t.touches.length>n.options.drag_max_touches))switch(t.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:if(t.distancet.deltaY?i.DIRECTION_UP:i.DIRECTION_DOWN:0>t.deltaX?i.DIRECTION_LEFT:i.DIRECTION_RIGHT),this.triggered||(n.trigger(this.name+"start",t),this.triggered=!0),n.trigger(this.name,t),n.trigger(this.name+t.direction,t),(n.options.drag_block_vertical&&i.utils.isVertical(t.direction)||n.options.drag_block_horizontal&&!i.utils.isVertical(t.direction))&&t.preventDefault();break;case i.EVENT_END:this.triggered&&n.trigger(this.name+"end",t),this.triggered=!1}}},i.gestures.Transform={name:"transform",index:45,defaults:{transform_min_scale:.01,transform_min_rotation:1,transform_always_block:!1},triggered:!1,handler:function(t,n){if(i.detection.current.name!=this.name&&this.triggered)return n.trigger(this.name+"end",t),this.triggered=!1,e;if(!(2>t.touches.length))switch(n.options.transform_always_block&&t.preventDefault(),t.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:var r=Math.abs(1-t.scale),o=Math.abs(t.rotation);if(n.options.transform_min_scale>r&&n.options.transform_min_rotation>o)return;i.detection.current.name=this.name,this.triggered||(n.trigger(this.name+"start",t),this.triggered=!0),n.trigger(this.name,t),o>n.options.transform_min_rotation&&n.trigger("rotate",t),r>n.options.transform_min_scale&&(n.trigger("pinch",t),n.trigger("pinch"+(1>t.scale?"in":"out"),t));break;case i.EVENT_END:this.triggered&&n.trigger(this.name+"end",t),this.triggered=!1}}},i.gestures.Touch={name:"touch",index:-1/0,defaults:{prevent_default:!1,prevent_mouseevents:!1},handler:function(t,n){return n.options.prevent_mouseevents&&t.pointerType==i.POINTER_MOUSE?(t.stopDetect(),e):(n.options.prevent_default&&t.preventDefault(),t.eventType==i.EVENT_START&&n.trigger(this.name,t),e)}},i.gestures.Release={name:"release",index:1/0,handler:function(t,e){t.eventType==i.EVENT_END&&e.trigger(this.name,t)}},"object"==typeof module&&"object"==typeof module.exports?module.exports=i:(t.Hammer=i,"function"==typeof t.define&&t.define.amd&&t.define("hammer",[],function(){return i}))})(this),function(t,e){"use strict";t!==e&&(Hammer.event.bindDom=function(n,i,r){t(n).on(i,function(t){var n=t.originalEvent||t;n.pageX===e&&(n.pageX=t.pageX,n.pageY=t.pageY),n.target||(n.target=t.target),n.which===e&&(n.which=n.button),n.preventDefault||(n.preventDefault=t.preventDefault),n.stopPropagation||(n.stopPropagation=t.stopPropagation),r.call(this,n)})},Hammer.Instance.prototype.on=function(e,n){return t(this.element).on(e,n)},Hammer.Instance.prototype.off=function(e,n){return t(this.element).off(e,n)},Hammer.Instance.prototype.trigger=function(e,n){var i=t(this.element);return i.has(n.target).length&&(i=t(n.target)),i.trigger({type:e,gesture:n})},t.fn.hammer=function(e){return this.each(function(){var n=t(this),i=n.data("hammer");i?i&&e&&Hammer.utils.extend(i.options,e):n.data("hammer",new Hammer(this,e||{}))})})}(window.jQuery||window.Zepto); - - -/*! - * VERSION: 1.11.5 - * DATE: 2014-02-20 - * UPDATES AND DOCS AT: http://www.greensock.com - * - * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. - * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for - * Club GreenSock members, the software agreement that was issued with your membership. - * - * @author: Jack Doyle, jack@greensock.com - */ -(function(t){"use strict";var e=t.GreenSockGlobals||t;if(!e.TweenLite){var i,s,r,n,a,o=function(t){var i,s=t.split("."),r=e;for(i=0;s.length>i;i++)r[s[i]]=r=r[s[i]]||{};return r},l=o("com.greensock"),h=1e-10,_=[].slice,u=function(){},m=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),f={},p=function(i,s,r,n){this.sc=f[i]?f[i].sc:[],f[i]=this,this.gsClass=null,this.func=r;var a=[];this.check=function(l){for(var h,_,u,m,c=s.length,d=c;--c>-1;)(h=f[s[c]]||new p(s[c],[])).gsClass?(a[c]=h.gsClass,d--):l&&h.sc.push(this);if(0===d&&r)for(_=("com.greensock."+i).split("."),u=_.pop(),m=o(_.join("."))[u]=this.gsClass=r.apply(r,a),n&&(e[u]=m,"function"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+i.split(".").join("/"),[],function(){return m}):"undefined"!=typeof module&&module.exports&&(module.exports=m)),c=0;this.sc.length>c;c++)this.sc[c].check()},this.check(!0)},c=t._gsDefine=function(t,e,i,s){return new p(t,e,i,s)},d=l._class=function(t,e,i){return e=e||function(){},c(t,[],function(){return e},i),e};c.globals=e;var v=[0,0,1,1],g=[],T=d("easing.Ease",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?v.concat(e):v},!0),w=T.map={},P=T.register=function(t,e,i,s){for(var r,n,a,o,h=e.split(","),_=h.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--_>-1;)for(n=h[_],r=s?d("easing."+n,null,!0):l.easing[n]||{},a=u.length;--a>-1;)o=u[a],w[n+"."+o]=w[o+n]=r[o]=t.getRatio?t:t[o]||new t};for(r=T.prototype,r._calcEnd=!1,r.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:.5>t?s/2:1-s/2},i=["Linear","Quad","Cubic","Quart","Quint,Strong"],s=i.length;--s>-1;)r=i[s]+",Power"+s,P(new T(null,null,1,s),r,"easeOut",!0),P(new T(null,null,2,s),r,"easeIn"+(0===s?",easeNone":"")),P(new T(null,null,3,s),r,"easeInOut");w.linear=l.easing.Linear.easeIn,w.swing=l.easing.Quad.easeInOut;var y=d("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});r=y.prototype,r.addEventListener=function(t,e,i,s,r){r=r||0;var o,l,h=this._listeners[t],_=0;for(null==h&&(this._listeners[t]=h=[]),l=h.length;--l>-1;)o=h[l],o.c===e&&o.s===i?h.splice(l,1):0===_&&r>o.pr&&(_=l+1);h.splice(_,0,{c:e,s:i,up:s,pr:r}),this!==n||a||n.wake()},r.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;--i>-1;)if(s[i].c===e)return s.splice(i,1),void 0},r.dispatchEvent=function(t){var e,i,s,r=this._listeners[t];if(r)for(e=r.length,i=this._eventTarget;--e>-1;)s=r[e],s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i)};var b=t.requestAnimationFrame,k=t.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},S=A();for(i=["ms","moz","webkit","o"],s=i.length;--s>-1&&!b;)b=t[i[s]+"RequestAnimationFrame"],k=t[i[s]+"CancelAnimationFrame"]||t[i[s]+"CancelRequestAnimationFrame"];d("Ticker",function(t,e){var i,s,r,o,l,h=this,_=A(),m=e!==!1&&b,f=function(t){S=A(),h.time=(S-_)/1e3;var e,n=h.time-l;(!i||n>0||t===!0)&&(h.frame++,l+=n+(n>=o?.004:o-n),e=!0),t!==!0&&(r=s(f)),e&&h.dispatchEvent("tick")};y.call(h),h.time=h.frame=0,h.tick=function(){f(!0)},h.sleep=function(){null!=r&&(m&&k?k(r):clearTimeout(r),s=u,r=null,h===n&&(a=!1))},h.wake=function(){null!==r&&h.sleep(),s=0===i?u:m&&b?b:function(t){return setTimeout(t,0|1e3*(l-h.time)+1)},h===n&&(a=!0),f(2)},h.fps=function(t){return arguments.length?(i=t,o=1/(i||60),l=this.time+o,h.wake(),void 0):i},h.useRAF=function(t){return arguments.length?(h.sleep(),m=t,h.fps(i),void 0):m},h.fps(t),setTimeout(function(){m&&(!r||5>h.frame)&&h.useRAF(!1)},1500)}),r=l.Ticker.prototype=new l.events.EventDispatcher,r.constructor=l.Ticker;var x=d("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=e.immediateRender===!0,this.data=e.data,this._reversed=e.reversed===!0,Q){a||n.wake();var i=this.vars.useFrames?G:Q;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});n=x.ticker=new l.Ticker,r=x.prototype,r._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1;var C=function(){a&&A()-S>2e3&&n.wake(),setTimeout(C,2e3)};C(),r.play=function(t,e){return arguments.length&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},r.reverse=function(t,e){return arguments.length&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(){},r.invalidate=function(){return this},r.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t},r._enabled=function(t,e){return a||n.wake(),this._gc=!t,this._active=this.isActive(),e!==!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},r._kill=function(){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},r.eventCallback=function(t,e,i,s){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=s),"onUpdate"===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},r.totalTime=function(t,e,i){if(a||n.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,r=this._timeline;if(t>s&&!i&&(t=s),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?s-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&this.render(t,e,!1)}return this},r.progress=r.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},r.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},r.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||h,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},r.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},r.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){a||t||n.wake();var e=this._timeline,i=e.rawTime(),s=i-this._pauseTime;!t&&e.smoothChildTiming&&(this._startTime+=s,this._uncache(!1)),this._pauseTime=t?i:null,this._paused=t,this._active=this.isActive(),!t&&0!==s&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var R=d("core.SimpleTimeline",function(t){x.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});r=R.prototype=new x,r.constructor=R,r.kill()._gc=!1,r._first=r._last=null,r._sortChildren=!1,r.add=r.insert=function(t,e){var i,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(s=t._startTime;i&&i._startTime>s;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},r._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t.timeline=null,t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),this._timeline&&this._uncache(!0)),this},r.render=function(t,e,i){var s,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)s=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s},r.rawTime=function(){return a||n.wake(),this._totalTime};var D=d("TweenLite",function(e,i,s){if(x.call(this,i,s),this.render=D.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:D.selector(e)||e;var r,n,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?j[D.defaultOverwrite]:"number"==typeof l?l>>0:j[l],(o||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=a=_.call(e,0),this._propLookup=[],this._siblings=[],r=0;a.length>r;r++)n=a[r],n?"string"!=typeof n?n.length&&n!==t&&n[0]&&(n[0]===t||n[0].nodeType&&n[0].style&&!n.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(_.call(n,0))):(this._siblings[r]=B(n,this,!1),1===l&&this._siblings[r].length>1&&q(n,this,null,1,this._siblings[r])):(n=a[r--]=D.selector(n),"string"==typeof n&&a.splice(r+1,1)):a.splice(r--,1);else this._propLookup={},this._siblings=B(e,this,!1),1===l&&this._siblings.length>1&&q(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&this.render(-this._delay,!1,!0)},!0),E=function(e){return e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},I=function(t,e){var i,s={};for(i in t)F[i]||i in e&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!N[i]||N[i]&&N[i]._autoCSS)||(s[i]=t[i],delete t[i]);t.css=s};r=D.prototype=new x,r.constructor=D,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=!1,D.version="1.11.5",D.defaultEase=r._ease=new T(null,null,1,1),D.defaultOverwrite="auto",D.ticker=n,D.autoSleep=!0,D.selector=t.$||t.jQuery||function(e){return t.$?(D.selector=t.$,t.$(e)):t.document?t.document.getElementById("#"===e.charAt(0)?e.substr(1):e):e};var O=D._internals={isArray:m,isSelector:E},N=D._plugins={},L=D._tweenLookup={},U=0,F=O.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1},j={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},G=x._rootFramesTimeline=new R,Q=x._rootTimeline=new R;Q._startTime=n.time,G._startTime=n.frame,Q._active=G._active=!0,x._updateRoot=function(){if(Q.render((n.time-Q._startTime)*Q._timeScale,!1,!1),G.render((n.frame-G._startTime)*G._timeScale,!1,!1),!(n.frame%120)){var t,e,i;for(i in L){for(e=L[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete L[i]}if(i=Q._first,(!i||i._paused)&&D.autoSleep&&!G._first&&1===n._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||n.sleep()}}},n.addEventListener("tick",x._updateRoot);var B=function(t,e,i){var s,r,n=t._gsTweenID;if(L[n||(t._gsTweenID=n="t"+U++)]||(L[n]={target:t,tweens:[]}),e&&(s=L[n].tweens,s[r=s.length]=e,i))for(;--r>-1;)s[r]===e&&s.splice(r,1);return L[n].tweens},q=function(t,e,i,s,r){var n,a,o,l;if(1===s||s>=4){for(l=r.length,n=0;l>n;n++)if((o=r[n])!==e)o._gc||o._enabled(!1,!1)&&(a=!0);else if(5===s)break;return a}var _,u=e._startTime+h,m=[],f=0,p=0===e._duration;for(n=r.length;--n>-1;)(o=r[n])===e||o._gc||o._paused||(o._timeline!==e._timeline?(_=_||$(e,0,p),0===$(o,_,p)&&(m[f++]=o)):u>=o._startTime&&o._startTime+o.totalDuration()/o._timeScale>u&&((p||!o._initted)&&2e-10>=u-o._startTime||(m[f++]=o)));for(n=f;--n>-1;)o=m[n],2===s&&o._kill(i,t)&&(a=!0),(2!==s||!o._firstPT&&o._initted)&&o._enabled(!1,!1)&&(a=!0);return a},$=function(t,e,i){for(var s=t._timeline,r=s._timeScale,n=t._startTime;s._timeline;){if(n+=s._startTime,r*=s._timeScale,s._paused)return-100;s=s._timeline}return n/=r,n>e?n-e:i&&n===e||!t._initted&&2*h>n-e?h:(n+=t.totalDuration()/t._timeScale/r)>e+h?0:n-e-h};r._init=function(){var t,e,i,s,r=this.vars,n=this._overwrittenProps,a=this._duration,o=r.immediateRender,l=r.ease;if(r.startAt){if(this._startAt&&this._startAt.render(-1,!0),r.startAt.overwrite=0,r.startAt.immediateRender=!0,this._startAt=D.to(this.target,0,r.startAt),o)if(this._time>0)this._startAt=null;else if(0!==a)return}else if(r.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt=null;else{i={};for(s in r)F[s]&&"autoCSS"!==s||(i[s]=r[s]);if(i.overwrite=0,i.data="isFromStart",this._startAt=D.to(this.target,0,i),r.immediateRender){if(0===this._time)return}else this._startAt.render(-1,!0)}if(this._ease=l?l instanceof T?r.easeParams instanceof Array?l.config.apply(l,r.easeParams):l:"function"==typeof l?new T(l,r.easeParams):w[l]||D.defaultEase:D.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],n?n[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,n);if(e&&D._onPluginEvent("_onInitAllProps",this),n&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0},r._initProps=function(e,i,s,r){var n,a,o,l,h,_;if(null==e)return!1;this.vars.css||e.style&&e!==t&&e.nodeType&&N.css&&this.vars.autoCSS!==!1&&I(this.vars,e);for(n in this.vars){if(_=this.vars[n],F[n])_&&(_ instanceof Array||_.push&&m(_))&&-1!==_.join("").indexOf("{self}")&&(this.vars[n]=_=this._swapSelfInParams(_,this));else if(N[n]&&(l=new N[n])._onInitTween(e,this.vars[n],this)){for(this._firstPT=h={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:n,pg:!0,pr:l._priority},a=l._overwriteProps.length;--a>-1;)i[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(o=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[n]=h={_next:this._firstPT,t:e,p:n,f:"function"==typeof e[n],n:n,pg:!1,pr:0},h.s=h.f?e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(e[n]),h.c="string"==typeof _&&"="===_.charAt(1)?parseInt(_.charAt(0)+"1",10)*Number(_.substr(2)):Number(_)-h.s||0;h&&h._next&&(h._next._prev=h)}return r&&this._kill(r,e)?this._initProps(e,i,s,r):this._overwrite>1&&this._firstPT&&s.length>1&&q(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,r)):o},r.render=function(t,e,i){var s,r,n,a,o=this._time,l=this._duration;if(t>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s=!0,r="onComplete"),0===l&&(a=this._rawPrevTime,(0===t||0>a||a===h)&&a!==t&&(i=!0,a>h&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||0===a?t:h);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&this._rawPrevTime>h)&&(r="onReverseComplete",s=this._reversed),0>t?(this._active=!1,0===l&&(this._rawPrevTime>=0&&(i=!0),this._rawPrevTime=a=!e||t||0===this._rawPrevTime?t:h)):this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var _=t/l,u=this._easeType,m=this._easePower;(1===u||3===u&&_>=.5)&&(_=1-_),3===u&&(_*=2),1===m?_*=_:2===m?_*=_*_:3===m?_*=_*_*_:4===m&&(_*=_*_*_*_),this.ratio=1===u?1-_:2===u?_:.5>t/l?_/2:1-_/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;this._time&&!s?this.ratio=this._ease.getRatio(this._time/l):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||g))),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(0>t&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||(this._time!==o||s)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||g)),r&&(this._gc||(0>t&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||g),0===l&&this._rawPrevTime===h&&a!==h&&(this._rawPrevTime=0)))}},r._kill=function(t,e){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:D.selector(e)||e;var i,s,r,n,a,o,l,h;if((m(e)||E(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i])&&(o=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){a=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){l=t||a,h=t!==s&&"all"!==s&&t!==a&&("object"!=typeof t||!t._tempKill);for(r in l)(n=a[r])&&(n.pg&&n.t._kill(l)&&(o=!0),n.pg&&0!==n.t._overwriteProps.length||(n._prev?n._prev._next=n._next:n===this._firstPT&&(this._firstPT=n._next),n._next&&(n._next._prev=n._prev),n._next=n._prev=null),delete a[r]),h&&(s[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return o},r.invalidate=function(){return this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=!1,this._propLookup=this._targets?{}:[],this},r._enabled=function(t,e){if(a||n.wake(),t&&this._gc){var i,s=this._targets;if(s)for(i=s.length;--i>-1;)this._siblings[i]=B(s[i],this,!0);else this._siblings=B(this.target,this,!0)}return x.prototype._enabled.call(this,t,e),this._notifyPluginsOfEnabled&&this._firstPT?D._onPluginEvent(t?"_onEnable":"_onDisable",this):!1},D.to=function(t,e,i){return new D(t,e,i)},D.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(t,e,i)},D.fromTo=function(t,e,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new D(t,e,s)},D.delayedCall=function(t,e,i,s,r){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:s,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:s,immediateRender:!1,useFrames:r,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:D.selector(t)||t;var i,s,r,n;if((m(t)||E(t))&&"number"!=typeof t[0]){for(i=t.length,s=[];--i>-1;)s=s.concat(D.getTweensOf(t[i],e));for(i=s.length;--i>-1;)for(n=s[i],r=i;--r>-1;)n===s[r]&&s.splice(i,1)}else for(s=B(t).concat(),i=s.length;--i>-1;)(s[i]._gc||e&&!s[i].isActive())&&s.splice(i,1);return s},D.killTweensOf=D.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var s=D.getTweensOf(t,e),r=s.length;--r>-1;)s[r]._kill(i,t)};var M=d("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=M.prototype},!0);if(r=M.prototype,M.version="1.10.1",M.API=2,r._firstPT=null,r._addTween=function(t,e,i,s,r,n){var a,o;return null!=s&&(a="number"==typeof s||"="!==s.charAt(1)?Number(s)-i:parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)))?(this._firstPT=o={_next:this._firstPT,t:t,p:e,s:i,c:a,f:"function"==typeof t[e],n:r||e,r:n},o._next&&(o._next._prev=o),o):void 0},r.setRatio=function(t){for(var e,i=this._firstPT,s=1e-6;i;)e=i.c*t+i.s,i.r?e=0|e+(e>0?.5:-.5):s>e&&e>-s&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},r._kill=function(t){var e,i=this._overwriteProps,s=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;s;)null!=t[s.n]&&(s._next&&(s._next._prev=s._prev),s._prev?(s._prev._next=s._next,s._prev=null):this._firstPT===s&&(this._firstPT=s._next)),s=s._next;return!1},r._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},D._onPluginEvent=function(t,e){var i,s,r,n,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,s=r;s&&s.pr>o.pr;)s=s._next;(o._prev=s?s._prev:n)?o._prev._next=o:r=o,(o._next=s)?s._prev=o:n=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},M.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===M.API&&(N[(new t[e])._propName]=t[e]);return!0},c.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,s=t.priority||0,r=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=d("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){M.call(this,i,s),this._overwriteProps=r||[]},t.global===!0),o=a.prototype=new M(i);o.constructor=a,a.API=t.API;for(e in n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,M.activate([a]),a},i=t._gsQueue){for(s=0;i.length>s;s++)i[s]();for(r in f)f[r].func||t.console.log("GSAP encountered missing dependency: com.greensock."+r)}a=!1}})(window); - - -/*! - * VERSION: 1.11.5 - * DATE: 2014-02-20 - * UPDATES AND DOCS AT: http://www.greensock.com - * - * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. - * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for - * Club GreenSock members, the software agreement that was issued with your membership. - * - * @author: Jack Doyle, jack@greensock.com - */ -(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var s=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,s,r=this.vars;for(s in r)i=r[s],a(i)&&-1!==i.join("").indexOf("{self}")&&(r[s]=this._swapSelfInParams(i));a(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},r=1e-10,n=i._internals.isSelector,a=i._internals.isArray,o=[],h=function(t){var e,i={};for(e in t)i[e]=t[e];return i},l=function(t,e,i,s){t._timeline.pause(t._startTime),e&&e.apply(s||t._timeline,i||o)},_=o.slice,u=s.prototype=new e;return s.version="1.11.5",u.constructor=s,u.kill()._gc=!1,u.to=function(t,e,s,r){return e?this.add(new i(t,e,s),r):this.set(t,s,r)},u.from=function(t,e,s,r){return this.add(i.from(t,e,s),r)},u.fromTo=function(t,e,s,r,n){return e?this.add(i.fromTo(t,e,s,r),n):this.set(t,r,n)},u.staggerTo=function(t,e,r,a,o,l,u,p){var f,c=new s({onComplete:l,onCompleteParams:u,onCompleteScope:p,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),n(t)&&(t=_.call(t,0)),a=a||0,f=0;t.length>f;f++)r.startAt&&(r.startAt=h(r.startAt)),c.to(t[f],e,h(r),f*a);return this.add(c,o)},u.staggerFrom=function(t,e,i,s,r,n,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,s,r,n,a,o)},u.staggerFromTo=function(t,e,i,s,r,n,a,o,h){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,s,r,n,a,o,h)},u.call=function(t,e,s,r){return this.add(i.delayedCall(0,t,e,s),r)},u.set=function(t,e,s){return s=this._parseTimeOrLabel(s,0,!0),null==e.immediateRender&&(e.immediateRender=s===this._time&&!this._paused),this.add(new i(t,0,e),s)},s.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var r,n,a=new s(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,r=o._first;r;)n=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||a.add(r,r._startTime-r._delay),r=n;return o.add(a,0),a},u.add=function(r,n,o,h){var l,_,u,p,f,c;if("number"!=typeof n&&(n=this._parseTimeOrLabel(n,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&a(r)){for(o=o||"normal",h=h||0,l=n,_=r.length,u=0;_>u;u++)a(p=r[u])&&(p=new s({tweens:p})),this.add(p,l),"string"!=typeof p&&"function"!=typeof p&&("sequence"===o?l=p._startTime+p.totalDuration()/p._timeScale:"start"===o&&(p._startTime-=p.delay())),l+=h;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,n);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,n),(this._gc||this._time===this._duration)&&!this._paused&&this._durationr._startTime;f._timeline;)c&&f._timeline.smoothChildTiming?f.totalTime(f._totalTime,!0):f._gc&&f._enabled(!0,!1),f=f._timeline;return this},u.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&a(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},u._remove=function(t,i){e.prototype._remove.call(this,t,i);var s=this._last;return s?this._time>s._startTime+s._totalDuration/s._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},u.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},u.insert=u.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},u.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},u.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},u.addPause=function(t,e,i,s){return this.call(l,["{self}",e,i,s],this,t)},u.removeLabel=function(t){return delete this._labels[t],this},u.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},u._parseTimeOrLabel=function(e,i,s,r){var n;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&a(r)))for(n=r.length;--n>-1;)r[n]instanceof t&&r[n].timeline===this&&this.remove(r[n]);if("string"==typeof i)return this._parseTimeOrLabel(i,s&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,s);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(n=e.indexOf("="),-1===n)return null==this._labels[e]?s?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(n-1)+"1",10)*Number(e.substr(n+1)),e=n>1?this._parseTimeOrLabel(e.substr(0,n-1),0,s):this.duration()}return Number(e)+i},u.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},u.stop=function(){return this.paused(!0)},u.gotoAndPlay=function(t,e){return this.play(t,e)},u.gotoAndStop=function(t,e){return this.pause(t,e)},u.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,n,a,h,l,_=this._dirty?this.totalDuration():this._totalDuration,u=this._time,p=this._startTime,f=this._timeScale,c=this._paused;if(t>=_?(this._totalTime=this._time=_,this._reversed||this._hasPausedChild()||(n=!0,h="onComplete",0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>r&&(h="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||0===this._rawPrevTime?t:r,t=_+1e-4):1e-7>t?(this._totalTime=this._time=0,(0!==u||0===this._duration&&(this._rawPrevTime>r||0>t&&this._rawPrevTime>=0))&&(h="onReverseComplete",n=this._reversed),0>t?(this._active=!1,0===this._duration&&this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t):(this._rawPrevTime=this._duration||!e||t||0===this._rawPrevTime?t:r,t=0,this._initted||(l=!0))):this._totalTime=this._time=this._rawPrevTime=t,this._time!==u&&this._first||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==u&&t>0&&(this._active=!0),0===u&&this.vars.onStart&&0!==this._time&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||o)),this._time>=u)for(s=this._first;s&&(a=s._next,!this._paused||c);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=a;else for(s=this._last;s&&(a=s._prev,!this._paused||c);)(s._active||u>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=a;this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||o)),h&&(this._gc||(p===this._startTime||f!==this._timeScale)&&(0===this._time||_>=this.totalDuration())&&(n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[h]&&this.vars[h].apply(this.vars[h+"Scope"]||this,this.vars[h+"Params"]||o)))}},u._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof s&&t._hasPausedChild())return!0;t=t._next}return!1},u.getChildren=function(t,e,s,r){r=r||-9999999999;for(var n=[],a=this._first,o=0;a;)r>a._startTime||(a instanceof i?e!==!1&&(n[o++]=a):(s!==!1&&(n[o++]=a),t!==!1&&(n=n.concat(a.getChildren(!0,e,s)),o=n.length))),a=a._next;return n},u.getTweensOf=function(t,e){for(var s=i.getTweensOf(t),r=s.length,n=[],a=0;--r>-1;)(s[r].timeline===this||e&&this._contains(s[r]))&&(n[a++]=s[r]);return n},u._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},u.shiftChildren=function(t,e,i){i=i||0;for(var s,r=this._first,n=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(s in n)n[s]>=i&&(n[s]+=t);return this._uncache(!0)},u._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,r=!1;--s>-1;)i[s]._kill(t,e)&&(r=!0);return r},u.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},u.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},u._enabled=function(t,i){if(t===this._gc)for(var s=this._first;s;)s._enabled(t,!0),s=s._next;return e.prototype._enabled.call(this,t,i)},u.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},u.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,s=0,r=this._last,n=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>n&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):n=r._startTime,0>r._startTime&&!r._paused&&(s-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),n=0),i=r._startTime+r._totalDuration/r._timeScale,i>s&&(s=i),r=e;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},u.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},u.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},s},!0)}),window._gsDefine&&window._gsQueue.pop()(); - - - -/*! - * VERSION: beta 1.9.3 - * DATE: 2013-04-02 - * UPDATES AND DOCS AT: http://www.greensock.com - * - * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. - * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for - * Club GreenSock members, the software agreement that was issued with your membership. - * - * @author: Jack Doyle, jack@greensock.com - **/ -(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,s,r=window.GreenSockGlobals||window,n=r.com.greensock,a=2*Math.PI,o=Math.PI/2,h=n._class,l=function(e,i){var s=h("easing."+e,function(){},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,s},_=t.register||function(){},u=function(t,e,i,s){var r=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0);return _(r,t),r},c=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},p=function(e,i){var s=h("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,r.config=function(t){return new s(t)},s},f=u("Back",p("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),p("BackInOut",function(t){return 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=h("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=i===!0},!0),d=m.prototype=new t;return d.constructor=m,d.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),d.config=m.config=function(t,e,i){return new m(t,e,i)},e=h("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),d=e.prototype=new t,d.constructor=e,d.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},d.config=e.config=function(t){return new e(t)},i=h("easing.RoughEase",function(e){e=e||{};for(var i,s,r,n,a,o,h=e.taper||"none",l=[],_=0,u=0|(e.points||20),p=u,f=e.randomize!==!1,m=e.clamp===!0,d=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--p>-1;)i=f?Math.random():1/u*p,s=d?d.getRatio(i):i,"none"===h?r=g:"out"===h?(n=1-i,r=n*n*g):"in"===h?r=i*i*g:.5>i?(n=2*i,r=.5*n*n*g):(n=2*(1-i),r=.5*n*n*g),f?s+=Math.random()*r-.5*r:p%2?s+=.5*r:s-=.5*r,m&&(s>1?s=1:0>s&&(s=0)),l[_++]={x:i,y:s};for(l.sort(function(t,e){return t.x-e.x}),o=new c(1,1,null),p=u;--p>-1;)a=l[p],o=new c(a.x,a.y,o);this._prev=new c(0,0,0!==o.t?o:o.next)},!0),d=i.prototype=new t,d.constructor=i,d.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},d.config=function(t){return new i(t)},i.ease=new i,u("Bounce",l("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),l("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),l("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),u("Circ",l("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),l("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),l("CircInOut",function(t){return 1>(t*=2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),s=function(e,i,s){var r=h("easing."+e,function(t,e){this._p1=t||1,this._p2=e||s,this._p3=this._p2/a*(Math.asin(1/this._p1)||0)},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t,e){return new r(t,e)},r},u("Elastic",s("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*a/this._p2)+1},.3),s("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2))},.3),s("ElasticInOut",function(t){return 1>(t*=2)?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*a/this._p2)+1},.45)),u("Expo",l("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),l("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),l("ExpoInOut",function(t){return 1>(t*=2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),u("Sine",l("SineOut",function(t){return Math.sin(t*o)}),l("SineIn",function(t){return-Math.cos(t*o)+1}),l("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),_(r.SlowMo,"SlowMo","ease,"),_(i,"RoughEase","ease,"),_(e,"SteppedEase","ease,"),f},!0)}),window._gsDefine&&window._gsQueue.pop()(); - - -/*! - * VERSION: 1.11.5 - * DATE: 2014-02-20 - * UPDATES AND DOCS AT: http://www.greensock.com - * - * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. - * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for - * Club GreenSock members, the software agreement that was issued with your membership. - * - * @author: Jack Doyle, jack@greensock.com - */ -(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,s,n,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o={},l=a.prototype=new t("css");l.constructor=a,a.version="1.11.5",a.API=2,a.defaultTransformPerspective=0,l="px",a.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var h,u,_,p,f,c,d=/(?:\d|\-\d|\.\d|\-\.\d)+/g,m=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,g=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,v=/[^\d\-\.]/g,y=/(?:\d|\-|\+|=|#|\.)*/g,T=/opacity *= *([^)]*)/,x=/opacity:([^;]*)/,w=/alpha\(opacity *=.+?\)/i,b=/^(rgb|hsl)/,P=/([A-Z])/g,S=/-([a-z])/gi,R=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,k=function(t,e){return e.toUpperCase()},C=/(?:Left|Right|Width)/i,A=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,O=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,M=Math.PI/180,L=180/Math.PI,N={},X=document,I=X.createElement("div"),E=X.createElement("img"),F=a._internals={_specialProps:o},Y=navigator.userAgent,z=function(){var t,e=Y.indexOf("Android"),i=X.createElement("div");return _=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===e||Number(Y.substr(e+8,1))>3),f=_&&6>Number(Y.substr(Y.indexOf("Version/")+8,1)),p=-1!==Y.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y)&&(c=parseFloat(RegExp.$1)),i.innerHTML="a",t=i.getElementsByTagName("a")[0],t?/^0.55/.test(t.style.opacity):!1}(),U=function(t){return T.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},B=function(t){window.console&&console.log(t)},j="",W="",V=function(t,e){e=e||I;var i,r,s=e.style;if(void 0!==s[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===s[i[r]+t];);return r>=0?(W=3===r?"ms":i[r],j="-"+W.toLowerCase()+"-",W+t):null},q=X.defaultView?X.defaultView.getComputedStyle:function(){},H=a.getStyle=function(t,e,i,r,s){var n;return z||"opacity"!==e?(!r&&t.style[e]?n=t.style[e]:(i=i||q(t,null))?(t=i.getPropertyValue(e.replace(P,"-$1").toLowerCase()),n=t||i.length?t:i[e]):t.currentStyle&&(n=t.currentStyle[e]),null==s||n&&"none"!==n&&"auto"!==n&&"auto auto"!==n?n:s):U(t)},Q=function(t,e,i,r,s){if("px"===r||!r)return i;if("auto"===r||!i)return 0;var n,a=C.test(e),o=t,l=I.style,h=0>i;return h&&(i=-i),"%"===r&&-1!==e.indexOf("border")?n=i/100*(a?t.clientWidth:t.clientHeight):(l.cssText="border:0 solid red;position:"+H(t,"position")+";line-height:0;","%"!==r&&o.appendChild?l[a?"borderLeftWidth":"borderTopWidth"]=i+r:(o=t.parentNode||X.body,l[a?"width":"height"]=i+r),o.appendChild(I),n=parseFloat(I[a?"offsetWidth":"offsetHeight"]),o.removeChild(I),0!==n||s||(n=Q(t,e,i,r,!0))),h?-n:n},Z=function(t,e,i){if("absolute"!==H(t,"position",i))return 0;var r="left"===e?"Left":"Top",s=H(t,"margin"+r,i);return t["offset"+r]-(Q(t,e,parseFloat(s),s.replace(y,""))||0)},$=function(t,e){var i,r,s={};if(e=e||q(t,null))if(i=e.length)for(;--i>-1;)s[e[i].replace(S,k)]=e.getPropertyValue(e[i]);else for(i in e)s[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(S,k)]=e[i]);return z||(s.opacity=U(t)),r=be(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,we&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},G=function(t,e,i,r,s){var n,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(n=i[a])||s&&s[a])&&-1===a.indexOf("Origin")&&("number"==typeof n||"string"==typeof n)&&(l[a]="auto"!==n||"left"!==a&&"top"!==a?""!==n&&"auto"!==n&&"none"!==n||"string"!=typeof e[a]||""===e[a].replace(v,"")?n:0:Z(t,a),void 0!==h[a]&&(o=new _e(h,a,h[a],o)));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},K={width:["Left","Right"],height:["Top","Bottom"]},J=["marginLeft","marginRight","marginTop","marginBottom"],te=function(t,e,i){var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),s=K[e],n=s.length;for(i=i||q(t,null);--n>-1;)r-=parseFloat(H(t,"padding"+s[n],i,!0))||0,r-=parseFloat(H(t,"border"+s[n]+"Width",i,!0))||0;return r},ee=function(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==s?s="0":"center"===s&&(s="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(r.replace(v,"")),e.oy=parseFloat(s.replace(v,""))),r+" "+s+(i.length>2?" "+i[2]:"")},ie=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},re=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*Number(t.substr(2))+e:parseFloat(t)},se=function(t,e,i,r){var s,n,a,o,l=1e-6;return null==t?o=e:"number"==typeof t?o=t:(s=360,n=t.split("_"),a=Number(n[0].replace(v,""))*(-1===t.indexOf("rad")?1:L)-("="===t.charAt(1)?0:e),n.length&&(r&&(r[i]=e+a),-1!==t.indexOf("short")&&(a%=s,a!==a%(s/2)&&(a=0>a?a+s:a-s)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*s)%s-(0|a/s)*s:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*s)%s-(0|a/s)*s)),o=e+a),l>o&&o>-l&&(o=0),o},ne={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ae=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,0|255*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},oe=function(t){var e,i,r,s,n,a;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ne[t]?ne[t]:"#"===t.charAt(0)?(4===t.length&&(e=t.charAt(1),i=t.charAt(2),r=t.charAt(3),t="#"+e+e+i+i+r+r),t=parseInt(t.substr(1),16),[t>>16,255&t>>8,255&t]):"hsl"===t.substr(0,3)?(t=t.match(d),s=Number(t[0])%360/360,n=Number(t[1])/100,a=Number(t[2])/100,i=.5>=a?a*(n+1):a+n-a*n,e=2*a-i,t.length>3&&(t[3]=Number(t[3])),t[0]=ae(s+1/3,e,i),t[1]=ae(s,e,i),t[2]=ae(s-1/3,e,i),t):(t=t.match(d)||ne.transparent,t[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t.length>3&&(t[3]=Number(t[3])),t)):ne.black},le="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(l in ne)le+="|"+l+"\\b";le=RegExp(le+")","gi");var he=function(t,e,i,r){if(null==t)return function(t){return t};var s,n=e?(t.match(le)||[""])[0]:"",a=t.split(n).join("").match(g)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",u=a.length,_=u>0?a[0].replace(d,""):"";return u?s=e?function(t){var e,p,f,c;if("number"==typeof t)t+=_;else if(r&&D.test(t)){for(c=t.replace(D,"|").split("|"),f=0;c.length>f;f++)c[f]=s(c[f]);return c.join(",")}if(e=(t.match(le)||[n])[0],p=t.split(e).join("").match(g)||[],f=p.length,u>f--)for(;u>++f;)p[f]=i?p[0|(f-1)/2]:a[f];return o+p.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,n,p;if("number"==typeof t)t+=_;else if(r&&D.test(t)){for(n=t.replace(D,"|").split("|"),p=0;n.length>p;p++)n[p]=s(n[p]);return n.join(",")}if(e=t.match(g)||[],p=e.length,u>p--)for(;u>++p;)e[p]=i?e[0|(p-1)/2]:a[p];return o+e.join(h)+l}:function(t){return t}},ue=function(t){return t=t.split(","),function(e,i,r,s,n,a,o){var l,h=(i+"").split(" ");for(o={},l=0;4>l;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return s.parse(e,o,n,a)}},_e=(F._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,s,n=this.data,a=n.proxy,o=n.firstMPT,l=1e-6;o;)e=a[o.v],o.r?e=e>0?0|e+.5:0|e-.5:l>e&&e>-l&&(e=0),o.t[o.p]=e,o=o._next;if(n.autoRotate&&(n.autoRotate.rotation=a.rotation),1===t)for(o=n.firstMPT;o;){if(i=o.t,i.type){if(1===i.type){for(s=i.xs0+i.s+i.xs1,r=1;i.l>r;r++)s+=i["xn"+r]+i["xs"+(r+1)];i.e=s}}else i.e=i.s+i.xs0;o=o._next}},function(t,e,i,r,s){this.t=t,this.p=e,this.v=i,this.r=s,r&&(r._prev=this,this._next=r)}),pe=(F._parseToProxy=function(t,e,i,r,s,n){var a,o,l,h,u,_=r,p={},f={},c=i._transform,d=N;for(i._transform=null,N=e,r=u=i.parse(t,e,r,s),N=d,n&&(i._transform=c,_&&(_._prev=null,_._prev&&(_._prev._next=null)));r&&r!==_;){if(1>=r.type&&(o=r.p,f[o]=r.s+r.c,p[o]=r.s,n||(h=new _e(r,"s",o,h,r.r),r.c=0),1===r.type))for(a=r.l;--a>0;)l="xn"+a,o=r.p+"_"+l,f[o]=r.data[l],p[o]=r[l],n||(h=new _e(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:p,end:f,firstMPT:h,pt:u}},F.CSSPropTween=function(t,e,r,s,a,o,l,h,u,_,p){this.t=t,this.p=e,this.s=r,this.c=s,this.n=l||e,t instanceof pe||n.push(this.n),this.r=h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===_?r:_,this.e=void 0===p?r+s:p,a&&(this._next=a,a._prev=this)}),fe=a.parseComplex=function(t,e,i,r,s,n,a,o,l,u){i=i||n||"",a=new pe(t,e,0,0,a,u?2:1,null,!1,o,i,r),r+="";var _,p,f,c,g,v,y,T,x,w,P,S,R=i.split(", ").join(",").split(" "),k=r.split(", ").join(",").split(" "),C=R.length,A=h!==!1;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(R=R.join(" ").replace(D,", ").split(" "),k=k.join(" ").replace(D,", ").split(" "),C=R.length),C!==k.length&&(R=(n||"").split(" "),C=R.length),a.plugin=l,a.setRatio=u,_=0;C>_;_++)if(c=R[_],g=k[_],T=parseFloat(c),T||0===T)a.appendXtra("",T,ie(g,T),g.replace(m,""),A&&-1!==g.indexOf("px"),!0);else if(s&&("#"===c.charAt(0)||ne[c]||b.test(c)))S=","===g.charAt(g.length-1)?"),":")",c=oe(c),g=oe(g),x=c.length+g.length>6,x&&!z&&0===g[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(k[_]).join("transparent")):(z||(x=!1),a.appendXtra(x?"rgba(":"rgb(",c[0],g[0]-c[0],",",!0,!0).appendXtra("",c[1],g[1]-c[1],",",!0).appendXtra("",c[2],g[2]-c[2],x?",":S,!0),x&&(c=4>c.length?1:c[3],a.appendXtra("",c,(4>g.length?1:g[3])-c,S,!1)));else if(v=c.match(d)){if(y=g.match(m),!y||y.length!==v.length)return a;for(f=0,p=0;v.length>p;p++)P=v[p],w=c.indexOf(P,f),a.appendXtra(c.substr(f,w-f),Number(P),ie(y[p],P),"",A&&"px"===c.substr(w+P.length,2),0===p),f=w+P.length;a["xs"+a.l]+=c.substr(f)}else a["xs"+a.l]+=a.l?" "+c:c;if(-1!==r.indexOf("=")&&a.data){for(S=a.xs0+a.data.s,_=1;a.l>_;_++)S+=a["xs"+_]+a.data["xn"+_];a.e=S+a["xs"+_]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},ce=9;for(l=pe.prototype,l.l=l.pr=0;--ce>0;)l["xn"+ce]=0,l["xs"+ce]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,i,r,s,n){var a=this,o=a.l;return a["xs"+o]+=n&&o?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=r||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=s,a["xn"+o]=e,a.plugin||(a.xfirst=new pe(a,"xn"+o,e,i,a.xfirst||a,0,a.n,s,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=s,a)):(a["xs"+o]+=e+(r||""),a)};var de=function(t,e){e=e||{},this.p=e.prefix?V(t)||t:t,o[t]=o[this.p]=this,this.format=e.formatter||he(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},me=F._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,s,n=t.split(","),a=e.defaultValue;for(i=i||[a],r=0;n.length>r;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||a,s=new de(n[r],e)},ge=function(t){if(!o[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";me(t,{parser:function(t,i,r,s,n,a,l){var h=(window.GreenSockGlobals||window).com.greensock.plugins[e];return h?(h._cssRegister(),o[r].parse(t,i,r,s,n,a,l)):(B("Error: "+e+" js file not loaded."),n)}})}};l=de.prototype,l.parseComplex=function(t,e,i,r,s,n){var a,o,l,h,u,_,p=this.keyword;if(this.multi&&(D.test(i)||D.test(e)?(o=e.replace(D,"|").split("|"),l=i.replace(D,"|").split("|")):p&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,p&&(u=e.indexOf(p),_=i.indexOf(p),u!==_&&(i=-1===_?l:o,i[a]+=" "+p));e=o.join(", "),i=l.join(", ")}return fe(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,s,n)},l.parse=function(t,e,i,r,n,a){return this.parseComplex(t.style,this.format(H(t,this.p,s,!1,this.dflt)),this.format(e),n,a)},a.registerSpecialProp=function(t,e,i){me(t,{parser:function(t,r,s,n,a,o){var l=new pe(t,s,0,0,a,2,s,!1,i);return l.plugin=o,l.setRatio=e(t,r,n._tween,s),l},priority:i})};var ve="scaleX,scaleY,scaleZ,x,y,z,skewX,rotation,rotationX,rotationY,perspective".split(","),ye=V("transform"),Te=j+"transform",xe=V("transformOrigin"),we=null!==V("perspective"),be=function(t,e,i,r){if(t._gsTransform&&i&&!r)return t._gsTransform;var s,n,o,l,h,u,_,p,f,c,d,m,g,v=i?t._gsTransform||{skewY:0}:{skewY:0},y=0>v.scaleX,T=2e-5,x=1e5,w=179.99,b=w*M,P=we?parseFloat(H(t,xe,e,!1,"0 0 0").split(" ")[2])||v.zOrigin||0:0;for(ye?s=H(t,Te,e,!0):t.currentStyle&&(s=t.currentStyle.filter.match(A),s=s&&4===s.length?[s[0].substr(4),Number(s[2].substr(4)),Number(s[1].substr(4)),s[3].substr(4),v.x||0,v.y||0].join(","):""),n=(s||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],o=n.length;--o>-1;)l=Number(n[o]),n[o]=(h=l-(l|=0))?(0|h*x+(0>h?-.5:.5))/x+l:l;if(16===n.length){var S=n[8],R=n[9],k=n[10],C=n[12],O=n[13],D=n[14];if(v.zOrigin&&(D=-v.zOrigin,C=S*D-n[12],O=R*D-n[13],D=k*D+v.zOrigin-n[14]),!i||r||null==v.rotationX){var N,X,I,E,F,Y,z,U=n[0],B=n[1],j=n[2],W=n[3],V=n[4],q=n[5],Q=n[6],Z=n[7],$=n[11],G=Math.atan2(Q,k),K=-b>G||G>b;v.rotationX=G*L,G&&(E=Math.cos(-G),F=Math.sin(-G),N=V*E+S*F,X=q*E+R*F,I=Q*E+k*F,S=V*-F+S*E,R=q*-F+R*E,k=Q*-F+k*E,$=Z*-F+$*E,V=N,q=X,Q=I),G=Math.atan2(S,U),v.rotationY=G*L,G&&(Y=-b>G||G>b,E=Math.cos(-G),F=Math.sin(-G),N=U*E-S*F,X=B*E-R*F,I=j*E-k*F,R=B*F+R*E,k=j*F+k*E,$=W*F+$*E,U=N,B=X,j=I),G=Math.atan2(B,q),v.rotation=G*L,G&&(z=-b>G||G>b,E=Math.cos(-G),F=Math.sin(-G),U=U*E+V*F,X=B*E+q*F,q=B*-F+q*E,Q=j*-F+Q*E,B=X),z&&K?v.rotation=v.rotationX=0:z&&Y?v.rotation=v.rotationY=0:Y&&K&&(v.rotationY=v.rotationX=0),v.scaleX=(0|Math.sqrt(U*U+B*B)*x+.5)/x,v.scaleY=(0|Math.sqrt(q*q+R*R)*x+.5)/x,v.scaleZ=(0|Math.sqrt(Q*Q+k*k)*x+.5)/x,v.skewX=0,v.perspective=$?1/(0>$?-$:$):0,v.x=C,v.y=O,v.z=D}}else if(!(we&&!r&&n.length&&v.x===n[4]&&v.y===n[5]&&(v.rotationX||v.rotationY)||void 0!==v.x&&"none"===H(t,"display",e))){var J=n.length>=6,te=J?n[0]:1,ee=n[1]||0,ie=n[2]||0,re=J?n[3]:1;v.x=n[4]||0,v.y=n[5]||0,u=Math.sqrt(te*te+ee*ee),_=Math.sqrt(re*re+ie*ie),p=te||ee?Math.atan2(ee,te)*L:v.rotation||0,f=ie||re?Math.atan2(ie,re)*L+p:v.skewX||0,c=u-Math.abs(v.scaleX||0),d=_-Math.abs(v.scaleY||0),Math.abs(f)>90&&270>Math.abs(f)&&(y?(u*=-1,f+=0>=p?180:-180,p+=0>=p?180:-180):(_*=-1,f+=0>=f?180:-180)),m=(p-v.rotation)%180,g=(f-v.skewX)%180,(void 0===v.skewX||c>T||-T>c||d>T||-T>d||m>-w&&w>m&&false|m*x||g>-w&&w>g&&false|g*x)&&(v.scaleX=u,v.scaleY=_,v.rotation=p,v.skewX=f),we&&(v.rotationX=v.rotationY=v.z=0,v.perspective=parseFloat(a.defaultTransformPerspective)||0,v.scaleZ=1)}v.zOrigin=P;for(o in v)T>v[o]&&v[o]>-T&&(v[o]=0);return i&&(t._gsTransform=v),v},Pe=function(t){var e,i,r=this.data,s=-r.rotation*M,n=s+r.skewX*M,a=1e5,o=(0|Math.cos(s)*r.scaleX*a)/a,l=(0|Math.sin(s)*r.scaleX*a)/a,h=(0|Math.sin(n)*-r.scaleY*a)/a,u=(0|Math.cos(n)*r.scaleY*a)/a,_=this.t.style,p=this.t.currentStyle;if(p){i=l,l=-h,h=-i,e=p.filter,_.filter="";var f,d,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==p.position,x="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,w=r.x,b=r.y;if(null!=r.ox&&(f=(r.oxp?.01*m*r.ox:r.ox)-m/2,d=(r.oyp?.01*g*r.oy:r.oy)-g/2,w+=f-(f*o+d*l),b+=d-(f*h+d*u)),v?(f=m/2,d=g/2,x+=", Dx="+(f-(f*o+d*l)+w)+", Dy="+(d-(f*h+d*u)+b)+")"):x+=", sizingMethod='auto expand')",_.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(O,x):x+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(v&&-1===x.indexOf("Dx=0, Dy=0")||T.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf("gradient("&&e.indexOf("Alpha"))&&_.removeAttribute("filter")),!v){var P,S,R,k=8>c?1:-1;for(f=r.ieOffsetX||0,d=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+w),r.ieOffsetY=Math.round((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+b),ce=0;4>ce;ce++)S=J[ce],P=p[S],i=-1!==P.indexOf("px")?parseFloat(P):Q(this.t,S,parseFloat(P),P.replace(y,""))||0,R=i!==r[S]?2>ce?-r.ieOffsetX:-r.ieOffsetY:2>ce?f-r.ieOffsetX:d-r.ieOffsetY,_[S]=(r[S]=Math.round(i-R*(0===ce||2===ce?1:k)))+"px"}}},Se=function(){var t,e,i,r,s,n,a,o,l,h,u,_,f,c,d,m,g,v,y,T,x,w,b,P=this.data,S=this.t.style,R=P.rotation*M,k=P.scaleX,C=P.scaleY,A=P.scaleZ,O=P.perspective;if(p){var D=1e-4;D>k&&k>-D&&(k=A=2e-5),D>C&&C>-D&&(C=A=2e-5),!O||P.z||P.rotationX||P.rotationY||(O=0)}if(R||P.skewX)v=Math.cos(R),y=Math.sin(R),t=v,s=y,P.skewX&&(R-=P.skewX*M,v=Math.cos(R),y=Math.sin(R)),e=-y,n=v;else{if(!(P.rotationY||P.rotationX||1!==A||O))return S[ye]="translate3d("+P.x+"px,"+P.y+"px,"+P.z+"px)"+(1!==k||1!==C?" scale("+k+","+C+")":""),void 0;t=n=1,e=s=0}u=1,i=r=a=o=l=h=_=f=c=0,d=O?-1/O:0,m=P.zOrigin,g=1e5,R=P.rotationY*M,R&&(v=Math.cos(R),y=Math.sin(R),l=u*-y,f=d*-y,i=t*y,a=s*y,u*=v,d*=v,t*=v,s*=v),R=P.rotationX*M,R&&(v=Math.cos(R),y=Math.sin(R),T=e*v+i*y,x=n*v+a*y,w=h*v+u*y,b=c*v+d*y,i=e*-y+i*v,a=n*-y+a*v,u=h*-y+u*v,d=c*-y+d*v,e=T,n=x,h=w,c=b),1!==A&&(i*=A,a*=A,u*=A,d*=A),1!==C&&(e*=C,n*=C,h*=C,c*=C),1!==k&&(t*=k,s*=k,l*=k,f*=k),m&&(_-=m,r=i*_,o=a*_,_=u*_+m),r=(T=(r+=P.x)-(r|=0))?(0|T*g+(0>T?-.5:.5))/g+r:r,o=(T=(o+=P.y)-(o|=0))?(0|T*g+(0>T?-.5:.5))/g+o:o,_=(T=(_+=P.z)-(_|=0))?(0|T*g+(0>T?-.5:.5))/g+_:_,S[ye]="matrix3d("+[(0|t*g)/g,(0|s*g)/g,(0|l*g)/g,(0|f*g)/g,(0|e*g)/g,(0|n*g)/g,(0|h*g)/g,(0|c*g)/g,(0|i*g)/g,(0|a*g)/g,(0|u*g)/g,(0|d*g)/g,r,o,_,O?1+-_/O:1].join(",")+")"},Re=function(t){var e,i,r,s,n,a=this.data,o=this.t,l=o.style;return a.rotationX||a.rotationY||a.z||a.force3D?(this.setRatio=Se,Se.call(this,t),void 0):(a.rotation||a.skewX?(e=a.rotation*M,i=e-a.skewX*M,r=1e5,s=a.scaleX*r,n=a.scaleY*r,l[ye]="matrix("+(0|Math.cos(e)*s)/r+","+(0|Math.sin(e)*s)/r+","+(0|Math.sin(i)*-n)/r+","+(0|Math.cos(i)*n)/r+","+a.x+","+a.y+")"):l[ye]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")",void 0)};me("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D",{parser:function(t,e,i,r,n,a,o){if(r._transform)return n;var l,h,u,_,p,f,c,d=r._transform=be(t,s,!0,o.parseTransform),m=t.style,g=1e-6,v=ve.length,y=o,T={};if("string"==typeof y.transform&&ye)u=m.cssText,m[ye]=y.transform,m.display="block",l=be(t,null,!1),m.cssText=u;else if("object"==typeof y){if(l={scaleX:re(null!=y.scaleX?y.scaleX:y.scale,d.scaleX),scaleY:re(null!=y.scaleY?y.scaleY:y.scale,d.scaleY),scaleZ:re(y.scaleZ,d.scaleZ),x:re(y.x,d.x),y:re(y.y,d.y),z:re(y.z,d.z),perspective:re(y.transformPerspective,d.perspective)},c=y.directionalRotation,null!=c)if("object"==typeof c)for(u in c)y[u]=c[u];else y.rotation=c;l.rotation=se("rotation"in y?y.rotation:"shortRotation"in y?y.shortRotation+"_short":"rotationZ"in y?y.rotationZ:d.rotation,d.rotation,"rotation",T),we&&(l.rotationX=se("rotationX"in y?y.rotationX:"shortRotationX"in y?y.shortRotationX+"_short":d.rotationX||0,d.rotationX,"rotationX",T),l.rotationY=se("rotationY"in y?y.rotationY:"shortRotationY"in y?y.shortRotationY+"_short":d.rotationY||0,d.rotationY,"rotationY",T)),l.skewX=null==y.skewX?d.skewX:se(y.skewX,d.skewX),l.skewY=null==y.skewY?d.skewY:se(y.skewY,d.skewY),(h=l.skewY-d.skewY)&&(l.skewX+=h,l.rotation+=h)}for(we&&null!=y.force3D&&(d.force3D=y.force3D,f=!0),p=d.force3D||d.z||d.rotationX||d.rotationY||l.z||l.rotationX||l.rotationY||l.perspective,p||null==y.scale||(l.scaleZ=1);--v>-1;)i=ve[v],_=l[i]-d[i],(_>g||-g>_||null!=N[i])&&(f=!0,n=new pe(d,i,d[i],_,n),i in T&&(n.e=T[i]),n.xs0=0,n.plugin=a,r._overwriteProps.push(n.n));return _=y.transformOrigin,(_||we&&p&&d.zOrigin)&&(ye?(f=!0,i=xe,_=(_||H(t,i,s,!1,"50% 50%"))+"",n=new pe(m,i,0,0,n,-1,"transformOrigin"),n.b=m[i],n.plugin=a,we?(u=d.zOrigin,_=_.split(" "),d.zOrigin=(_.length>2&&(0===u||"0px"!==_[2])?parseFloat(_[2]):u)||0,n.xs0=n.e=m[i]=_[0]+" "+(_[1]||"50%")+" 0px",n=new pe(d,"zOrigin",0,0,n,-1,n.n),n.b=u,n.xs0=n.e=d.zOrigin):n.xs0=n.e=m[i]=_):ee(_+"",d)),f&&(r._transformType=p||3===this._transformType?3:2),n},prefix:!0}),me("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),me("borderRadius",{defaultValue:"0px",parser:function(t,e,i,n,a){e=this.format(e);var o,l,h,u,_,p,f,c,d,m,g,v,y,T,x,w,b=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],P=t.style;for(d=parseFloat(t.offsetWidth),m=parseFloat(t.offsetHeight),o=e.split(" "),l=0;b.length>l;l++)this.p.indexOf("border")&&(b[l]=V(b[l])),_=u=H(t,b[l],s,!1,"0px"),-1!==_.indexOf(" ")&&(u=_.split(" "),_=u[0],u=u[1]),p=h=o[l],f=parseFloat(_),v=_.substr((f+"").length),y="="===p.charAt(1),y?(c=parseInt(p.charAt(0)+"1",10),p=p.substr(2),c*=parseFloat(p),g=p.substr((c+"").length-(0>c?1:0))||""):(c=parseFloat(p),g=p.substr((c+"").length)),""===g&&(g=r[i]||v),g!==v&&(T=Q(t,"borderLeft",f,v),x=Q(t,"borderTop",f,v),"%"===g?(_=100*(T/d)+"%",u=100*(x/m)+"%"):"em"===g?(w=Q(t,"borderLeft",1,"em"),_=T/w+"em",u=x/w+"em"):(_=T+"px",u=x+"px"),y&&(p=parseFloat(_)+c+g,h=parseFloat(u)+c+g)),a=fe(P,b[l],_+" "+u,p+" "+h,!1,"0px",a);return a},prefix:!0,formatter:he("0px 0px 0px 0px",!1,!0)}),me("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,n,a){var o,l,h,u,_,p,f="background-position",d=s||q(t,null),m=this.format((d?c?d.getPropertyValue(f+"-x")+" "+d.getPropertyValue(f+"-y"):d.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&(p=H(t,"backgroundImage").replace(R,""),p&&"none"!==p)){for(o=m.split(" "),l=g.split(" "),E.setAttribute("src",p),h=2;--h>-1;)m=o[h],u=-1!==m.indexOf("%"),u!==(-1!==l[h].indexOf("%"))&&(_=0===h?t.offsetWidth-E.width:t.offsetHeight-E.height,o[h]=u?parseFloat(m)/100*_+"px":100*(parseFloat(m)/_)+"%");m=o.join(" ")}return this.parseComplex(t.style,m,g,n,a)},formatter:ee}),me("backgroundSize",{defaultValue:"0 0",formatter:ee}),me("perspective",{defaultValue:"0px",prefix:!0}),me("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),me("transformStyle",{prefix:!0}),me("backfaceVisibility",{prefix:!0}),me("userSelect",{prefix:!0}),me("margin",{parser:ue("marginTop,marginRight,marginBottom,marginLeft")}),me("padding",{parser:ue("paddingTop,paddingRight,paddingBottom,paddingLeft")}),me("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,n,a){var o,l,h;return 9>c?(l=t.currentStyle,h=8>c?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(H(t,this.p,s,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,n,a)}}),me("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),me("autoRound,strictUnits",{parser:function(t,e,i,r,s){return s}}),me("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,n,a){return this.parseComplex(t.style,this.format(H(t,"borderTopWidth",s,!1,"0px")+" "+H(t,"borderTopStyle",s,!1,"solid")+" "+H(t,"borderTopColor",s,!1,"#000")),this.format(e),n,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(le)||["#000"])[0]}}),me("borderWidth",{parser:ue("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),me("float,cssFloat,styleFloat",{parser:function(t,e,i,r,s){var n=t.style,a="cssFloat"in n?"cssFloat":"styleFloat";return new pe(n,a,0,0,s,-1,i,!1,0,n[a],e)}});var ke=function(t){var e,i=this.t,r=i.filter||H(this.data,"filter"),s=0|this.s+this.c*t;100===s&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!H(this.data,"filter")):(i.filter=r.replace(w,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+s+")"),-1===r.indexOf("opacity")?0===s&&this.xn1||(i.filter=r+" alpha(opacity="+s+")"):i.filter=r.replace(T,"opacity="+s))};me("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,n,a){var o=parseFloat(H(t,"opacity",s,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===H(t,"visibility",s)&&0!==e&&(o=0),z?n=new pe(l,"opacity",o,e-o,n):(n=new pe(l,"opacity",100*o,100*(e-o),n),n.xn1=h?1:0,l.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=a,n.setRatio=ke),h&&(n=new pe(l,"visibility",0,0,n,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit"),n.xs0="inherit",r._overwriteProps.push(n.n),r._overwriteProps.push(i)),n}});var Ce=function(t,e){e&&(t.removeProperty?t.removeProperty(e.replace(P,"-$1").toLowerCase()):t.removeAttribute(e))},Ae=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.className=0===t?this.b:this.e;for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ce(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.className!==this.e&&(this.t.className=this.e)};me("className",{parser:function(t,e,r,n,a,o,l){var h,u,_,p,f,c=t.className,d=t.style.cssText;if(a=n._classNamePT=new pe(t,r,0,0,a,2),a.setRatio=Ae,a.pr=-11,i=!0,a.b=c,u=$(t,s),_=t._gsClassPT){for(p={},f=_.data;f;)p[f.p]=1,f=f._next;_.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:c.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),n._tween._duration&&(t.className=a.e,h=G(t,u,$(t),l,p),t.className=c,a.data=h.firstMPT,t.style.cssText=d,a=a.xfirst=n.parse(t,h.difs,a,o)),a}});var Oe=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,s,n=this.t.style,a=o.transform.parse;if("all"===this.e)n.cssText="",s=!0;else for(e=this.e.split(","),r=e.length;--r>-1;)i=e[r],o[i]&&(o[i].parse===a?s=!0:i="transformOrigin"===i?xe:o[i].p),Ce(n,i);s&&(Ce(n,ye),this.t._gsTransform&&delete this.t._gsTransform)}};for(me("clearProps",{parser:function(t,e,r,s,n){return n=new pe(t,r,0,0,n,2),n.setRatio=Oe,n.e=e,n.pr=-10,n.data=s._tween,i=!0,n}}),l="bezier,throwProps,physicsProps,physics2D".split(","),ce=l.length;ce--;)ge(l[ce]);l=a.prototype,l._firstPT=null,l._onInitTween=function(t,e,o){if(!t.nodeType)return!1;this._target=t,this._tween=o,this._vars=e,h=e.autoRound,i=!1,r=e.suffixMap||a.suffixMap,s=q(t,""),n=this._overwriteProps;var l,p,c,d,m,g,v,y,T,w=t.style;if(u&&""===w.zIndex&&(l=H(t,"zIndex",s),("auto"===l||""===l)&&(w.zIndex=0)),"string"==typeof e&&(d=w.cssText,l=$(t,s),w.cssText=d+";"+e,l=G(t,l,$(t)).difs,!z&&x.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,w.cssText=d),this._firstPT=p=this.parse(t,e,null),this._transformType){for(T=3===this._transformType,ye?_&&(u=!0,""===w.zIndex&&(v=H(t,"zIndex",s),("auto"===v||""===v)&&(w.zIndex=0)),f&&(w.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(T?"visible":"hidden"))):w.zoom=1,c=p;c&&c._next;)c=c._next;y=new pe(t,"transform",0,0,null,2),this._linkCSSP(y,null,c),y.setRatio=T&&we?Se:ye?Re:Pe,y.data=this._transform||be(t,s,!0),n.pop()}if(i){for(;p;){for(g=p._next,c=d;c&&c.pr>p.pr;)c=c._next;(p._prev=c?c._prev:m)?p._prev._next=p:d=p,(p._next=c)?c._prev=p:m=p,p=g}this._firstPT=d}return!0},l.parse=function(t,e,i,n){var a,l,u,_,p,f,c,d,m,g,v=t.style;for(a in e)f=e[a],l=o[a],l?i=l.parse(t,f,a,this,i,n,e):(p=H(t,a,s)+"",m="string"==typeof f,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||m&&b.test(f)?(m||(f=oe(f),f=(f.length>3?"rgba(":"rgb(")+f.join(",")+")"),i=fe(v,a,p,f,!0,"transparent",i,0,n)):!m||-1===f.indexOf(" ")&&-1===f.indexOf(",")?(u=parseFloat(p),c=u||0===u?p.substr((u+"").length):"",(""===p||"auto"===p)&&("width"===a||"height"===a?(u=te(t,a,s),c="px"):"left"===a||"top"===a?(u=Z(t,a,s),c="px"):(u="opacity"!==a?0:1,c="")),g=m&&"="===f.charAt(1),g?(_=parseInt(f.charAt(0)+"1",10),f=f.substr(2),_*=parseFloat(f),d=f.replace(y,"")):(_=parseFloat(f),d=m?f.substr((_+"").length)||"":""),""===d&&(d=a in r?r[a]:c),f=_||0===_?(g?_+u:_)+d:e[a],c!==d&&""!==d&&(_||0===_)&&(u||0===u)&&(u=Q(t,a,u,c),"%"===d?(u/=Q(t,a,100,"%")/100,e.strictUnits!==!0&&(p=u+"%")):"em"===d?u/=Q(t,a,1,"em"):(_=Q(t,a,_,d),d="px"),g&&(_||0===_)&&(f=_+u+d)),g&&(_+=u),!u&&0!==u||!_&&0!==_?void 0!==v[a]&&(f||"NaN"!=f+""&&null!=f)?(i=new pe(v,a,_||u||0,0,i,-1,a,!1,0,p,f),i.xs0="none"!==f||"display"!==a&&-1===a.indexOf("Style")?f:p):B("invalid "+a+" tween value: "+e[a]):(i=new pe(v,a,u,_-u,i,0,a,h!==!1&&("px"===d||"zIndex"===a),0,p,f),i.xs0=d)):i=fe(v,a,p,f,!0,null,i,0,n)),n&&i&&!i.plugin&&(i.plugin=n);return i},l.setRatio=function(t){var e,i,r,s=this._firstPT,n=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;s;){if(e=s.c*t+s.s,s.r?e=e>0?0|e+.5:0|e-.5:n>e&&e>-n&&(e=0),s.type)if(1===s.type)if(r=s.l,2===r)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2;else if(3===r)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===r)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===r)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(i=s.xs0+e+s.xs1,r=1;s.l>r;r++)i+=s["xn"+r]+s["xs"+(r+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else for(;s;)2!==s.type?s.t[s.p]=s.e:s.setRatio(t),s=s._next},l._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2,this._transform=this._transform||be(this._target,s,!0)},l._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},l._kill=function(e){var i,r,s,n=e;if(e.autoAlpha||e.alpha){n={};for(r in e)n[r]=e[r];n.opacity=1,n.autoAlpha&&(n.visibility=1)}return e.className&&(i=this._classNamePT)&&(s=i.xfirst,s&&s._prev?this._linkCSSP(s._prev,i._next,s._prev._prev):s===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,s._prev),this._classNamePT=null),t.prototype._kill.call(this,n)};var De=function(t,e,i){var r,s,n,a;if(t.slice)for(s=t.length;--s>-1;)De(t[s],e,i);else for(r=t.childNodes,s=r.length;--s>-1;)n=r[s],a=n.type,n.style&&(e.push($(n)),i&&i.push(n)),1!==a&&9!==a&&11!==a||!n.childNodes.length||De(n,e,i)};return a.cascadeTo=function(t,i,r){var s,n,a,o=e.to(t,i,r),l=[o],h=[],u=[],_=[],p=e._internals.reservedProps;for(t=o._targets||o.target,De(t,h,_),o.render(i,!0),De(t,u),o.render(0,!0),o._enabled(!0),s=_.length;--s>-1;)if(n=G(_[s],h[s],u[s]),n.firstMPT){n=n.difs;for(a in r)p[a]&&(n[a]=r[a]);l.push(e.to(_[s],i,n))}return l},t.activate([a]),a},!0)}),window._gsDefine&&window._gsQueue.pop()(); - -// WAIT FOR IMAGES -/* - * waitForImages 1.4 - * ----------------- - * Provides a callback when all images have loaded in your given selector. - * http://www.alexanderdickson.com/ - * - * - * Copyright (c) 2011 Alex Dickson - * Licensed under the MIT licenses. - * See website for more info. - * - */ - -(function(e,t){ - e.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};e.expr[":"].uncached=function(t){var n=document.createElement("img");n.src=t.src;return e(t).is('img[src!=""]')&&!n.complete};e.fn.waitForImages=function(t,n,r){if(e.isPlainObject(arguments[0])){n=t.each;r=t.waitForAll;t=t.finished}t=t||e.noop;n=n||e.noop;r=!!r;if(!e.isFunction(t)||!e.isFunction(n)){throw new TypeError("An invalid callback was supplied.")}return this.each(function(){var i=e(this),s=[];if(r){var o=e.waitForImages.hasImageProperties||[],u=/url\((['"]?)(.*?)\1\)/g;i.find("*").each(function(){var t=e(this);if(t.is("img:uncached")){s.push({src:t.attr("src"),element:t[0]})}e.each(o,function(e,n){var r=t.css(n);if(!r){return true}var i;while(i=u.exec(r)){s.push({src:i[2],element:t[0]})}})})}else{i.find("img:uncached").each(function(){s.push({src:this.src,element:this})})}var f=s.length,l=0;if(f==0){t.call(i[0])}e.each(s,function(r,s){var o=new Image;e(o).bind("load error",function(e){l++;n.call(s.element,l,f,e.type=="load");if(l==f){t.call(i[0]);return false}});o.src=s.src})})}; -})(jQuery) diff --git a/examples&sources/rs-plugin/js/jquery.themepunch.revolution.js b/examples&sources/rs-plugin/js/jquery.themepunch.revolution.js deleted file mode 100644 index 97c0cab..0000000 --- a/examples&sources/rs-plugin/js/jquery.themepunch.revolution.js +++ /dev/null @@ -1,5544 +0,0 @@ - -/************************************************************************** - * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider - * @version: 4.3.6 (16.04.2013) - * @requires jQuery v1.7 or later (tested on 1.9) - * @author ThemePunch -**************************************************************************/ -(function(jQuery,undefined){ - - - //////////////////////////////////////// - // THE REVOLUTION PLUGIN STARTS HERE // - /////////////////////////////////////// - - jQuery.fn.extend({ - - // OUR PLUGIN HERE :) - revolution: function(options) { - - - - //////////////////////////////// - // SET DEFAULT VALUES OF ITEM // - //////////////////////////////// - jQuery.fn.revolution.defaults = { - delay:9000, - startheight:500, - startwidth:960, - fullScreenAlignForce:"off", - autoHeight:"off", - hideTimerBar:"off", - hideThumbs:200, - hideNavDelayOnMobile:1500, - - thumbWidth:100, // Thumb With and Height and Amount (only if navigation Tyope set to thumb !) - thumbHeight:50, - thumbAmount:3, - - navigationType:"bullet", // bullet, thumb, none - navigationArrows:"solo", // nextto, solo, none - - hideThumbsOnMobile:"off", - hideBulletsOnMobile:"off", - hideArrowsOnMobile:"off", - hideThumbsUnderResoluition:0, - - navigationStyle:"round", // round,square,navbar,round-old,square-old,navbar-old, or any from the list in the docu (choose between 50+ different item), - - navigationHAlign:"center", // Vertical Align top,center,bottom - navigationVAlign:"bottom", // Horizontal Align left,center,right - navigationHOffset:0, - navigationVOffset:20, - - soloArrowLeftHalign:"left", - soloArrowLeftValign:"center", - soloArrowLeftHOffset:20, - soloArrowLeftVOffset:0, - - soloArrowRightHalign:"right", - soloArrowRightValign:"center", - soloArrowRightHOffset:20, - soloArrowRightVOffset:0, - - keyboardNavigation:"on", - - touchenabled:"on", // Enable Swipe Function : on/off - onHoverStop:"on", // Stop Banner Timet at Hover on Slide on/off - - - stopAtSlide:-1, // Stop Timer if Slide "x" has been Reached. If stopAfterLoops set to 0, then it stops already in the first Loop at slide X which defined. -1 means do not stop at any slide. stopAfterLoops has no sinn in this case. - stopAfterLoops:-1, // Stop Timer if All slides has been played "x" times. IT will stop at THe slide which is defined via stopAtSlide:x, if set to -1 slide never stop automatic - - hideCaptionAtLimit:0, // It Defines if a caption should be shown under a Screen Resolution ( Basod on The Width of Browser) - hideAllCaptionAtLimit:0, // Hide all The Captions if Width of Browser is less then this value - hideSliderAtLimit:0, // Hide the whole slider, and stop also functions if Width of Browser is less than this value - - shadow:0, //0 = no Shadow, 1,2,3 = 3 Different Art of Shadows (No Shadow in Fullwidth Version !) - fullWidth:"off", // Turns On or Off the Fullwidth Image Centering in FullWidth Modus - fullScreen:"off", - minFullScreenHeight:0, // The Minimum FullScreen Height - fullScreenOffsetContainer:"", - dottedOverlay:"none", //twoxtwo, threexthree, twoxtwowhite, threexthreewhite - - forceFullWidth:"off", // Force The FullWidth - - spinner:"spinner0", - - swipe_velocity : 0.4, // Touch Sensibility between 0 - 1. Less the number is, higher the sensibility - swipe_max_touches : 1, // Max Finger (touch) used for swipe - swipe_min_touches : 1, // Min Finger (touch) used for swipe - drag_block_vertical:false, // Prevent Vertical Scroll during Swipe - isJoomla:false, - parallax:"off", - parallaxLevels: [10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85], - parallaxBgFreeze: "off" - - - }; - - options = jQuery.extend({}, jQuery.fn.revolution.defaults, options); - - - - - - return this.each(function() { - - var opt=options; - - opt.desktop = !navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i); - - if (opt.fullWidth!="on" && opt.fullScreen!="on") opt.autoHeight = "off"; - if (opt.fullScreen=="on") opt.autoHeight = "on"; - if (opt.fullWidth!="on" && opt.fullScreen!="on") forceFulWidth="off"; - - var container=jQuery(this); - - if (opt.fullWidth=="on" && opt.autoHeight=="off") - container.css({maxHeight:opt.startheight+"px"}); - - if (is_mobile() && opt.hideThumbsOnMobile=="on" && opt.navigationType=="thumb") - opt.navigationType = "none" - - if (is_mobile() && opt.hideBulletsOnMobile=="on" && opt.navigationType=="bullet") - opt.navigationType = "none" - - if (is_mobile() && opt.hideBulletsOnMobile=="on" && opt.navigationType=="both") - opt.navigationType = "none" - - if (is_mobile() && opt.hideArrowsOnMobile=="on") - opt.navigationArrows = "none" - - if (opt.forceFullWidth=="on") { - - var loff = container.parent().offset().left; - var mb = container.parent().css('marginBottom'); - var mt = container.parent().css('marginTop'); - if (mb==undefined) mb=0; - if (mt==undefined) mt=0; - - container.parent().wrap('
'); - container.closest('.forcefullwidth_wrapper_tp_banner').append('
'); - container.css({'backgroundColor':container.parent().css('backgroundColor'),'backgroundImage':container.parent().css('backgroundImage')}); - //container.parent().css({'position':'absolute','width':jQuery(window).width()}); - container.parent().css({'left':(0-loff)+"px",position:'absolute','width':jQuery(window).width()}); - opt.width=jQuery(window).width(); - } - - // HIDE THUMBS UNDER RESOLUTION - try{ - if (opt.hideThumbsUnderResolution>jQuery(window).width() && opt.hideThumbsUnderResolution!=0) { - container.parent().find('.tp-bullets.tp-thumbs').css({display:"none"}); - } else { - container.parent().find('.tp-bullets.tp-thumbs').css({display:"block"}); - } - } catch(e) {} - - if (!container.hasClass("revslider-initialised")) { - - container.addClass("revslider-initialised"); - if (container.attr('id')==undefined) container.attr('id',"revslider-"+Math.round(Math.random()*1000+5)); - - // CHECK IF FIREFOX 13 IS ON WAY.. IT HAS A STRANGE BUG, CSS ANIMATE SHOULD NOT BE USED - - - - opt.firefox13 = false; - opt.ie = !jQuery.support.opacity; - opt.ie9 = (document.documentMode == 9); - - opt.origcd=opt.delay; - - // CHECK THE jQUERY VERSION - var version = jQuery.fn.jquery.split('.'), - versionTop = parseFloat(version[0]), - versionMinor = parseFloat(version[1]), - versionIncrement = parseFloat(version[2] || '0'); - - if (versionTop==1 && versionMinor < 7) { - container.html('
The Current Version of jQuery:'+version+'
Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin
'); - } - - if (versionTop>1) opt.ie=false; - - - // Delegate .transition() calls to .animate() - // if the browser can't do CSS transitions. - if (!jQuery.support.transition) - jQuery.fn.transition = jQuery.fn.animate; - - // CATCH THE CONTAINER - - - // LOAD THE YOUTUBE API IF NECESSARY - - container.find('.caption').each(function() { jQuery(this).addClass('tp-caption')}); - - if (is_mobile()) { - container.find('.tp-caption').each(function() { - if (jQuery(this).data('autoplay')==true) - jQuery(this).data('autoplay',false); - // && jQuery(this).data('forcecover')!=1) - }) - } - - - var addedyt=0; - var addedvim=0; - var addedvid=0; - var httpprefix = "http"; - - if (location.protocol === 'https:') { - httpprefix = "https"; - } - container.find('.tp-caption iframe').each(function(i) { - try { - - if (jQuery(this).attr('src').indexOf('you')>0 && addedyt==0) { - addedyt=1; - var s = document.createElement("script"); - var httpprefix2 = "https"; - s.src = httpprefix2+"://www.youtube.com/iframe_api"; /* Load Player API*/ - - var before = document.getElementsByTagName("script")[0]; - var loadit = true; - jQuery('head').find('*').each(function(){ - if (jQuery(this).attr('src') == httpprefix2+"://www.youtube.com/iframe_api") - loadit = false; - }); - if (loadit) { - before.parentNode.insertBefore(s, before); - - - } - } - } catch(e) {} - }); - - - - // LOAD THE VIMEO API - container.find('.tp-caption iframe').each(function(i) { - try{ - if (jQuery(this).attr('src').indexOf('vim')>0 && addedvim==0) { - addedvim=1; - var f = document.createElement("script"); - f.src = httpprefix+"://a.vimeocdn.com/js/froogaloop2.min.js"; /* Load Player API*/ - var before = document.getElementsByTagName("script")[0]; - - var loadit = true; - jQuery('head').find('*').each(function(){ - if (jQuery(this).attr('src') == httpprefix+"://a.vimeocdn.com/js/froogaloop2.min.js") - loadit = false; - }); - if (loadit) - before.parentNode.insertBefore(f, before); - } - } catch(e) {} - }); - - - - - - // LOAD THE VIDEO.JS API IF NEEDED - container.find('.tp-caption video').each(function(i) { - jQuery(this).removeClass("video-js").removeClass("vjs-default-skin"); - jQuery(this).attr("preload",""); - jQuery(this).css({display:"none"}); - }); - - // SHUFFLE MODE - if (opt.shuffle=="on") { - for (var u=0;uul:first-child >li').length;u++) { - var it = Math.round(Math.random()*container.find('>ul:first-child >li').length); - container.find('>ul:first-child >li:eq('+it+')').prependTo(container.find('>ul:first-child')); - } - } - - - // CREATE SOME DEFAULT OPTIONS FOR LATER - opt.slots=4; - opt.act=-1; - opt.next=0; - - // IF START SLIDE IS SET - if (opt.startWithSlide !=undefined) opt.next=opt.startWithSlide; - - // IF DEEPLINK HAS BEEN SET - var deeplink = getUrlVars("#")[0]; - if (deeplink.length<9) { - if (deeplink.split('slide').length>1) { - var dslide=parseInt(deeplink.split('slide')[1],0); - if (dslide<1) dslide=1; - if (dslide>container.find('>ul:first >li').length) dslide=container.find('>ul:first >li').length; - opt.next=dslide-1; - } - } - - - opt.firststart=1; - - // BASIC OFFSET POSITIONS OF THE BULLETS - if (opt.navigationHOffset==undefined) opt.navOffsetHorizontal=0; - if (opt.navigationVOffset==undefined) opt.navOffsetVertical=0; - - - container.append('
'+ - '
'+ - '
'+ - '
'+ - '
'+ - '
'+ - '
'); - - // RESET THE TIMER - if (container.find('.tp-bannertimer').length==0) container.append(''); - var bt=container.find('.tp-bannertimer'); - if (bt.length>0) { - bt.css({'width':'0%'}); - }; - - - // WE NEED TO ADD A BASIC CLASS FOR SETTINGS.CSS - container.addClass("tp-simpleresponsive"); - opt.container=container; - - //if (container.height()==0) container.height(opt.startheight); - - // AMOUNT OF THE SLIDES - opt.slideamount = container.find('>ul:first >li').length; - - - // A BASIC GRID MUST BE DEFINED. IF NO DEFAULT GRID EXIST THAN WE NEED A DEFAULT VALUE, ACTUAL SIZE OF CONAINER - if (container.height()==0) container.height(opt.startheight); - if (opt.startwidth==undefined || opt.startwidth==0) opt.startwidth=container.width(); - if (opt.startheight==undefined || opt.startheight==0) opt.startheight=container.height(); - - // OPT WIDTH && HEIGHT SHOULD BE SET - opt.width=container.width(); - opt.height=container.height(); - - - // DEFAULT DEPENDECIES - opt.bw= opt.startwidth / container.width(); - opt.bh = opt.startheight / container.height(); - - // IF THE ITEM ALREADY IN A RESIZED FORM - if (opt.width!=opt.startwidth) { - - opt.height = Math.round(opt.startheight * (opt.width/opt.startwidth)); - - container.height(opt.height); - - } - - // LETS SEE IF THERE IS ANY SHADOW - if (opt.shadow!=0) { - container.parent().append('
'); - var loff=0; - if (opt.forceFullWidth=="on") - loff = 0-opt.container.parent().offset().left; - container.parent().find('.tp-bannershadow').css({'width':opt.width,'left':loff}); - } - - - container.find('ul').css({'display':'none'}); - - var fliparent = container; - - - // PREPARE THE SLIDES - container.find('ul').css({'display':'block'}); - prepareSlides(container,opt); - if (opt.parallax!="off") checkForParallax(container,opt); - - // CREATE BULLETS - if (opt.slideamount >1) createBullets(container,opt); - if (opt.slideamount >1) createThumbs(container,opt); - if (opt.slideamount >1) createArrows(container,opt); - if (opt.keyboardNavigation=="on") createKeyboard(container,opt); - - swipeAction(container,opt); - - if (opt.hideThumbs>0) hideThumbs(container,opt); - - swapSlide(container,opt); - // START COUNTDOWN - if (opt.slideamount >1) countDown(container,opt); - setTimeout(function() { - container.trigger('revolution.slide.onloaded'); - },500); - - /****************************** - - FULLSCREEN CHANGE - - ********************************/ - // FULLSCREEN MODE TESTING - jQuery("body").data('rs-fullScreenMode',false); - jQuery(window).on ('mozfullscreenchange webkitfullscreenchange fullscreenchange',function(){ - jQuery("body").data('rs-fullScreenMode',!jQuery("body").data('rs-fullScreenMode')); - if (jQuery("body").data('rs-fullScreenMode')) { - setTimeout(function() { - jQuery(window).trigger("resize"); - - },200); - } - }) - - - // IF RESIZED, NEED TO STOP ACTUAL TRANSITION AND RESIZE ACTUAL IMAGES - jQuery(window).resize(function() { - if (jQuery('body').find(container)!=0) - if (opt.forceFullWidth=="on" ) { - - var loff = opt.container.closest('.forcefullwidth_wrapper_tp_banner').offset().left; - //opt.container.parent().css({'width':jQuery(window).width()}); - opt.container.parent().css({'left':(0-loff)+"px",'width':jQuery(window).width()}); - } - - if (container.outerWidth(true)!=opt.width || container.is(":hidden")) { - containerResized(container,opt); - } - - - - }); - - // HIDE THUMBS UNDER SIZE... - try{ - if (opt.hideThumbsUnderResoluition!=0 && opt.navigationType=="thumb") { - if (opt.hideThumbsUnderResoluition>jQuery(window).width()) - jQuery('.tp-bullets').css({display:"none"}); - else - jQuery('.tp-bullets').css({display:"block"}); - } - } catch(e) {} - - - - // CHECK IF THE CAPTION IS A "SCROLL ME TO POSITION" CAPTION IS - //if (opt.fullScreen=="on") { - container.find('.tp-scrollbelowslider').on('click',function() { - var off=0; - try{ - off = jQuery('body').find(opt.fullScreenOffsetContainer).height(); - } catch(e) {} - try{ - off = off - jQuery(this).data('scrolloffset'); - } catch(e) {} - - jQuery('body,html').animate( - {scrollTop:(container.offset().top+(container.find('>ul >li').height())-off)+"px"},{duration:400}); - }); - //} - - - // FIRST TIME STOP/START HIDE / SHOW SLIDER - //REMOVE AND SHOW SLIDER ON DEMAND - var contpar= container.parent(); - if (jQuery(window).width()ul >li').height())-oy)+"px"},{duration:400}); - }) - }, - - // METHODE PAUSE - revredraw: function(oy) { - return this.each(function() { - var container=jQuery(this); - var bt = container.parent().find('.tp-bannertimer'); - var opt = bt.data('opt'); - containerResized(container,opt); - - }) - }, - - // METHODE PAUSE - revpause: function(options) { - - return this.each(function() { - var container=jQuery(this); - container.data('conthover',1); - container.data('conthover-changed',1); - container.trigger('revolution.slide.onpause'); - var bt = container.parent().find('.tp-bannertimer'); - var opt = bt.data('opt'); - opt.bannertimeronpause = true; - container.trigger('stoptimer'); - - }) - - - }, - - // METHODE RESUME - revresume: function(options) { - return this.each(function() { - var container=jQuery(this); - container.data('conthover',0); - container.data('conthover-changed',1); - container.trigger('revolution.slide.onresume'); - var bt = container.parent().find('.tp-bannertimer'); - var opt = bt.data('opt'); - opt.bannertimeronpause = false; - container.trigger('starttimer'); - - }) - - }, - - // METHODE NEXT - revnext: function(options) { - return this.each(function() { - // CATCH THE CONTAINER - var container=jQuery(this); - container.parent().find('.tp-rightarrow').click(); - - - }) - - }, - - // METHODE RESUME - revprev: function(options) { - return this.each(function() { - // CATCH THE CONTAINER - var container=jQuery(this); - container.parent().find('.tp-leftarrow').click(); - }) - - }, - - // METHODE LENGTH - revmaxslide: function(options) { - // CATCH THE CONTAINER - return jQuery(this).find('>ul:first-child >li').length; - }, - - - // METHODE CURRENT - revcurrentslide: function(options) { - // CATCH THE CONTAINER - var container=jQuery(this); - var bt = container.parent().find('.tp-bannertimer'); - var opt = bt.data('opt'); - return opt.act; - }, - - // METHODE CURRENT - revlastslide: function(options) { - // CATCH THE CONTAINER - var container=jQuery(this); - var bt = container.parent().find('.tp-bannertimer'); - var opt = bt.data('opt'); - return opt.lastslide; - }, - - - // METHODE JUMP TO SLIDE - revshowslide: function(slide) { - return this.each(function() { - // CATCH THE CONTAINER - var container=jQuery(this); - container.data('showus',slide); - container.parent().find('.tp-rightarrow').click(); - }) - - } - - -}) - - - /////////////////////////// - // GET THE URL PARAMETER // - /////////////////////////// - function getUrlVars(hashdivider) - { - var vars = [], hash; - var hashes = window.location.href.slice(window.location.href.indexOf(hashdivider) + 1).split('_'); - for(var i = 0; i < hashes.length; i++) - { - hashes[i] = hashes[i].replace('%3D',"="); - hash = hashes[i].split('='); - vars.push(hash[0]); - vars[hash[0]] = hash[1]; - } - return vars; - } - - ////////////////////////// - // CONTAINER RESIZED // - ///////////////////////// - function containerResized(container,opt) { - - // HIDE THUMBS UNDER SIZE... - try{ - if (opt.hideThumbsUnderResoluition!=0 && opt.navigationType=="thumb") { - if (opt.hideThumbsUnderResoluition>jQuery(window).width()) - jQuery('.tp-bullets').css({display:"none"}); - else - jQuery('.tp-bullets').css({display:"block"}); - } - } catch(e) {} - - - - container.find('.defaultimg').each(function(i) { - setSize(jQuery(this),opt); - }); - - - //REMOVE AND SHOW SLIDER ON DEMAND - var contpar= container.parent(); - if (jQuery(window).width()ul >li:eq('+opt.act+') .slotholder'); - var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); - removeSlots(container,opt); - nextsh.find('.defaultimg').css({'opacity':0}); - actsh.find('.defaultimg').css({'opacity':1}); - - nextsh.find('.defaultimg').each(function() { - var dimg = jQuery(this); - if (dimg.data('kenburn')!=undefined) { - dimg.data('kenburn').restart(); - startKenBurn(container,opt,true) - } - }); - - var nextli = container.find('>ul >li:eq('+opt.next+')'); - - animateTheCaptions(nextli, opt,true); - //restartBannerTimer(opt,container); - setBulPos(container,opt); - - } - - - ////////////////// - // IS MOBILE ?? // - ////////////////// - function is_mobile() { - var agents = ['android', 'webos', 'iphone', 'ipad', 'blackberry','Android', 'webos', ,'iPod', 'iPhone', 'iPad', 'Blackberry', 'BlackBerry']; - var ismobile=false; - for(i in agents) { - - if (navigator.userAgent.split(agents[i]).length>1) { - ismobile = true; - - } - } - return ismobile; - } - - /********************************* - - CHECK IF BROWSER IS IE - - ********************************/ - function isIE( version, comparison ){ - var $div = jQuery('
').appendTo(jQuery('body')); - $div.html(''); - var ieTest = $div.find('a').length; - $div.remove(); - return ieTest; - } - - - function callingNewSlide(opt,container) { - - swapSlide(container,opt); - - } - - - //////////////////////////////// - // - CREATE THE BULLETS - // - //////////////////////////////// - function createThumbs(container,opt) { - - var cap=container.parent(); - - if (opt.navigationType=="thumb" || opt.navsecond=="both") { - cap.append('
'); - } - var bullets = cap.find('.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer'); - var bup = bullets.parent(); - - bup.width(opt.thumbWidth*opt.thumbAmount); - bup.height(opt.thumbHeight); - bup.parent().width(opt.thumbWidth*opt.thumbAmount); - bup.parent().height(opt.thumbHeight); - - container.find('>ul:first >li').each(function(i) { - var li= container.find(">ul:first >li:eq("+i+")"); - var bgcolor = li.find(".defaultimg").css("backgroundColor"); - if (li.data('thumb') !=undefined) - var src= li.data('thumb') - else - var src=li.find("img:first").attr('src'); - - - bullets.append('
'); - var bullet= bullets.find('.bullet:first'); - }); - //bullets.append('
'); - var minwidth=10; - - - // ADD THE BULLET CLICK FUNCTION HERE - bullets.find('.bullet').each(function(i) { - var bul = jQuery(this); - - if (i==opt.slideamount-1) bul.addClass('last'); - if (i==0) bul.addClass('first'); - bul.width(opt.thumbWidth); - bul.height(opt.thumbHeight); - - if (minwidthul:first >li').length; - - var thumbconwidth=bullets.parent().width(); - opt.thumbWidth = minwidth; - - - - //////////////////////// - // SLIDE TO POSITION // - //////////////////////// - if (thumbconwidthul:first >li').length; - var diff=(max- thumbconwidth)+15; - var steps = diff / thumbconwidth; - x=x-30; - //if (x<30) x=0; - //if (x>thumbconwidth-30) x=thumbconwidth; - - //ANIMATE TO POSITION - var pos=(0-((x)*steps)); - if (pos>0) pos =0; - if (pos<0-max+thumbconwidth) pos=0-max+thumbconwidth; - moveThumbSliderToPosition($this,pos,200); - }); - - bullets.parent().mousemove(function() { - - var $this=jQuery(this); - - //if (!$this.hasClass("over")) { - var offset = $this.offset(); - var x = jQuery('body').data('mousex')-offset.left; - var thumbconwidth=$this.width(); - var minwidth=$this.find('.bullet:first').outerWidth(true); - var max=minwidth*container.find('>ul:first >li').length-1; - var diff=(max- thumbconwidth)+15; - var steps = diff / thumbconwidth; - x=x-3; - if (x<6) x=0; - if (x+3>thumbconwidth-6) x=thumbconwidth; - - //ANIMATE TO POSITION - var pos=(0-((x)*steps)); - if (pos>0) pos =0; - if (pos<0-max+thumbconwidth) pos=0-max+thumbconwidth; - moveThumbSliderToPosition($this,pos,0); - //} else { - //$this.removeClass("over"); - //} - - }); - - bullets.parent().mouseleave(function() { - var $this=jQuery(this); - $this.removeClass("over"); - moveSelectedThumb(container); - }); - } - - - } - - - /////////////////////////////// - // SelectedThumbInPosition // - ////////////////////////////// - function moveSelectedThumb(container) { - - var bullets=container.parent().find('.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer'); - var $this=bullets.parent(); - var offset = $this.offset(); - var minwidth=$this.find('.bullet:first').outerWidth(true); - - var x = $this.find('.bullet.selected').index() * minwidth; - var thumbconwidth=$this.width(); - var minwidth=$this.find('.bullet:first').outerWidth(true); - var max=minwidth*container.find('>ul:first >li').length; - var diff=(max- thumbconwidth); - var steps = diff / thumbconwidth; - - //ANIMATE TO POSITION - var pos=0-x; - - if (pos>0) pos =0; - if (pos<0-max+thumbconwidth) pos=0-max+thumbconwidth; - if (!$this.hasClass("over")) { - moveThumbSliderToPosition($this,pos,200); - } - } - - - //////////////////////////////////// - // MOVE THUMB SLIDER TO POSITION // - /////////////////////////////////// - function moveThumbSliderToPosition($this,pos,speed) { - //$this.stop(); - //$this.find('.tp-thumbcontainer').animate({'left':pos+'px'},{duration:speed,queue:false}); - TweenLite.to($this.find('.tp-thumbcontainer'),0.2,{left:pos,ease:Power3.easeOut,overwrite:"auto"}); - } - - - - //////////////////////////////// - // - CREATE THE BULLETS - // - //////////////////////////////// - function createBullets(container,opt) { - - if (opt.navigationType=="bullet" || opt.navigationType=="both") { - container.parent().append('
'); - } - - - var bullets = container.parent().find('.tp-bullets'); - - container.find('>ul:first >li').each(function(i) { - var src=container.find(">ul:first >li:eq("+i+") img:first").attr('src'); - bullets.append('
'); - var bullet= bullets.find('.bullet:first'); - - - }); - - // ADD THE BULLET CLICK FUNCTION HERE - bullets.find('.bullet').each(function(i) { - var bul = jQuery(this); - if (i==opt.slideamount-1) bul.addClass('last'); - if (i==0) bul.addClass('first'); - - bul.click(function() { - var sameslide = false; - if (opt.navigationArrows=="withbullet" || opt.navigationArrows=="nexttobullets") { - if (bul.index()-1 == opt.act) sameslide=true; - } else { - if (bul.index() == opt.act) sameslide=true; - } - - if (opt.transition==0 && !sameslide) { - - if (opt.navigationArrows=="withbullet" || opt.navigationArrows=="nexttobullets") { - opt.next = bul.index()-1; - } else { - opt.next = bul.index(); - } - - callingNewSlide(opt,container); - } - }); - - }); - - bullets.append('
'); - - - - setBulPos(container,opt); - - - - - - } - - ////////////////////// - // CREATE ARROWS // - ///////////////////// - function createArrows(container,opt) { - - var bullets = container.find('.tp-bullets'); - - var hidden=""; - var arst= opt.navigationStyle; - if (opt.navigationArrows=="none") hidden="visibility:hidden;display:none"; - opt.soloArrowStyle = "default"; - - if (opt.navigationArrows!="none" && opt.navigationArrows!="nexttobullets") arst = opt.soloArrowStyle; - - container.parent().append('
'); - container.parent().append('
'); - - // THE LEFT / RIGHT BUTTON CLICK ! // - container.parent().find('.tp-rightarrow').click(function() { - - if (opt.transition==0) { - if (container.data('showus') !=undefined && container.data('showus') != -1) - opt.next = container.data('showus')-1; - else - opt.next = opt.next+1; - container.data('showus',-1); - if (opt.next >= opt.slideamount) opt.next=0; - if (opt.next<0) opt.next=0; - - if (opt.act !=opt.next) - callingNewSlide(opt,container); - } - }); - - container.parent().find('.tp-leftarrow').click(function() { - if (opt.transition==0) { - opt.next = opt.next-1; - opt.leftarrowpressed=1; - if (opt.next < 0) opt.next=opt.slideamount-1; - callingNewSlide(opt,container); - } - }); - - setBulPos(container,opt); - - } - - ////////////////////// - // CREATE ARROWS // - ///////////////////// - function createKeyboard(container,opt) { - - - // THE LEFT / RIGHT BUTTON CLICK ! // - jQuery(document).keydown(function(e){ - if (opt.transition==0 && e.keyCode == 39) { - if (container.data('showus') !=undefined && container.data('showus') != -1) - opt.next = container.data('showus')-1; - else - opt.next = opt.next+1; - container.data('showus',-1); - if (opt.next >= opt.slideamount) opt.next=0; - if (opt.next<0) opt.next=0; - - if (opt.act !=opt.next) - callingNewSlide(opt,container); - } - - if (opt.transition==0 && e.keyCode == 37) { - opt.next = opt.next-1; - opt.leftarrowpressed=1; - if (opt.next < 0) opt.next=opt.slideamount-1; - callingNewSlide(opt,container); - } - }); - - setBulPos(container,opt); - - } - - //////////////////////////// - // SET THE SWIPE FUNCTION // - //////////////////////////// - function swipeAction(container,opt) { - // TOUCH ENABLED SCROLL - - if (opt.touchenabled=="on") { - var hammertime = Hammer(container, { - drag_block_vertical : opt.drag_block_vertical, - drag_lock_to_axis: true, - swipe_velocity : opt.swipe_velocity, - swipe_max_touches : opt.swipe_max_touches, - swipe_min_touches : opt.swipe_min_touches, - prevent_default:false - }); - - - - hammertime.on("swipeleft", function() { - if (opt.transition==0) { - opt.next = opt.next+1; - if (opt.next == opt.slideamount) opt.next=0; - callingNewSlide(opt,container); - } - }); - hammertime.on("swiperight", function() { - if (opt.transition==0) { - opt.next = opt.next-1; - opt.leftarrowpressed=1; - if (opt.next < 0) opt.next=opt.slideamount-1; - callingNewSlide(opt,container); - } - }); - hammertime.on("swipeup", function() { - jQuery("html, body").animate({scrollTop:(container.offset().top + container.height())+"px"}); - }); - hammertime.on("swipedown", function() { - jQuery("html, body").animate({scrollTop:(container.offset().top - jQuery(window).height())+"px"}); - }); - } - - } - - - - - //////////////////////////////////////////////////////////////// - // SHOW AND HIDE THE THUMBS IF MOUE GOES OUT OF THE BANNER /// - ////////////////////////////////////////////////////////////// - function hideThumbs(container,opt) { - - var bullets = container.parent().find('.tp-bullets'); - var ca = container.parent().find('.tparrows'); - - if (bullets==null) { - container.append('
'); - var bullets = container.parent().find('.tp-bullets'); - } - - if (ca==null) { - container.append('
'); - var ca = container.parent().find('.tparrows'); - } - - - //var bp = (thumbs.parent().outerHeight(true) - opt.height)/2; - - // ADD THUMBNAIL IMAGES FOR THE BULLETS // - container.data('hidethumbs',opt.hideThumbs); - - bullets.addClass("hidebullets"); - ca.addClass("hidearrows"); - - if (is_mobile()) { - container.hammer().on('touch', function() { - container.addClass("hovered"); - if (opt.onHoverStop=="on") - container.trigger('stoptimer'); - clearTimeout(container.data('hidethumbs')); - bullets.removeClass("hidebullets"); - ca.removeClass("hidearrows"); - - - }); - - container.hammer().on('release', function() { - container.removeClass("hovered"); - container.trigger('playtimer'); - if (!container.hasClass("hovered") && !bullets.hasClass("hovered")) - container.data('hidethumbs', setTimeout(function() { - bullets.addClass("hidebullets"); - ca.addClass("hidearrows"); - container.trigger('playtimer'); - },opt.hideNavDelayOnMobile)); - }); - - } else { - bullets.hover(function() { - opt.overnav = true; - if (opt.onHoverStop=="on") - container.trigger('stoptimer'); - bullets.addClass("hovered"); - clearTimeout(container.data('hidethumbs')); - bullets.removeClass("hidebullets"); - ca.removeClass("hidearrows"); - }, - function() { - opt.overnav = false; - container.trigger('playtimer'); - bullets.removeClass("hovered"); - if (!container.hasClass("hovered") && !bullets.hasClass("hovered")) - container.data('hidethumbs', setTimeout(function() { - bullets.addClass("hidebullets"); - ca.addClass("hidearrows"); - },opt.hideThumbs)); - }); - - - ca.hover(function() { - opt.overnav = true; - if (opt.onHoverStop=="on") - container.trigger('stoptimer'); - bullets.addClass("hovered"); - clearTimeout(container.data('hidethumbs')); - bullets.removeClass("hidebullets"); - ca.removeClass("hidearrows"); - - }, - function() { - opt.overnav = false; - container.trigger('playtimer'); - bullets.removeClass("hovered"); - }); - - - - container.on('mouseenter', function() { - container.addClass("hovered"); - if (opt.onHoverStop=="on") - container.trigger('stoptimer'); - clearTimeout(container.data('hidethumbs')); - bullets.removeClass("hidebullets"); - ca.removeClass("hidearrows"); - - - }); - - container.on('mouseleave', function() { - container.removeClass("hovered"); - container.trigger('playtimer'); - if (!container.hasClass("hovered") && !bullets.hasClass("hovered")) - container.data('hidethumbs', setTimeout(function() { - bullets.addClass("hidebullets"); - ca.addClass("hidearrows"); - },opt.hideThumbs)); - }); - } - - - } - - - - - - - - ////////////////////////////// - // SET POSITION OF BULLETS // - ////////////////////////////// - function setBulPos(container,opt) { - var topcont=container.parent(); - var bullets=topcont.find('.tp-bullets'); - - if (opt.navigationType=="thumb") { - bullets.find('.thumb').each(function(i) { - var thumb = jQuery(this); - - thumb.css({'width':opt.thumbWidth * opt.bw+"px", 'height':opt.thumbHeight*opt.bh+"px"}); - - }) - var bup = bullets.find('.tp-mask'); - - bup.width(opt.thumbWidth*opt.thumbAmount * opt.bw); - bup.height(opt.thumbHeight * opt.bh); - bup.parent().width(opt.thumbWidth*opt.thumbAmount * opt.bw); - bup.parent().height(opt.thumbHeight * opt.bh); - } - - - var tl = topcont.find('.tp-leftarrow'); - var tr = topcont.find('.tp-rightarrow'); - - if (opt.navigationType=="thumb" && opt.navigationArrows=="nexttobullets") opt.navigationArrows="solo"; - // IM CASE WE HAVE NAVIGATION BULLETS TOGETHER WITH ARROWS - if (opt.navigationArrows=="nexttobullets") { - tl.prependTo(bullets).css({'float':'left'}); - tr.insertBefore(bullets.find('.tpclear')).css({'float':'left'}); - } - var loff=0; - if (opt.forceFullWidth=="on") - loff = 0-opt.container.parent().offset().left; - - if (opt.navigationArrows!="none" && opt.navigationArrows!="nexttobullets") { - - tl.css({'position':'absolute'}); - tr.css({'position':'absolute'}); - - - if (opt.soloArrowLeftValign=="center") tl.css({'top':'50%','marginTop':(opt.soloArrowLeftVOffset-Math.round(tl.innerHeight()/2))+"px"}); - if (opt.soloArrowLeftValign=="bottom") tl.css({'top':'auto','bottom':(0+opt.soloArrowLeftVOffset)+"px"}); - if (opt.soloArrowLeftValign=="top") tl.css({'bottom':'auto','top':(0+opt.soloArrowLeftVOffset)+"px"}); - if (opt.soloArrowLeftHalign=="center") tl.css({'left':'50%','marginLeft':(loff+opt.soloArrowLeftHOffset-Math.round(tl.innerWidth()/2))+"px"}); - if (opt.soloArrowLeftHalign=="left") tl.css({'left':(0+opt.soloArrowLeftHOffset+loff)+"px"}); - if (opt.soloArrowLeftHalign=="right") tl.css({'right':(0+opt.soloArrowLeftHOffset-loff)+"px"}); - - if (opt.soloArrowRightValign=="center") tr.css({'top':'50%','marginTop':(opt.soloArrowRightVOffset-Math.round(tr.innerHeight()/2))+"px"}); - if (opt.soloArrowRightValign=="bottom") tr.css({'top':'auto','bottom':(0+opt.soloArrowRightVOffset)+"px"}); - if (opt.soloArrowRightValign=="top") tr.css({'bottom':'auto','top':(0+opt.soloArrowRightVOffset)+"px"}); - if (opt.soloArrowRightHalign=="center") tr.css({'left':'50%','marginLeft':(loff+opt.soloArrowRightHOffset-Math.round(tr.innerWidth()/2))+"px"}); - if (opt.soloArrowRightHalign=="left") tr.css({'left':(0+opt.soloArrowRightHOffset+loff)+"px"}); - if (opt.soloArrowRightHalign=="right") tr.css({'right':(0+opt.soloArrowRightHOffset-loff)+"px"}); - - - if (tl.position()!=null) - tl.css({'top':Math.round(parseInt(tl.position().top,0))+"px"}); - - if (tr.position()!=null) - tr.css({'top':Math.round(parseInt(tr.position().top,0))+"px"}); - } - - if (opt.navigationArrows=="none") { - tl.css({'visibility':'hidden'}); - tr.css({'visibility':'hidden'}); - } - - // SET THE POSITIONS OF THE BULLETS // THUMBNAILS - - - if (opt.navigationVAlign=="center") bullets.css({'top':'50%','marginTop':(opt.navigationVOffset-Math.round(bullets.innerHeight()/2))+"px"}); - if (opt.navigationVAlign=="bottom") bullets.css({'bottom':(0+opt.navigationVOffset)+"px"}); - if (opt.navigationVAlign=="top") bullets.css({'top':(0+opt.navigationVOffset)+"px"}); - - - - if (opt.navigationHAlign=="center") bullets.css({'left':'50%','marginLeft':(loff+opt.navigationHOffset-Math.round(bullets.innerWidth()/2))+"px"}); - if (opt.navigationHAlign=="left") bullets.css({'left':(0+opt.navigationHOffset+loff)+"px"}); - if (opt.navigationHAlign=="right") bullets.css({'right':(0+opt.navigationHOffset-loff)+"px"}); - - - - } - - - - ////////////////////////////////////////////////////////// - // - SET THE IMAGE SIZE TO FIT INTO THE CONTIANER - // - //////////////////////////////////////////////////////// - function setSize(img,opt) { - - - opt.container.closest('.forcefullwidth_wrapper_tp_banner').find('.tp-fullwidth-forcer').css({'height':opt.container.height()}); - opt.container.closest('.rev_slider_wrapper').css({'height':opt.container.height()}); - - - opt.width=parseInt(opt.container.width(),0); - opt.height=parseInt(opt.container.height(),0); - - - - opt.bw= (opt.width / opt.startwidth); - opt.bh = (opt.height / opt.startheight); - - if (opt.bh>opt.bw) opt.bh=opt.bw; - if (opt.bh1) { opt.bw=1; opt.bh=1; } - if (opt.bw>1) {opt.bw=1; opt.bh=1; } - - - //opt.height= opt.startheight * opt.bh; - opt.height = Math.round(opt.startheight * (opt.width/opt.startwidth)); - - - - - - if (opt.height>opt.startheight && opt.autoHeight!="on") opt.height=opt.startheight; - - - - if (opt.fullScreen=="on") { - opt.height = opt.bw * opt.startheight; - var cow = opt.container.parent().width(); - var coh = jQuery(window).height(); - if (opt.fullScreenOffsetContainer!=undefined) { - try{ - var offcontainers = opt.fullScreenOffsetContainer.split(","); - jQuery.each(offcontainers,function(index,searchedcont) { - coh = coh - jQuery(searchedcont).outerHeight(true); - if (cohul:first').css({overflow:'hidden',width:'100%',height:'100%',maxHeight:container.parent().css('maxHeight')}); - if (opt.autoHeight=="on") { - container.find('>ul:first').css({overflow:'hidden',width:'100%',height:'100%',maxHeight:"none"}); - container.css({'maxHeight':'none'}); - container.parent().css({'maxHeight':'none'}); - } - - container.find('>ul:first >li').each(function(j) { - var li=jQuery(this); - - // MAKE LI OVERFLOW HIDDEN FOR FURTHER ISSUES - li.css({'width':'100%','height':'100%','overflow':'hidden'}); - - if (li.data('link')!=undefined) { - var link = li.data('link'); - var target="_self"; - var zindex=60; - if (li.data('slideindex')=="back") zindex=0; - - var linktoslide=li.data('linktoslide'); - if (li.data('target')!=undefined) target=li.data('target'); - - if (link=="slide") { - li.append(''); - } else { - linktoslide="no"; - li.append(''); - } - - } - }); - - // RESOLVE OVERFLOW HIDDEN OF MAIN CONTAINER - container.parent().css({'overflow':'visible'}); - - - container.find('>ul:first >li >img').each(function(j) { - - var img=jQuery(this); - - img.addClass('defaultimg'); - if (img.data('lazyload')!=undefined && img.data('lazydone') != 1) { - - } else { - setSize(img,opt); - } - - - - img.wrap('
'); - - if (opt.dottedOverlay!="none" && opt.dottedOverlay!=undefined) - img.closest('.slotholder').append('
'); - - var src=img.attr('src'); - var ll = img.data('lazyload'); - var bgfit = img.data('bgfit'); - var bgrepeat = img.data('bgrepeat'); - var bgposition = img.data('bgposition'); - - - if (bgfit==undefined) bgfit="cover"; - if (bgrepeat==undefined) bgrepeat="no-repeat"; - if (bgposition==undefined) bgposition="center center" - - - var pari = img.closest('.slotholder'); - img.replaceWith('
'); - - if (isIE(8)) { - pari.find('.tp-bgimg').css({backgroundImage:"none",'background-image':'none'}); - pari.find('.tp-bgimg').append(''); - } - - - - - img.css({'opacity':0}); - img.data('li-id',j); - - }); - } - - - - - - /////////////////////// - // PREPARE THE SLIDE // - ////////////////////// - function prepareOneSlideSlot(slotholder,opt,visible,vorh) { - - - var sh=slotholder; - var img = sh.find('.defaultimg') - - var scalestart = sh.data('zoomstart'); - var rotatestart = sh.data('rotationstart'); - - if (img.data('currotate')!=undefined) - rotatestart = img.data('currotate'); - if (img.data('curscale')!=undefined) - scalestart = img.data('curscale'); - - - setSize(img,opt) - var src = img.data('src'); - - var bgcolor=img.css('background-color'); - - var w = opt.width; - var h = opt.height; - if (opt.autoHeight=="on") - h = opt.container.height(); - - var fulloff = img.data("fxof"); - if (fulloff==undefined) fulloff=0; - - fullyoff=0; - - var off=0; - - var bgfit = img.data('bgfit'); - var bgrepeat = img.data('bgrepeat'); - var bgposition = img.data('bgposition'); - - if (bgfit==undefined) bgfit="cover"; - if (bgrepeat==undefined) bgrepeat="no-repeat"; - if (bgposition==undefined) bgposition="center center"; - - - if (isIE(8)) { - sh.data('kenburns',"off"); - } - if (sh.data('kenburns')=="on") { - bgfit=scalestart; - if (bgfit.toString().length<4) - bgfit = calculateKenBurnScales(bgfit,sh,opt); - } - - if (isIE(8)) { - var imgsrc=src; - src=""; - } - - if (vorh == "horizontal") { - - if (!visible) var off=0-opt.slotw; - - for (var i=0;i'+ - '
'+ - '
'+ - '
'); - if (scalestart!=undefined && rotatestart!=undefined) - TweenLite.set(sh.find('.slot').last(),{rotationZ:rotatestart}); - if (isIE(8)) { - sh.find('.slot ').last().find('.slotslide').append(''); - ieimgposition(sh,opt); - - } - } - } else { - - if (!visible) var off=0-opt.sloth; - - for (var i=0;i'+ - - '
'+ - '
'+ - - '
'); - if (scalestart!=undefined && rotatestart!=undefined) - TweenLite.set(sh.find('.slot').last(),{rotationZ:rotatestart}); - if (isIE(8)) { - sh.find('.slot ').last().find('.slotslide').append(''); - ieimgposition(sh,opt); - } - } - } - - - - - } - - - - /////////////////////// - // PREPARE THE SLIDE // - ////////////////////// - function prepareOneSlideBox(slotholder,opt,visible) { - - var sh=slotholder; - var img = sh.find('.defaultimg'); - - var scalestart = sh.data('zoomstart'); - var rotatestart = sh.data('rotationstart'); - - if (img.data('currotate')!=undefined) - rotatestart = img.data('currotate'); - if (img.data('curscale')!=undefined) - scalestart = img.data('curscale')*100; - - - - - setSize(img,opt) - var src = img.data('src'); - var bgcolor=img.css('backgroundColor'); - - var w = opt.width; - var h = opt.height; - if (opt.autoHeight=="on") - h = opt.container.height(); - - var fulloff = img.data("fxof"); - if (fulloff==undefined) fulloff=0; - - fullyoff=0; - - - - var off=0; - - - if (isIE(8)) { - var imgsrc=src; - src=""; - } - - // SET THE MINIMAL SIZE OF A BOX - var basicsize = 0; - if (opt.sloth>opt.slotw) - basicsize=opt.sloth - else - basicsize=opt.slotw; - - - if (!visible) { - var off=0-basicsize; - } - - opt.slotw = basicsize; - opt.sloth = basicsize; - var x=0; - var y=0; - - var bgfit = img.data('bgfit'); - var bgrepeat = img.data('bgrepeat'); - var bgposition = img.data('bgposition'); - - if (bgfit==undefined) bgfit="cover"; - if (bgrepeat==undefined) bgrepeat="no-repeat"; - if (bgposition==undefined) bgposition="center center"; - - if (sh.data('kenburns')=="on") { - bgfit=scalestart; - if (bgfit.toString().length<4) - bgfit = calculateKenBurnScales(bgfit,sh,opt); - } - - for (var j=0;j'+ - - '
'+ - - '
'+ - '
'); - y=y+basicsize; - - if (isIE(8)) { - - sh.find('.slot ').last().find('.slotslide').append(''); - ieimgposition(sh,opt); - } - - if (scalestart!=undefined && rotatestart!=undefined) - TweenLite.set(sh.find('.slot').last(),{rotationZ:rotatestart}); - } - x=x+basicsize; - } - } - - /*********************************************** - - MOVE IE8 IMAGE IN RIGHT POSITION - - ***********************************************/ - - function ieimgposition(nextsh,opt) { - - if (isIE(8)) { - - var ie8img = nextsh.find('.ieeightfallbackimage'); - - var ie8w = ie8img.width(), - ie8h = ie8img.height(); - - - - if (opt.startwidth/opt.startheight 0) - loadAllPrepared(element,found); - else { - clearInterval(inter); - if (call!=undefined) call(); - } - - },100) - } - - - ////////////////////////////// - // // - // - SWAP THE SLIDES - // - // // - //////////////////////////// - function swapSlide(container,opt) { - try{ - var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); - } catch(e) { - var actli=container.find('>ul:first-child >li:eq(1)'); - } - opt.lastslide=opt.act; - var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); - - var defimg= nextli.find('.defaultimg'); - - - opt.bannertimeronpause = true; - container.trigger('stoptimer'); - opt.cd=0; - - if (defimg.data('lazyload') !=undefined && defimg.data('lazyload') !="undefined" && defimg.data('lazydone') !=1 ) { - - if (!isIE(8)) - defimg.css({backgroundImage:'url("'+nextli.find('.defaultimg').data('lazyload')+'")'}); - else { - defimg.attr('src',nextli.find('.defaultimg').data('lazyload')); - } - - defimg.data('src',nextli.find('.defaultimg').data('lazyload')); - defimg.data('lazydone',1); - defimg.data('orgw',0); - nextli.data('loadeddone',1); - - TweenLite.set(container.find('.tp-loader'),{display:"block",opacity:0}); - TweenLite.to(container.find('.tp-loader'),0.3,{autoAlpha:1}); - - waitForLoads(nextli,function() { - swapSlideCall(opt,defimg,container) - },opt); - - } else { - - if (nextli.data('loadeddone')===undefined) { - nextli.data('loadeddone',1); - waitForLoads(nextli,function() { - swapSlideCall(opt,defimg,container) - },opt); - } else - - swapSlideCall(opt,defimg,container) - } - } - - function swapSlideCall(opt,defimg,container) { - opt.bannertimeronpause = false; - - opt.cd=0; - container.trigger('nulltimer'); - TweenLite.to(container.find('.tp-loader'),0.3,{autoAlpha:0}); - setSize(defimg,opt); - setBulPos(container,opt); - setSize(defimg,opt); - swapSlideProgress(container,opt); - - } - - /****************************** - - SWAP SLIDE PROGRESS - - ********************************/ - /*!SWAP SLIDE*/ - function swapSlideProgress(container,opt) { - - - container.trigger('revolution.slide.onbeforeswap'); - - - opt.transition = 1; - opt.videoplaying = false; - //konsole.log("VideoPlay set to False due swapSlideProgress"); - - try{ - var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); - } catch(e) { - var actli=container.find('>ul:first-child >li:eq(1)'); - } - - opt.lastslide=opt.act; - - var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); - - - var actsh = actli.find('.slotholder'); - var nextsh = nextli.find('.slotholder'); - actli.css({'visibility':'visible'}); - nextli.css({'visibility':'visible'}); - - if (nextsh.data('kenburns')=="on") { - stopKenBurn(container,opt); - TweenLite.set(container.find('.kenburnimg img'),{autoAlpha:0}); - } - - - if (opt.ie) { - if (comingtransition=="boxfade") comingtransition = "boxslide"; - if (comingtransition=="slotfade-vertical") comingtransition = "slotzoom-vertical"; - if (comingtransition=="slotfade-horizontal") comingtransition = "slotzoom-horizontal"; - } - - - // IF DELAY HAS BEEN SET VIA THE SLIDE, WE TAKE THE NEW VALUE, OTHER WAY THE OLD ONE... - if (nextli.data('delay')!=undefined) { - opt.cd=0; - opt.delay=nextli.data('delay'); - } else { - opt.delay=opt.origcd; - } - - container.trigger('restarttimer'); - - // RESET POSITION AND FADES OF LI'S - actli.css({'left':'0px','top':'0px'}); - nextli.css({'left':'0px','top':'0px'}); - - - // IF THERE IS AN OTHER FIRST SLIDE START HAS BEED SELECTED - if (nextli.data('differentissplayed') =='prepared') { - nextli.data('differentissplayed','done'); - nextli.data('transition',nextli.data('savedtransition')); - nextli.data('slotamount',nextli.data('savedslotamount')); - nextli.data('masterspeed',nextli.data('savedmasterspeed')); - } - - - if (nextli.data('fstransition') != undefined && nextli.data('differentissplayed') !="done") { - nextli.data('savedtransition',nextli.data('transition')); - nextli.data('savedslotamount',nextli.data('slotamount')); - nextli.data('savedmasterspeed',nextli.data('masterspeed')); - - nextli.data('transition',nextli.data('fstransition')); - nextli.data('slotamount',nextli.data('fsslotamount')); - nextli.data('masterspeed',nextli.data('fsmasterspeed')); - - nextli.data('differentissplayed','prepared'); - } - - /////////////////////////////////////// - // TRANSITION CHOOSE - RANDOM EFFECTS// - /////////////////////////////////////// - var nexttrans = 0; - - - var transtext = nextli.data('transition').split(","); - var curtransid = nextli.data('nexttransid'); - if (curtransid == undefined) { - curtransid=0; - nextli.data('nexttransid',curtransid); - } else { - curtransid=curtransid+1; - if (curtransid==transtext.length) curtransid=0; - nextli.data('nexttransid',curtransid); - - } - - - - var comingtransition = transtext[curtransid]; - var specials = 0; - - if (opt.parallax=="scroll" && opt.parallaxFirstGo==undefined) { - opt.parallaxFirstGo = true; - scrollParallax(container,opt); - setTimeout(function() { - scrollParallax(container,opt); - },210); - setTimeout(function() { - scrollParallax(container,opt); - },420); - - } - - /*if (opt.ffnn == undefined) opt.ffnn=0; - comingtransition=opt.ffnn; - opt.ffnn=opt.ffnn+1; - if (opt.ffnn>46) opt.ffnn=0;*/ - - - /* Transition Name , - Transition Code, - Transition Sub Code, - Max Slots, - MasterSpeed Delays, - Preparing Slots (box,slideh, slidev), - Call on nextsh (null = no, true/false for visibility first preparing), - Call on actsh (null = no, true/false for visibility first preparing), - */ - - if (comingtransition=="slidehorizontal") { - comingtransition = "slideleft" - if (opt.leftarrowpressed==1) - comingtransition = "slideright" - } - - if (comingtransition=="slidevertical") { - comingtransition = "slideup" - if (opt.leftarrowpressed==1) - comingtransition = "slidedown" - } - - - var transitionsArray = [ ['boxslide' , 0, 1, 10, 0,'box',false,null,0], - ['boxfade', 1, 0, 10, 0,'box',false,null,1], - ['slotslide-horizontal', 2, 0, 0, 200,'horizontal',true,false,2], - ['slotslide-vertical', 3, 0,0,200,'vertical',true,false,3], - ['curtain-1', 4, 3,0,0,'horizontal',true,true,4], - ['curtain-2', 5, 3,0,0,'horizontal',true,true,5], - ['curtain-3', 6, 3,25,0,'horizontal',true,true,6], - ['slotzoom-horizontal', 7, 0,0,400,'horizontal',true,true,7], - ['slotzoom-vertical', 8, 0,0,0,'vertical',true,true,8], - ['slotfade-horizontal', 9, 0,0,500,'horizontal',true,null,9], - ['slotfade-vertical', 10, 0,0 ,500,'vertical',true,null,10], - ['fade', 11, 0, 1 ,300,'horizontal',true,null,11], - ['slideleft', 12, 0,1,0,'horizontal',true,true,12], - ['slideup', 13, 0,1,0,'horizontal',true,true,13], - ['slidedown', 14, 0,1,0,'horizontal',true,true,14], - ['slideright', 15, 0,1,0,'horizontal',true,true,15], - ['papercut', 16, 0,0,600,'',null,null,16], - ['3dcurtain-horizontal', 17, 0,20,100,'vertical',false,true,17], - ['3dcurtain-vertical', 18, 0,10,100,'horizontal',false,true,18], - ['cubic', 19, 0,20,600,'horizontal',false,true,19], - ['cube',19,0,20,600,'horizontal',false,true,20], - ['flyin', 20, 0,4,600,'vertical',false,true,21], - ['turnoff', 21, 0,1,1600,'horizontal',false,true,22], - ['incube', 22, 0,20,600,'horizontal',false,true,23], - ['cubic-horizontal', 23, 0,20,500,'vertical',false,true,24], - ['cube-horizontal', 23, 0,20,500,'vertical',false,true,25], - ['incube-horizontal', 24, 0,20,500,'vertical',false,true,26], - ['turnoff-vertical', 25, 0,1,1600,'horizontal',false,true,27], - ['fadefromright', 12, 1,1,0,'horizontal',true,true,28], - ['fadefromleft', 15, 1,1,0,'horizontal',true,true,29], - ['fadefromtop', 14, 1,1,0,'horizontal',true,true,30], - ['fadefrombottom', 13, 1,1,0,'horizontal',true,true,31], - ['fadetoleftfadefromright', 12, 2,1,0,'horizontal',true,true,32], - ['fadetorightfadetoleft', 15, 2,1,0,'horizontal',true,true,33], - ['fadetobottomfadefromtop', 14, 2,1,0,'horizontal',true,true,34], - ['fadetotopfadefrombottom', 13, 2,1,0,'horizontal',true,true,35], - ['parallaxtoright', 12, 3,1,0,'horizontal',true,true,36], - ['parallaxtoleft', 15, 3,1,0,'horizontal',true,true,37], - ['parallaxtotop', 14, 3,1,0,'horizontal',true,true,38], - ['parallaxtobottom', 13, 3,1,0,'horizontal',true,true,39], - ['scaledownfromright', 12, 4,1,0,'horizontal',true,true,40], - ['scaledownfromleft', 15, 4,1,0,'horizontal',true,true,41], - ['scaledownfromtop', 14, 4,1,0,'horizontal',true,true,42], - ['scaledownfrombottom', 13, 4,1,0,'horizontal',true,true,43], - ['zoomout', 13, 5,1,0,'horizontal',true,true,44], - ['zoomin', 13, 6,1,0,'horizontal',true,true,45], - ['notransition',26,0,1,0,'horizontal',true,null,46] - ]; - - - var flatTransitions = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45]; - var premiumTransitions = [16,17,18,19,20,21,22,23,24,25,26,27] - - var nexttrans =0; - var specials = 1; - var STAindex = 0; - var indexcounter =0; - var STA = new Array; - - - // RANDOM TRANSITIONS - if (comingtransition == "random") { - comingtransition = Math.round(Math.random()*transitionsArray.length-1); - if (comingtransition>transitionsArray.length-1) comingtransition=transitionsArray.length-1; - } - - // RANDOM FLAT TRANSITIONS - if (comingtransition == "random-static") { - comingtransition = Math.round(Math.random()*flatTransitions.length-1); - if (comingtransition>flatTransitions.length-1) comingtransition=flatTransitions.length-1; - comingtransition = flatTransitions[comingtransition]; - } - - // RANDOM PREMIUM TRANSITIONS - if (comingtransition == "random-premium") { - comingtransition = Math.round(Math.random()*premiumTransitions.length-1); - if (comingtransition>premiumTransitions.length-1) comingtransition=premiumTransitions.length-1; - comingtransition = premiumTransitions[comingtransition]; - } - - //joomla only change: avoid papercut transition (16), change it to every other premium transition - if(opt.isJoomla == true && comingtransition == 16){ - comingtransition = Math.round(Math.random()*premiumTransitions.length-2) + 1; - if (comingtransition>premiumTransitions.length-1) comingtransition=premiumTransitions.length-1; - comingtransition = premiumTransitions[comingtransition]; - } - - findTransition(); - - // CHECK IF WE HAVE IE8 AND THAN FALL BACK ON FLAT TRANSITIONS - if (isIE(8) && nexttrans>15 && nexttrans<28) { - comingtransition = Math.round(Math.random()*flatTransitions.length-1); - if (comingtransition>flatTransitions.length-1) comingtransition=flatTransitions.length-1; - comingtransition = flatTransitions[comingtransition]; - indexcounter =0; - findTransition(); - } - - function findTransition() { - // FIND THE RIGHT TRANSITION PARAMETERS HERE - jQuery.each(transitionsArray,function(inde,trans) { - if (trans[0] == comingtransition || trans[8] == comingtransition) { - nexttrans = trans[1]; - specials = trans[2]; - STAindex = indexcounter; - } - indexcounter = indexcounter+1; - }) - } - - - - var direction=-1; - if (opt.leftarrowpressed==1 || opt.act>opt.next) direction=1; - - - - opt.leftarrowpressed=0; - - if (nexttrans>26) nexttrans = 26; - if (nexttrans<0) nexttrans = 0; - - - // DEFINE THE MASTERSPEED FOR THE SLIDE // - var masterspeed=300; - if (nextli.data('masterspeed')!=undefined && nextli.data('masterspeed')>99 && nextli.data('masterspeed')<4001) - masterspeed = nextli.data('masterspeed'); - - // PREPARED DEFAULT SETTINGS PER TRANSITION - STA = transitionsArray[STAindex]; - - - - - - ///////////////////////////////////////////// - // SET THE BULLETS SELECTED OR UNSELECTED // - ///////////////////////////////////////////// - - - container.parent().find(".bullet").each(function() { - var bul = jQuery(this); - bul.removeClass("selected"); - - if (opt.navigationArrows=="withbullet" || opt.navigationArrows=="nexttobullets") { - if (bul.index()-1 == opt.next) bul.addClass('selected'); - - } else { - - if (bul.index() == opt.next) bul.addClass('selected'); - - } - }); - - - - ////////////////////////////////////////////////////////////////// - // SET THE NEXT CAPTION AND REMOVE THE LAST CAPTION // - ////////////////////////////////////////////////////////////////// - - container.find('>li').each(function() { - var li = jQuery(this); - if (li.index!=opt.act && li.index!=opt.next) li.css({'z-index':16}); - }); - - actli.css({'z-index':18}); - nextli.css({'z-index':20}); - nextli.css({'opacity':0}); - - - /////////////////////////// - // ANIMATE THE CAPTIONS // - /////////////////////////// - - if (actli.index() != nextli.index() && opt.firststart!=1) { - removeTheCaptions(actli,opt); - - } - animateTheCaptions(nextli, opt); - - - - - ///////////////////////////////////////////// - // SET THE ACTUAL AMOUNT OF SLIDES !! // - // SET A RANDOM AMOUNT OF SLOTS // - /////////////////////////////////////////// - if (nextli.data('slotamount')==undefined || nextli.data('slotamount')<1) { - opt.slots=Math.round(Math.random()*12+4); - if (comingtransition=="boxslide") - opt.slots=Math.round(Math.random()*6+3); - else - if (comingtransition=="flyin") - opt.slots=Math.round(Math.random()*4+1); - } else { - opt.slots=nextli.data('slotamount'); - - } - - ///////////////////////////////////////////// - // SET THE ACTUAL AMOUNT OF SLIDES !! // - // SET A RANDOM AMOUNT OF SLOTS // - /////////////////////////////////////////// - if (nextli.data('rotate')==undefined) - opt.rotate = 0 - else - if (nextli.data('rotate')==999) - opt.rotate=Math.round(Math.random()*360); - else - opt.rotate=nextli.data('rotate'); - if (!jQuery.support.transition || opt.ie || opt.ie9) opt.rotate=0; - - - - ////////////////////////////// - // FIRST START // - ////////////////////////////// - - if (opt.firststart==1) { - actli.css({'opacity':0}); - opt.firststart=0; - } - - - // HERE COMES THE TRANSITION ENGINE - - // ADJUST MASTERSPEED - masterspeed = masterspeed + STA[4]; - - if ((nexttrans==4 || nexttrans==5 || nexttrans==6) && opt.slots<3 ) opt.slots=3; - - // ADJUST SLOTS - if (STA[3] != 0) opt.slots = Math.min(opt.slots,STA[3]); - if (nexttrans==9) opt.slots = opt.width/20; - if (nexttrans==10) opt.slots = opt.height/20; - - - - - // PREPAREONESLIDEBOX - if (STA[5] == "box") { - if (STA[7] !=null) prepareOneSlideBox(actsh,opt,STA[7]); - if (STA[6] !=null) prepareOneSlideBox(nextsh,opt,STA[6]); - } else - - if (STA[5] == "vertical" || STA[5] == "horizontal") { - if (STA[7] !=null) prepareOneSlideSlot(actsh,opt,STA[7],STA[5]); - if (STA[6] !=null) prepareOneSlideSlot(nextsh,opt,STA[6],STA[5]); - } - - // SHOW FIRST LI - if (nexttrans<12 || nexttrans>16) nextli.css({'opacity':1}); - - - ///////////////////////////////////// - // THE SLOTSLIDE - TRANSITION I. // - //////////////////////////////////// - if (nexttrans==0) { // BOXSLIDE - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - - var maxz = Math.ceil(opt.height/opt.sloth); - var curz = 0; - nextsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - curz=curz+1; - if (curz==maxz) curz=0; - - TweenLite.fromTo(ss,(masterspeed)/600, - {opacity:0,top:(0-opt.sloth),left:(0-opt.slotw),rotation:opt.rotate}, - {opacity:1,transformPerspective:600,top:0,left:0,scale:1,rotation:0,delay:((j)*15 + (curz)*30)/1500, ease:Power2.easeOut,onComplete:function() { - if (j==(opt.slots*opt.slots)-1) { - letItFree(container,opt,nextsh,actsh,nextli,actli) - } - - }}); - }); - } - ///////////////////////////////////// - // THE SLOTSLIDE - TRANSITION I. // - //////////////////////////////////// - if (nexttrans==1) { - - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - - var maxtime; - - nextsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - - rand=Math.random()*masterspeed+300; - rand2=Math.random()*500+200; - - if (rand+rand2>maxtime) maxtime = rand2+rand2; - - - TweenLite.fromTo(ss,rand/1000, - {opacity:0,transformPerspective:600,rotation:opt.rotate}, - {opacity:1, ease:Power2.easeInOut,rotation:0,delay:rand2/1000}) - - - - }); - - setTimeout(function() { - letItFree(container,opt,nextsh,actsh,nextli,actli) - },masterspeed+300); - - } - - - ///////////////////////////////////// - // THE SLOTSLIDE - TRANSITION I. // - //////////////////////////////////// - if (nexttrans==2) { - - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - - // ALL OLD SLOTS SHOULD BE SLIDED TO THE RIGHT - actsh.find('.slotslide').each(function() { - var ss=jQuery(this); - - TweenLite.to(ss,masterspeed/1000,{left:opt.slotw, rotation:(0-opt.rotate),onComplete:function() { - letItFree(container,opt,nextsh,actsh,nextli,actli) - - }}); - - }); - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - nextsh.find('.slotslide').each(function() { - var ss=jQuery(this); - - TweenLite.fromTo(ss,masterspeed/1000, - {left:0-opt.slotw, rotation:opt.rotate,transformPerspective:600}, - {left:0, rotation:0,ease:Power2.easeOut,onComplete:function() { - letItFree(container,opt,nextsh,actsh,nextli,actli) - } - }); - - }); - } - - - - ///////////////////////////////////// - // THE SLOTSLIDE - TRANSITION I. // - //////////////////////////////////// - if (nexttrans==3) { - - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - - // ALL OLD SLOTS SHOULD BE SLIDED TO THE RIGHT - actsh.find('.slotslide').each(function() { - var ss=jQuery(this); - TweenLite.to(ss,masterspeed/1000,{top:opt.sloth,rotation:opt.rotate,transformPerspective:600,onComplete:function() { - letItFree(container,opt,nextsh,actsh,nextli,actli) - }}); - - }); - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - nextsh.find('.slotslide').each(function() { - var ss=jQuery(this); - - TweenLite.fromTo(ss,masterspeed/1000, - {top:0-opt.sloth,rotation:opt.rotate,transformPerspective:600}, - {top:0,rotation:0,ease:Power2.easeOut,onComplete:function() { - letItFree(container,opt,nextsh,actsh,nextli,actli) - }}); - - }); - } - - - - ///////////////////////////////////// - // THE SLOTSLIDE - TRANSITION I. // - //////////////////////////////////// - if (nexttrans==4 || nexttrans==5) { - - //SET DEFAULT IMG UNVISIBLE - - - - - nextsh.find('.defaultimg').css({'opacity':0}); - setTimeout(function() { - actsh.find('.defaultimg').css({opacity:0}); - },100); - - - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - var cspeed = (masterspeed)/1000; - var ticker = cspeed; - - - - actsh.find('.slotslide').each(function(i) { - var ss=jQuery(this); - var del = (i*cspeed)/opt.slots; - if (nexttrans==5) del = ((opt.slots-i-1)*cspeed)/(opt.slots)/1.5; - TweenLite.to(ss,cspeed*3,{transformPerspective:600,top:0+opt.height,opacity:0.5,rotation:opt.rotate,ease:Power2.easeInOut,delay:del}); - }); - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - nextsh.find('.slotslide').each(function(i) { - var ss=jQuery(this); - var del = (i*cspeed)/opt.slots; - if (nexttrans==5) del = ((opt.slots-i-1)*cspeed)/(opt.slots)/1.5; - TweenLite.fromTo(ss,cspeed*3, - {top:(0-opt.height),opacity:0.5,rotation:opt.rotate,transformPerspective:600}, - {top:0,opacity:1,rotation:0,ease:Power2.easeInOut,delay:del,onComplete:function() { - if (i==opt.slots-1) { - letItFree(container,opt,nextsh,actsh,nextli,actli) - } - }}); - - }); - - - } - - - - - ///////////////////////////////////// - // THE SLOTSLIDE - TRANSITION I. // - //////////////////////////////////// - if (nexttrans==6) { - - - if (opt.slots<2) opt.slots=2; - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - setTimeout(function() { - actsh.find('.defaultimg').css({opacity:0}); - },100); - - actsh.find('.slotslide').each(function(i) { - var ss=jQuery(this); - - if (i
'); - - actli.find('.tp-half-one').clone(true).appendTo(actli).addClass("tp-half-two"); - actli.find('.tp-half-two').removeClass('tp-half-one'); - - var oow = opt.width; - var ooh = opt.height; - if (opt.autoHeight=="on") - ooh = container.height(); - - - actli.find('.tp-half-one .defaultimg').wrap('
') - - actli.find('.tp-half-two .defaultimg').wrap('
') - - actli.find('.tp-half-two .defaultimg').css({position:'absolute',top:'-50%'}); - - actli.find('.tp-half-two .tp-caption').wrapAll('
'); - - TweenLite.set(actli.find('.tp-half-two'), - {width:oow,height:ooh,overflow:'hidden',zIndex:15,position:'absolute',top:ooh/2,left:'0px',transformPerspective:600,transformOrigin:"center bottom"}); - - TweenLite.set(actli.find('.tp-half-one'), - {width:oow,height:ooh/2,overflow:'visible',zIndex:10,position:'absolute',top:'0px',left:'0px',transformPerspective:600,transformOrigin:"center top"}); - - - - // ANIMATE THE CUTS - var img=actli.find('.defaultimg'); - - - var ro1=Math.round(Math.random()*20-10); - var ro2=Math.round(Math.random()*20-10); - var ro3=Math.round(Math.random()*20-10); - var xof = Math.random()*0.4-0.2; - var yof = Math.random()*0.4-0.2; - var sc1=Math.random()*1+1; - var sc2=Math.random()*1+1; - - - TweenLite.fromTo(actli.find('.tp-half-one'),masterspeed/1000, - {width:oow,height:ooh/2,position:'absolute',top:'0px',left:'0px',transformPerspective:600,transformOrigin:"center top"}, - {scale:sc1,rotation:ro1,y:(0-ooh-ooh/4),ease:Power2.easeInOut}); - setTimeout(function() { - TweenLite.set(actli.find('.tp-half-one'),{overflow:'hidden'}); - },50); - TweenLite.fromTo(actli.find('.tp-half-one'),masterspeed/2000,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:masterspeed/2000}); - - TweenLite.fromTo(actli.find('.tp-half-two'),masterspeed/1000, - {width:oow,height:ooh,overflow:'hidden',position:'absolute',top:ooh/2,left:'0px',transformPerspective:600,transformOrigin:"center bottom"}, - {scale:sc2,rotation:ro2,y:ooh+ooh/4,ease:Power2.easeInOut}); - - TweenLite.fromTo(actli.find('.tp-half-two'),masterspeed/2000,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:masterspeed/2000}); - - if (actli.html()!=null) - TweenLite.fromTo(nextli,(masterspeed-200)/1000,{opacity:0,scale:0.8,x:opt.width*xof, y:ooh*yof,rotation:ro3,transformPerspective:600,transformOrigin:"center center"},{rotation:0,scale:1,x:0,y:0,opacity:1,ease:Power2.easeInOut}); - - nextsh.find('.defaultimg').css({'opacity':1}); - setTimeout(function() { - - - // CLEAN UP BEFORE WE START - actli.css({'position':'absolute','z-index':18}); - nextli.css({'position':'absolute','z-index':20}); - nextsh.find('.defaultimg').css({'opacity':1}); - actsh.find('.defaultimg').css({'opacity':0}); - if (actli.find('.tp-half-one').length>0) { - actli.find('.tp-half-one .defaultimg').unwrap(); - actli.find('.tp-half-one .slotholder').unwrap(); - - } - actli.find('.tp-half-two').remove(); - opt.transition = 0; - opt.act = opt.next; - - },masterspeed); - nextli.css({'opacity':1}); - - } - - //////////////////////////////////////// - // THE SLOTSLIDE - TRANSITION XVII. // - /////////////////////////////////////// - if (nexttrans==17) { // 3D CURTAIN HORIZONTAL - - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - - - nextsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - - TweenLite.fromTo(ss,(masterspeed)/800, - {opacity:0,rotationY:0,scale:0.9,rotationX:-110,transformPerspective:600,transformOrigin:"center center"}, - {opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,rotationY:0,ease:Power3.easeOut,delay:j*0.06,onComplete:function() { - if (j==opt.slots-1) letItFree(container,opt,nextsh,actsh,nextli,actli) - }}); - - }); - } - - - - //////////////////////////////////////// - // THE SLOTSLIDE - TRANSITION XVIII. // - /////////////////////////////////////// - if (nexttrans==18) { // 3D CURTAIN VERTICAL - - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - - nextsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - - TweenLite.fromTo(ss,(masterspeed)/500, - {opacity:0,rotationY:310,scale:0.9,rotationX:10,transformPerspective:600,transformOrigin:"center center"}, - {opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,rotationY:0,ease:Power3.easeOut,delay:j*0.06,onComplete:function() { - if (j==opt.slots-1) - letItFree(container,opt,nextsh,actsh,nextli,actli) - }}); - - }); - - - - } - - - //////////////////////////////////////// - // THE SLOTSLIDE - TRANSITION XIX. // - /////////////////////////////////////// - - - if (nexttrans==19 || nexttrans==22) { // IN CUBE - - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - setTimeout(function() { - actsh.find('.defaultimg').css({opacity:0}); - },100); - var chix=nextli.css('z-index'); - var chix2=actli.css('z-index'); - - var rot = 90; - var op = 1; - if (direction==1) rot = -90; - - if (nexttrans==19) { - var torig = "center center -"+opt.height/2; - op=0; - - } else { - var torig = "center center "+opt.height/2; - - } - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - - //if (nexttrans==129) { - TweenLite.fromTo(nextsh,masterspeed/2000,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-40}); - TweenLite.fromTo(nextsh,masterspeed/2000,{transformPerspective:600,z:-40,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(masterspeed/4000)}); - TweenLite.fromTo(actsh,masterspeed/2000,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-40}); - TweenLite.fromTo(actsh,masterspeed/2000,{transformPerspective:600,z:-40,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(masterspeed/4000)}); - //} - - nextsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - - TweenLite.fromTo(ss,masterspeed/1000, - {left:0,rotationY:opt.rotate,opacity:op,top:0,scale:0.8,transformPerspective:600,transformOrigin:torig,rotationX:rot}, - {left:0,rotationY:0,opacity:1,top:0,z:0, scale:1,rotationX:0, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { - - if (j==opt.slots-1) - letItFree(container,opt,nextsh,actsh,nextli,actli) - } - }); - TweenLite.to(ss,0.1,{opacity:1,delay:(j*50)/1000+masterspeed/3000}); - - }); - - actsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - var rot = -90; - if (direction==1) rot = 90; - - TweenLite.fromTo(ss,masterspeed/1000, - {opacity:1,rotationY:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:torig, rotationX:0}, - {opacity:1,rotationY:opt.rotate,top:0, scale:0.8,rotationX:rot, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { - - if (j==opt.slots-1) - letItFree(container,opt,nextsh,actsh,nextli,actli) - } - }); - TweenLite.to(ss,0.1,{opacity:0,delay:(j*50)/1000+(masterspeed/1000 - (masterspeed/10000))}); - - - }); - } - - - - - //////////////////////////////////////// - // THE SLOTSLIDE - TRANSITION XX. // - /////////////////////////////////////// - if (nexttrans==20 ) { // FLYIN - - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - setTimeout(function() { - actsh.find('.defaultimg').css({opacity:0}); - },100); - var chix=nextli.css('z-index'); - var chix2=actli.css('z-index'); - - - if (direction==1) { - var ofx = -opt.width - var rot =70; - var torig = "left center -"+opt.height/2; - } else { - var ofx = opt.width; - var rot = -70; - var torig = "right center -"+opt.height/2; - } - - - nextsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - //ss.css({overflow:'visible'}); - TweenLite.fromTo(ss,masterspeed/1500, - {left:ofx,rotationX:40,z:-600, opacity:op,top:0,transformPerspective:600,transformOrigin:torig,rotationY:rot}, - {left:0, delay:(j*50)/1000,ease:Power2.easeInOut}); - - TweenLite.fromTo(ss,masterspeed/1000, - {rotationX:40,z:-600, opacity:op,top:0,scale:1,transformPerspective:600,transformOrigin:torig,rotationY:rot}, - {rotationX:0,opacity:1,top:0,z:0, scale:1,rotationY:0, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { - - if (j==opt.slots-1) - letItFree(container,opt,nextsh,actsh,nextli,actli) - } - }); - TweenLite.to(ss,0.1,{opacity:1,delay:(j*50)/1000+masterspeed/2000}); - - }); - - - - actsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - //ss.css({overflow:'visible'}); - if (direction!=1) { - var ofx = -opt.width - var rot =70; - var torig = "left center -"+opt.height/2; - } else { - var ofx = opt.width; - var rot = -70; - var torig = "right center -"+opt.height/2; - } - TweenLite.fromTo(ss,masterspeed/1000, - {opacity:1,rotationX:0,top:0,z:0,scale:1,left:0, transformPerspective:600,transformOrigin:torig, rotationY:0}, - {opacity:1,rotationX:40,top:0, z:-600, left:ofx, scale:0.8,rotationY:rot, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { - - if (j==opt.slots-1) - letItFree(container,opt,nextsh,actsh,nextli,actli) } - }); - TweenLite.to(ss,0.1,{opacity:0,delay:(j*50)/1000+(masterspeed/1000 - (masterspeed/10000))}); - - - }); - } - - - - - - - //////////////////////////////////////// - // THE SLOTSLIDE - TRANSITION XX. // - /////////////////////////////////////// - if (nexttrans==21 || nexttrans==25) { // TURNOFF - - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - setTimeout(function() { - actsh.find('.defaultimg').css({opacity:0}); - },100); - var chix=nextli.css('z-index'); - var chix2=actli.css('z-index'); - - - if (direction==1) { - var ofx = -opt.width - var rot =110; - - if (nexttrans==25) { - var torig = "center top 0" - rot2 = -rot; - rot = opt.rotate; - } else { - var torig = "left center 0"; - rot2 = opt.rotate; - } - - } else { - var ofx = opt.width; - var rot = -110; - if (nexttrans==25) { - var torig = "center bottom 0" - rot2 = -rot; - rot = opt.rotate; - } else { - var torig = "right center 0"; - rot2 = opt.rotate; - } - } - - - nextsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - - - TweenLite.fromTo(ss,masterspeed/1500, - {left:0,rotationX:rot2,z:0, opacity:0,top:0,scale:1,transformPerspective:600,transformOrigin:torig,rotationY:rot}, - {left:0,rotationX:0,top:0,z:0, scale:1,rotationY:0, delay:(j*100)/1000+masterspeed/10000,ease:Power2.easeInOut,onComplete: function() { - - if (j==opt.slots-1) - letItFree(container,opt,nextsh,actsh,nextli,actli) - } - }); - TweenLite.to(ss,0.3,{opacity:1,delay:(j*100)/1000+(masterspeed*0.2)/2000+masterspeed/10000}); - - }); - - - - if (direction!=1) { - var ofx = -opt.width - var rot = 90; - - if (nexttrans==25) { - var torig = "center top 0" - rot2 = -rot; - rot = opt.rotate; - } else { - var torig = "left center 0"; - rot2 = opt.rotate; - } - - } else { - var ofx = opt.width; - var rot = -90; - if (nexttrans==25) { - var torig = "center bottom 0" - rot2 = -rot; - rot = opt.rotate; - } else { - var torig = "right center 0"; - rot2 = opt.rotate; - } - } - - actsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - - - TweenLite.fromTo(ss,masterspeed/3000, - {left:0,rotationX:0,z:0, opacity:1,top:0,scale:1,transformPerspective:600,transformOrigin:torig,rotationY:0}, - {left:0,rotationX:rot2,top:0,z:0, scale:1,rotationY:rot, delay:(j*100)/1000,ease:Power1.easeInOut}); - TweenLite.to(ss,0.2,{opacity:0,delay:(j*50)/1000+(masterspeed/3000 - (masterspeed/10000))}); - - - }); - } - - - - //////////////////////////////////////// - // THE SLOTSLIDE - TRANSITION XX. // - /////////////////////////////////////// - if (nexttrans==23 || nexttrans == 24) { // cube-horizontal - inboxhorizontal - - - //SET DEFAULT IMG UNVISIBLE - nextsh.find('.defaultimg').css({'opacity':0}); - setTimeout(function() { - actsh.find('.defaultimg').css({opacity:0}); - },100); - var chix=nextli.css('z-index'); - var chix2=actli.css('z-index'); - - var rot = -90; - if (direction==1) - rot = 90; - - var op = 1; - - - if (nexttrans==23) { - var torig = "center center -"+opt.width/2; - op=0; - - } else { - var torig = "center center "+opt.width/2; - - } - - - var opx=0; - - // ALL NEW SLOTS SHOULD BE SLIDED FROM THE LEFT TO THE RIGHT - TweenLite.fromTo(nextsh,masterspeed/2000,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-90}); - TweenLite.fromTo(nextsh,masterspeed/2000,{transformPerspective:600,z:-90,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(masterspeed/4000)}); - TweenLite.fromTo(actsh,masterspeed/2000,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-90}); - TweenLite.fromTo(actsh,masterspeed/2000,{transformPerspective:600,z:-90,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(masterspeed/4000)}); - - nextsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - - TweenLite.fromTo(ss,masterspeed/1000, - {left:opx,rotationX:opt.rotate,opacity:op,top:0,scale:1,transformPerspective:600,transformOrigin:torig,rotationY:rot}, - {left:0,rotationX:0,opacity:1,top:0,z:0, scale:1,rotationY:0, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { - - if (j==opt.slots-1) - letItFree(container,opt,nextsh,actsh,nextli,actli); - - } - }); - TweenLite.to(ss,0.1,{opacity:1,delay:(j*50)/1000+masterspeed/3000}); - - }); - - rot = 90; - if (direction==1) - rot = -90; - - - - - actsh.find('.slotslide').each(function(j) { - var ss=jQuery(this); - TweenLite.fromTo(ss,masterspeed/1000, - {left:0,opacity:1,rotationX:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:torig, rotationY:0}, - {left:opx,opacity:1,rotationX:opt.rotate,top:0, scale:1,rotationY:rot, delay:(j*50)/1000,ease:Power2.easeInOut,onComplete: function() { - - if (j==opt.slots-1) - letItFree(container,opt,nextsh,actsh,nextli,actli) - - } - }); - TweenLite.to(ss,0.1,{opacity:0,delay:(j*50)/1000+(masterspeed/1000 - (masterspeed/10000))}); - - - }); - } - - - var data={}; - data.slideIndex=opt.next+1; - container.trigger('revolution.slide.onchange',data); - setTimeout(function() { container.trigger('revolution.slide.onafterswap'); },masterspeed); - container.trigger('revolution.slide.onvideostop'); - - } - - - function getActNextli(container,opt) { - - } - - - /****************************** - - PARALLAX EFFECT - - ********************************/ - function checkForParallax(container,opt) { - container.find('>ul:first-child >li').each(function() { - var li = jQuery(this); - for (var i = 0; i<10;i++) - li.find('.rs-parallaxlevel-'+i).wrapAll('
'); - }) - - - - if (opt.parallax=="mouse" || opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") { - - container.on('mousemove.hoverdir, mouseleave.hoverdir',function(event) { - - switch (event.type) { - case "mousemove": - var t = container.offset().top, - l = container.offset().left, - mv = t + container.height()/2, - mh = l + container.width() / 2, - diffh = (mh - event.pageX), - diffv = (mv - event.pageY); - - jQuery(".tp-parallax-container").each(function() { - var pc = jQuery(this), - pl = parseInt(pc.data('parallaxlevel'),0)/100, - offsh = diffh * pl, - offsv = diffv * pl; - - TweenLite.to(pc,0.2,{x:offsh,y:offsv,ease:Power3.easeOut}); - }) - - break; - case "mouseleave": - jQuery(".tp-parallax-container").each(function() { - var pc = jQuery(this); - TweenLite.to(pc,0.4,{x:0,y:0,ease:Power3.easeOut}); - }) - break; - } - }); - - if (is_mobile()) - window.ondeviceorientation = function(event) { - var y = Math.round(event.beta || 0), - x = Math.round(event.gamma || 0), - curh = 360/container.width() * x, - curv = 180/container.height() * y; - - jQuery(".tp-parallax-container").each(function() { - var pc = jQuery(this), - pl = parseInt(pc.data('parallaxlevel'),0)/100, - offsh = curh * pl, - offsv = curv * pl; - TweenLite.to(pc,0.2,{x:offsh,y:offsv,ease:Power3.easeOut}); - }) - - // y: -90 -> +90, x:-180 -> +180 - - //jQuery('.logo-container').html("h:"+curh+" v:"+curv); - } - } - if (opt.parallax=="scroll" || opt.parallax=="scroll+mouse" || opt.parallax=="mouse+scroll") { - - jQuery(window).on('scroll',function(event) { - scrollParallax(container,opt); - }); - } - } - - /*************************************** - - SET POST OF SCROLL PARALLAX - - ***************************************/ - function scrollParallax(container,opt) { - var t = container.offset().top, - st = jQuery(window).scrollTop(), - dist = t+container.height()/2, - mv = t+container.height()/2 - st, - wh = jQuery(window).height()/2, - diffv= wh - mv; - - if (distul:first-child >li:eq('+opt.act+')'); - } catch(e) { - var actli=container.find('>ul:first-child >li:eq(1)'); - } - - opt.lastslide=opt.act; - - var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); - - - var actsh = actli.find('.slotholder'); - var nextsh = nextli.find('.slotholder'); - - nextsh.find('.defaultimg').each(function() { - var defimg = jQuery(this); - if (defimg.data('kenburn')!=undefined) { - defimg.data('kenburn').restart(); - } - TweenLite.killTweensOf(defimg,false); - TweenLite.set(defimg,{scale:1,rotationZ:0}); -// - defimg.data('bgposition',nextsh.data('bgposition')); - defimg.data('currotate',nextsh.data('rotationstart')); - defimg.data('curscale',nextsh.data('bgfit')); - - - }); - /*actsh.find('.defaultimg').each(function() { - var defimg = jQuery(this); - TweenLite.killTweensOf(defimg,false); - TweenLite.set(defimg,{scale:1,rotationZ:0}); - if (defimg.data('oldbgposition')!=undefined) - defimg.data('bgposition',defimg.data('oldbgposition')); - - defimg.data('currotate',nextsh.data('rotationstart')); - defimg.data('curscale',nextsh.data('zoomstart')/100); - - });*/ - - } - - - /****************************** - - startKenBurn - - ********************************/ - function startKenBurn(container,opt,recalc) { - - try{ - var actli = container.find('>ul:first-child >li:eq('+opt.act+')'); - } catch(e) { - var actli=container.find('>ul:first-child >li:eq(1)'); - } - - opt.lastslide=opt.act; - - var nextli = container.find('>ul:first-child >li:eq('+opt.next+')'); - - - var actsh = actli.find('.slotholder'); - var nextsh = nextli.find('.slotholder'); - - var - bgps = nextsh.data('bgposition'), - bgpe = nextsh.data('bgpositionend'), - zos = nextsh.data('zoomstart')/100, - zoe = nextsh.data('zoomend')/100, - ros = nextsh.data('rotationstart'), - roe = nextsh.data('rotationend'), - bgfs = nextsh.data('bgfit'), - bgfe = nextsh.data('bgfitend'), - easeme = nextsh.data('easeme'), - dur = nextsh.data('duration')/1000, - bgfb = 100; - - - if (bgfs==undefined) bgfs=100; - if (bgfe==undefined) bgfe=100; - - bgfs = calculateKenBurnScales(bgfs,nextsh,opt); - bgfe = calculateKenBurnScales(bgfe,nextsh,opt); - bgfb = calculateKenBurnScales(100,nextsh,opt); - - - - if (zos==undefined) zos=1; - if (zoe==undefined) zoe=1; - if (ros==undefined) ros=0; - if (roe==undefined) roe=0; - - if (zos<1) zos=1; - if (zoe<1) zoe=1; - - - var imgobj = new Object(); - imgobj.w = parseInt(bgfb.split(" ")[0],0), - imgobj.h = parseInt(bgfb.split(" ")[1],0); - - - - nextsh.find('.defaultimg').each(function() { - var defimg = jQuery(this); - if (nextsh.find('.kenburnimg').length==0) - nextsh.append('
'); - - - var kbimg = nextsh.find('.kenburnimg img'); - - var imgs = calculateKenBurnImgPos(opt,bgps,bgfs,kbimg), - imge = calculateKenBurnImgPos(opt,bgpe,bgfe,kbimg); - - - defimg.data('kenburn',TweenLite.fromTo(kbimg,dur,{autoAlpha:1,transformPerspective:1200, transformOrigin:"0% 0%", top:0,left:0, scale:imgs.w, x:imgs.x, y:imgs.y},{autoAlpha:1,rotationZ:roe,ease:easeme, x:imge.x, y:imge.y,scale:imge.w,onUpdate:function() { - - var sx = kbimg[0]._gsTransform.scaleX; - var ww = (sx * kbimg.width()) - opt.width, - hh = (sx * kbimg.height()) - opt.height, - hor = Math.abs((kbimg[0]._gsTransform.x / ww)*100), - ver = Math.abs((kbimg[0]._gsTransform.y / hh)*100); - defimg.data('bgposition',hor+"% "+ver+"%"); - if (!isIE(8)) defimg.data('currotate',getRotationDegrees(kbimg)); - if (!isIE(8)) defimg.data('curscale',(imgobj.w*sx)+"% "+(imgobj.h*sx+"%")); - TweenLite.set(defimg,{rotation:defimg.data('currotate'), backgroundPosition:defimg.data('bgposition'), backgroundSize:defimg.data('curscale')}); - - }})); - - - - - }) - } - - - function calculateKenBurnImgPos(opt,bgp,bgf,img) { - var imgobj = new Object; - - imgobj.w = parseInt(bgf.split(" ")[0],0) / 100; - - switch(bgp) { - case "left top": - case "top left": - imgobj.x = 0; - imgobj.y = 0; - break; - case "center top": - case "top center": - imgobj.x = (((0-img.width()) * imgobj.w) + opt.width)/2; - imgobj.y = 0; - break; - case "top right": - case "right top": - imgobj.x = ((0-img.width()) * imgobj.w) + opt.width; - imgobj.y = 0; - - break; - case "center left": - case "left center": - imgobj.x = 0; - imgobj.y = (((0-img.height()) * imgobj.w) + opt.height) / 2; - break; - case "center center": - imgobj.x = (((0-img.width()) * imgobj.w) + opt.width)/2; - imgobj.y = (((0-img.height()) * imgobj.w) + opt.height) / 2; - - break; - case "center right": - case "right center": - imgobj.x = ((0-img.width()) * imgobj.w) + opt.width; - imgobj.y = (((0-img.height()) * imgobj.w) + opt.height) / 2; - - break; - case "bottom left": - case "left bottom": - imgobj.x =0; - imgobj.y = ((0-img.height()) * imgobj.w) + opt.height; - - break; - case "bottom center": - case "center bottom": - imgobj.x = (((0-img.width()) * imgobj.w) + opt.width)/2; - imgobj.y = ((0-img.height()) * imgobj.w) + opt.height; - break; - case "bottom right": - case "right bottom": - imgobj.x = ((0-img.width()) * imgobj.w) + opt.width;; - imgobj.y = ((0-img.height()) * imgobj.w) + opt.height; - break; - } - - - return imgobj; - } - - - /*********************************************** - - KEN BURN BACKGROUND FIT CALCULATOR - - ***********************************************/ - function calculateKenBurnScales(proc,sloth,opt) { - var ow = sloth.data('owidth'); - var oh = sloth.data('oheight'); - - var factor = (opt.container.width() /ow); - var nheight = oh * factor; - - var hfactor = (nheight / opt.container.height())*proc; - - - - return (proc+"% "+hfactor+"%"); - } - - - /****************************************************** - - CALCULATE CURRENT SCALE AND ROTATION - - *******************************************************/ - - function getMatrix(obj) { - var matrix = obj.css("-webkit-transform") || - obj.css("-moz-transform") || - obj.css("-ms-transform") || - obj.css("-o-transform") || - obj.css("transform"); - return matrix; - }; - - function parseMatrix(_str) { - return _str.replace(/^matrix(3d)?\((.*)\)$/,'$2').split(/, /); - } - - function getScaleDegrees(obj) { - var matrix = parseMatrix(getMatrix(obj)), - scale = 1; - - if(matrix[0] !== 'none') { - var a = matrix[0], - b = matrix[1], - d = 10; - scale = Math.round( Math.sqrt( a*a + b*b ) * d ) / d; - } - - return scale; - }; - - function getRotationDegrees(obj) { - var matrix = obj.css("-webkit-transform") || - obj.css("-moz-transform") || - obj.css("-ms-transform") || - obj.css("-o-transform") || - obj.css("transform"); - if(matrix !== 'none') { - var values = matrix.split('(')[1].split(')')[0].split(','); - var a = values[0]; - var b = values[1]; - var angle = Math.round(Math.atan2(b, a) * (180/Math.PI)); - } else { var angle = 0; } - return (angle < 0) ? angle +=360 : angle; - } - - /************************************** - - GIVE FREE THE TRANSITIOSN - - **************************************/ - function letItFree(container,opt,nextsh,actsh,nextli,actli) { - removeSlots(container,opt); - nextsh.find('.defaultimg').css({'opacity':1}); - if (nextli.index()!=actli.index()) actsh.find('.defaultimg').css({'opacity':0}); - opt.act=opt.next; - moveSelectedThumb(container); - if (nextsh.data('kenburns')=="on") - startKenBurn(container,opt); - } - - - ////////////////////////////////////////// - // CHANG THE YOUTUBE PLAYER STATE HERE // - //////////////////////////////////////// - function onPlayerStateChange(event) { - - var embedCode = event.target.getVideoEmbedCode(); - var ytcont = jQuery('#'+embedCode.split('id="')[1].split('"')[0]) - var container = ytcont.closest('.tp-simpleresponsive'); - var player = ytcont.parent().data('player'); - - if (event.data == YT.PlayerState.PLAYING) { - - var bt = container.find('.tp-bannertimer'); - var opt = bt.data('opt'); - - - if (ytcont.closest('.tp-caption').data('volume')=="mute") - player.mute(); - - opt.videoplaying=true; - container.trigger('stoptimer'); - //konsole.log("VideoPlay set to True due onPlayerStateChange PLAYING"); - container.trigger('revolution.slide.onvideoplay'); //opt.videostartednow=1; - - - } else { - - var bt = container.find('.tp-bannertimer'); - var opt = bt.data('opt'); - - if (event.data!=-1) { - opt.videoplaying=false; - container.trigger('playtimer'); - container.trigger('revolution.slide.onvideostop'); //opt.videostoppednow=1; - - } - - } - if (event.data==0 && opt.nextslideatend==true) - opt.container.revnext(); - - - } - - - - //////////////////////// - // VIMEO ADD EVENT ///// - //////////////////////// - function addEvent(element, eventName, callback) { - - if (element.addEventListener) element.addEventListener(eventName, callback, false); - else - element.attachEvent(eventName, callback, false); - } - - - - ///////////////////////////////////// - // EVENT HANDLING FOR VIMEO VIDEOS // - ///////////////////////////////////// - - function vimeoready_auto(player_id,autoplay) { - - var froogaloop = $f(player_id); - var vimcont = jQuery('#'+player_id); - var container = vimcont.closest('.tp-simpleresponsive'); - - - froogaloop.addEvent('ready', function(data) { - if(autoplay) froogaloop.api('play'); - - froogaloop.addEvent('play', function(data) { - var bt = container.find('.tp-bannertimer'); - var opt = bt.data('opt'); - - opt.videoplaying=true; - container.trigger('stoptimer'); - if (vimcont.closest('.tp-caption').data('volume')=="mute") - froogaloop.api('setVolume',"0"); - //konsole.log("VideoPlay set to True due vimeoready_auto PLAYING"); - }); - - froogaloop.addEvent('finish', function(data) { - var bt = container.find('.tp-bannertimer'); - var opt = bt.data('opt'); - opt.videoplaying=false; - container.trigger('playtimer'); - //konsole.log("VideoPlay set to False due vimeoready_auto FINISH"); - container.trigger('revolution.slide.onvideoplay'); //opt.videostartednow=1; - if (opt.nextslideatend==true) - opt.container.revnext(); - - }); - - froogaloop.addEvent('pause', function(data) { - var bt = container.find('.tp-bannertimer'); - var opt = bt.data('opt'); - opt.videoplaying=false; - container.trigger('playtimer'); - //konsole.log("VideoPlay set to False due vimeoready_auto PAUSE"); - container.trigger('revolution.slide.onvideostop'); //opt.videostoppednow=1; - }); - }); - } - - - - ///////////////////////////////////// - // RESIZE HTML5VIDEO FOR FULLSCREEN// - ///////////////////////////////////// - function updateHTML5Size(pc,container) { - var windowW = container.width(); - var windowH = container.height(); - var mediaAspect = pc.data('mediaAspect'); - - - var windowAspect = windowW/windowH; - - pc.css({position:"absolute"}); - var video = pc.find('video'); - - if (windowAspect < mediaAspect) { - // taller - pc - .width(windowH*mediaAspect) - .height(windowH); - pc - .css('top',0) - .css('left',-(windowH*mediaAspect-windowW)/2) - .css('height',windowH); - - /* video - .width(windowH*mediaAspect) - .height(windowH); - video - .css('top',0) - .css('left',-(windowH*mediaAspect-windowW)/2) - .css('height',windowH); */ - - - } else { - // wider - pc - .width(windowW) - .height(windowW/mediaAspect); - pc - .css('top',-(windowW/mediaAspect-windowH)/2) - .css('left',0) - .css('height',windowW/mediaAspect); - - /* video - .width(windowW) - .height(windowW/mediaAspect); - video - .css('top',-(windowW/mediaAspect-windowH)/2) - .css('left',0) - .css('height',windowW/mediaAspect);*/ - - } - - - } - - - - ///////////////////////////////////// - // - CREATE ANIMATION OBJECT - // - ///////////////////////////////////// - - function newAnimObject() { - var a = new Object(); - a.x=0; - a.y=0; - a.rotationX = 0; - a.rotationY = 0; - a.rotationZ = 0; - a.scale = 1; - a.scaleX = 1; - a.scaleY = 1; - a.skewX = 0; - a.skewY = 0; - a.opacity=0; - a.transformOrigin = "center, center"; - a.transformPerspective = 400; - a.rotation = 0; - return a; - } - - /////////////////////////////////////////////////// - // ANALYSE AND READ OUT DATAS FROM HTML CAPTIONS // - /////////////////////////////////////////////////// - function getAnimDatas(frm,data) { - - var customarray = data.split(';'); - jQuery.each(customarray,function(index,param) { - - param = param.split(":") - - var w = param[0], - v = param[1]; - if (w=="rotationX") frm.rotationX = parseInt(v,0); - if (w=="rotationY") frm.rotationY = parseInt(v,0); - if (w=="rotationZ") frm.rotationZ = parseInt(v,0); - if (w=="rotationZ") frm.rotation = parseInt(v,0); - if (w=="scaleX") frm.scaleX = parseFloat(v); - if (w=="scaleY") frm.scaleY = parseFloat(v); - if (w=="opacity") frm.opacity = parseFloat(v); - if (w=="skewX") frm.skewX = parseInt(v,0); - if (w=="skewY") frm.skewY = parseInt(v,0); - if (w=="x") frm.x = parseInt(v,0); - if (w=="y") frm.y = parseInt(v,0); - if (w=="z") frm.z = parseInt(v,0); - if (w=="transformOrigin") frm.transformOrigin = v.toString(); - if (w=="transformPerspective") frm.transformPerspective=parseInt(v,0); - }) - - return frm; - } - /////////////////////////////////////////////////////////////////// - // ANALYSE AND READ OUT DATAS FROM HTML CAPTIONS ANIMATION STEPS // - /////////////////////////////////////////////////////////////////// - function getAnimSteps(data) { - - var paramarray = data.split("animation:"); - var params = new Object(); - - params.animation = getAnimDatas(newAnimObject(),paramarray[1]); - var customarray = paramarray[0].split(';'); - - jQuery.each(customarray,function(index,param) { - param = param.split(":") - var w = param[0], - v = param[1]; - if (w=="typ") params.typ = v; - if (w=="speed") params.speed = parseInt(v,0)/1000; - if (w=="start") params.start = parseInt(v,0)/1000; - if (w=="elementdelay") params.elementdelay = parseFloat(v); - if (w=="ease") params.ease = v; - }) - - return params; - } - - - - - //////////////////////// - // SHOW THE CAPTION // - /////////////////////// - function animateTheCaptions(nextli, opt,recalled) { - - var offsetx=0; - var offsety=0; - - nextli.find('.tp-caption').each(function(i) { - - - offsetx = opt.width/2 - (opt.startwidth*opt.bw)/2; - - - - var xbw = opt.bw; - var xbh = opt.bh; - - - if (opt.fullScreen=="on") - offsety = opt.height/2 - (opt.startheight*opt.bh)/2; - - if (opt.autoHeight=="on") - offsety = opt.container.height()/2 - (opt.startheight*opt.bh)/2;; - - if (offsety<0) offsety=0; - - var nextcaption=jQuery(this);//nextli.find('.tp-caption:eq('+i+')'); - - var handlecaption=0; - - // HIDE CAPTION IF RESOLUTION IS TOO LOW - if (opt.width0 || nextcaption.find('video').length>0) { - - - if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true" ) { - nextcaption.data('autoplay',true); - } - - nextcaption.find('iframe').each(function() { - var ifr=jQuery(this); - - if (is_mobile()) { - var oldsrc = ifr.attr('src'); - ifr.attr('src',""); - ifr.attr('src',oldsrc); - } - - - // START YOUTUBE HANDLING - opt.nextslideatend = nextcaption.data('nextslideatend'); - if (nextcaption.data('thumbimage')!=undefined && nextcaption.data('thumbimage').length>2 && nextcaption.data('autoplay')!=true && !recalled) { - nextcaption.find('.tp-thumb-image').remove(); - nextcaption.append('
'); - } - - if (ifr.attr('src').toLowerCase().indexOf('youtube')>=0) { - - // if (is_mobile()) ifr.attr('src',ifr.attr('src').replace("enablejsapi=1","")); - - if (!ifr.hasClass("HasListener")) { - try { - ifr.attr('id',frameID); - - var player; - var ytint = setInterval(function() { - if (YT !=undefined) - if (typeof YT.Player != undefined && typeof YT.Player !="undefined") { - - if (nextcaption.data('autoplay')==true) { - player = new YT.Player(frameID, { - events: { - "onStateChange": onPlayerStateChange, - 'onReady': function(event) { - event.target.playVideo(); - } - } - }); - } else - player = new YT.Player(frameID, { - events: { - "onStateChange": onPlayerStateChange - } - }); - ifr.addClass("HasListener"); - - nextcaption.data('player',player); - clearInterval(ytint); - } - } - , 100) - - - - } catch(e) {} - } else { - - if (nextcaption.data('autoplay')==true) { - var player=nextcaption.data('player'); - nextcaption.data('timerplay',setTimeout(function() { - if (nextcaption.data('forcerewind')=="on") - player.seekTo(0); - player.playVideo(); - },nextcaption.data('start'))); - } - } // END YOUTUBE HANDLING - - // PLAY VIDEO IF THUMBNAIL HAS BEEN CLICKED - nextcaption.find('.tp-thumb-image').click(function() { - TweenLite.to(jQuery(this),0.3,{opacity:0,ease:Power3.easeInOut,onComplete: function() { - nextcaption.find('.tp-thumb-image').remove(); - } - }) - var player=nextcaption.data('player'); - player.playVideo(); - }) - } else { - // START VIMEO HANDLING - if (ifr.attr('src').toLowerCase().indexOf('vimeo')>=0) { - - if (!ifr.hasClass("HasListener")) { - ifr.addClass("HasListener"); - ifr.attr('id',frameID); - var isrc = ifr.attr('src'); - var queryParameters = {}, queryString = isrc, - re = /([^&=]+)=([^&]*)/g, m; - // Creates a map with the query string parameters - while (m = re.exec(queryString)) { - queryParameters[decodeURIComponent(m[1])] = decodeURIComponent(m[2]); - } - - if (queryParameters['player_id']!=undefined) - isrc = isrc.replace(queryParameters['player_id'],frameID); - else - isrc=isrc+"&player_id="+frameID; - - try{ isrc = isrc.replace('api=0','api=1'); } catch(e) {} - - isrc=isrc+"&api=1"; - - ifr.attr('src',isrc); - var player = nextcaption.find('iframe')[0]; - var vimint = setInterval(function() { - if ($f !=undefined) - if (typeof $f(frameID).api != undefined && typeof $f(frameID).api !="undefined") { - $f(player).addEvent('ready', function(){ - vimeoready_auto(frameID,nextcaption.data('autoplay')) - }); - clearInterval(vimint); - } - },100); - - } else { - if (nextcaption.data('autoplay')==true) { - - var ifr = nextcaption.find('iframe'); - var id = ifr.attr('id'); - var vimint = setInterval(function() { - if ($f !=undefined) - if (typeof $f(id).api != undefined && typeof $f(id).api !="undefined") { - var froogaloop = $f(id); - nextcaption.data('timerplay',setTimeout(function() { - if (nextcaption.data('forcerewind')=="on") - froogaloop.api("seekTo",0); - froogaloop.api("play"); - },nextcaption.data('start'))); - clearInterval(vimint); - } - },100); - } - }// END HAS LISTENER HANDLING - - // PLAY VIDEO IF THUMBNAIL HAS BEEN CLICKED - nextcaption.find('.tp-thumb-image').click(function() { - TweenLite.to(jQuery(this),0.3,{opacity:0,ease:Power3.easeInOut,onComplete: function() { - nextcaption.find('.tp-thumb-image').remove(); - } - }) - var ifr = nextcaption.find('iframe'); - var id = ifr.attr('id'); - var vimint = setInterval(function() { - if ($f !=undefined) - if (typeof $f(id).api != undefined && typeof $f(id).api !="undefined") { - var froogaloop = $f(id); - froogaloop.api("play"); - clearInterval(vimint); - } - },100); - }) - - - } // END OF VIMEO HANDLING - } // END OF CHOOSE BETWEEN YOUTUBE AND VIMEO - }); // END OF LOOP THROUGH IFRAMES - - // START OF VIDEO JS - if (nextcaption.find('video').length>0) { - - - nextcaption.find('video').each(function(i) { - - var jvideo = jQuery(this); - var video = this; - - if (!jvideo.parent().hasClass("html5vid")) { - jvideo.wrap('
'); - - } - var html5vid = jQuery(this).parent(); - - if (video.addEventListener) - video.addEventListener("loadedmetadata",function() { - html5vid.data('metaloaded',1); - }); - else - video.attachEvent("loadedmetadata",function() { - html5vid.data('metaloaded',1); - }); - - - if (!jvideo.hasClass("HasListener")) { - - jvideo.addClass("HasListener") - video.addEventListener("play",function() { - html5vid.addClass("videoisplaying"); - html5vid.find('.tp-poster').remove(); - if (nextcaption.data('volume')=="mute") - video.muted=true; - opt.container.trigger('revolution.slide.onvideoplay'); - opt.videoplaying=true; - opt.container.trigger('stoptimer'); - - }); - - video.addEventListener("pause",function() { - html5vid.removeClass("videoisplaying"); - opt.videoplaying=false; - opt.container.trigger('playtimer'); - opt.container.trigger('revolution.slide.onvideostop'); - }); - - video.addEventListener("ended",function() { - html5vid.removeClass("videoisplaying"); - opt.videoplaying=false; - opt.container.trigger('playtimer'); - opt.container.trigger('revolution.slide.onvideostop'); - if (opt.nextslideatend==true) - opt.container.revnext(); - }); - } - - - if (jvideo.attr('poster')!=undefined && html5vid.find('.tp-poster').length==0) - html5vid.append('
'); - - if (jvideo.attr('control') == undefined && html5vid.find('.tp-video-play-button').length==0) { - html5vid.append('
'); - html5vid.find('.tp-video-play-button').click(function() { - if (html5vid.hasClass("videoisplaying")) - video.pause(); - else - video.play(); - }) - } - - if (jvideo.attr('control') == undefined) { - html5vid.find('video, .tp-poster').click(function() { - if (html5vid.hasClass("videoisplaying")) - video.pause(); - else - video.play(); - }) - } - - - - if (nextcaption.data('forcecover')==1) { - updateHTML5Size(html5vid,opt.container); - html5vid.addClass("fullcoveredvideo"); - nextcaption.addClass("fullcoveredvideo"); - } - - if (nextcaption.data('forcecover')==1 || nextcaption.hasClass('fullscreenvideo')) { - html5vid.css({width:"100%", height:"100%"}); - } - - - var autoplaywason = false; - if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true") - autoplaywason = true; - - clearInterval(html5vid.data('interval')); - html5vid.data('interval',setInterval(function() { - - if (html5vid.data('metaloaded')==1 || video.duration!=NaN) { - - clearInterval(html5vid.data('interval')); - - - if (nextcaption.data('dottedoverlay')!="none" && nextcaption.data('dottedoverlay')!=undefined) - if (nextcaption.find('.tp-dottedoverlay').length!=1) - html5vid.append('
'); - - var mediaaspect=16/9; - if (nextcaption.data('aspectratio')=="4:3") mediaaspect=4/3; - html5vid.data('mediaAspect',mediaaspect); - - - - if (html5vid.closest('.tp-caption').data('forcecover')==1) { - updateHTML5Size(html5vid,opt.container); - html5vid.addClass("fullcoveredvideo"); - } - - jvideo.css({display:"block"}); - - opt.nextslideatend = nextcaption.data('nextslideatend'); - - // IF VIDEO SHOULD BE AUTOPLAYED - if (nextcaption.data('autoplay')==true || autoplaywason==true) { - var bt=jQuery('body').find('#'+opt.container.attr('id')).find('.tp-bannertimer'); - setTimeout(function(){ - opt.videoplaying=true; - opt.container.trigger('stoptimer'); - },200); - - - - - if (nextcaption.data('forcerewind')=="on" && !html5vid.hasClass("videoisplaying")) - if (video.currentTime>0) video.currentTime=0; - - if (nextcaption.data('volume')=="mute") - video.muted = true; - - html5vid.data('timerplay',setTimeout(function() { - - if (nextcaption.data('forcerewind')=="on" && !html5vid.hasClass("videoisplaying")) - if (video.currentTime>0) video.currentTime=0; - - if (nextcaption.data('volume')=="mute") - video.muted = true; - - setTimeout(function() { - - video.play(); - - },500); - },10+nextcaption.data('start'))); - } - - - if (html5vid.data('ww') == undefined) html5vid.data('ww',jvideo.attr('width')); - if (html5vid.data('hh') == undefined) html5vid.data('hh',jvideo.attr('height')); - - if (!nextcaption.hasClass("fullscreenvideo") && nextcaption.data('forcecover')==1) { - try{ - html5vid.width(html5vid.data('ww')*opt.bw); - html5vid.height(html5vid.data('hh')*opt.bh); - } catch(e) {} - } - - clearInterval(html5vid.data('interval')); - } - }),100); - - }); - } // END OF VIDEO JS FUNCTIONS - - // IF AUTOPLAY IS ON, WE NEED SOME STOP FUNCTION ON - if (nextcaption.data('autoplay')==true) { - var bt=jQuery('body').find('#'+opt.container.attr('id')).find('.tp-bannertimer'); - - setTimeout(function() { - - opt.videoplaying=true; - opt.container.trigger('stoptimer'); - - },200) - opt.videoplaying=true; - opt.container.trigger('stoptimer'); - - if (nextcaption.data('autoplayonlyfirsttime') == true || nextcaption.data('autoplayonlyfirsttime')=="true" ) { - nextcaption.data('autoplay',false); - nextcaption.data('autoplayonlyfirsttime',false); - } - } - } - - - - - // NEW ENGINE - //if (nextcaption.hasClass("randomrotate") && (opt.ie || opt.ie9)) nextcaption.removeClass("randomrotate").addClass("sfb"); - // nextcaption.removeClass('noFilterClass'); - - - - var imw =0; - var imh = 0; - - if (nextcaption.find('img').length>0) { - var im = nextcaption.find('img'); - if (im.data('ww') == undefined) im.data('ww',im.width()); - if (im.data('hh') == undefined) im.data('hh',im.height()); - - var ww = im.data('ww'); - var hh = im.data('hh'); - - - im.width(ww*opt.bw); - im.height(hh*opt.bh); - imw = im.width(); - imh = im.height(); - } else { - - if (nextcaption.find('iframe').length>0 || nextcaption.find('video').length>0) { - - var html5vid = false; - var im = nextcaption.find('iframe'); - if (im.length==0) { - im = nextcaption.find('video'); - html5vid = true; - } - im.css({display:"block"}); - - if (nextcaption.data('ww') == undefined) nextcaption.data('ww',im.width()); - if (nextcaption.data('hh') == undefined) nextcaption.data('hh',im.height()); - - var ww = nextcaption.data('ww'); - var hh = nextcaption.data('hh'); - - var nc =nextcaption; - if (nc.data('fsize') == undefined) nc.data('fsize',parseInt(nc.css('font-size'),0) || 0); - if (nc.data('pt') == undefined) nc.data('pt',parseInt(nc.css('paddingTop'),0) || 0); - if (nc.data('pb') == undefined) nc.data('pb',parseInt(nc.css('paddingBottom'),0) || 0); - if (nc.data('pl') == undefined) nc.data('pl',parseInt(nc.css('paddingLeft'),0) || 0); - if (nc.data('pr') == undefined) nc.data('pr',parseInt(nc.css('paddingRight'),0) || 0); - - if (nc.data('mt') == undefined) nc.data('mt',parseInt(nc.css('marginTop'),0) || 0); - if (nc.data('mb') == undefined) nc.data('mb',parseInt(nc.css('marginBottom'),0) || 0); - if (nc.data('ml') == undefined) nc.data('ml',parseInt(nc.css('marginLeft'),0) || 0); - if (nc.data('mr') == undefined) nc.data('mr',parseInt(nc.css('marginRight'),0) || 0); - - if (nc.data('bt') == undefined) nc.data('bt',parseInt(nc.css('borderTop'),0) || 0); - if (nc.data('bb') == undefined) nc.data('bb',parseInt(nc.css('borderBottom'),0) || 0); - if (nc.data('bl') == undefined) nc.data('bl',parseInt(nc.css('borderLeft'),0) || 0); - if (nc.data('br') == undefined) nc.data('br',parseInt(nc.css('borderRight'),0) || 0); - - if (nc.data('lh') == undefined) nc.data('lh',parseInt(nc.css('lineHeight'),0) || 0); - - var fvwidth=opt.width; - var fvheight=opt.height; - if (fvwidth>opt.startwidth) fvwidth=opt.startwidth; - if (fvheight>opt.startheight) fvheight=opt.startheight; - - - - if (!nextcaption.hasClass('fullscreenvideo')) - nextcaption.css({ - - 'font-size': (nc.data('fsize') * opt.bw)+"px", - - 'padding-top': (nc.data('pt') * opt.bh) + "px", - 'padding-bottom': (nc.data('pb') * opt.bh) + "px", - 'padding-left': (nc.data('pl') * opt.bw) + "px", - 'padding-right': (nc.data('pr') * opt.bw) + "px", - - 'margin-top': (nc.data('mt') * opt.bh) + "px", - 'margin-bottom': (nc.data('mb') * opt.bh) + "px", - 'margin-left': (nc.data('ml') * opt.bw) + "px", - 'margin-right': (nc.data('mr') * opt.bw) + "px", - - 'border-top': (nc.data('bt') * opt.bh) + "px", - 'border-bottom': (nc.data('bb') * opt.bh) + "px", - 'border-left': (nc.data('bl') * opt.bw) + "px", - 'border-right': (nc.data('br') * opt.bw) + "px", - - 'line-height': (nc.data('lh') * opt.bh) + "px", - 'height':(hh*opt.bh)+'px', - }); - else { - - offsetx=0; offsety=0; - nextcaption.data('x',0) - nextcaption.data('y',0) - - var ovhh = opt.height - if (opt.autoHeight=="on") - ovhh = opt.container.height() - nextcaption.css({ - - 'width':opt.width, - 'height':ovhh - }); - } - - if (html5vid == false) { - im.width(ww*opt.bw); - im.height(hh*opt.bh); - } - - else - - if (nextcaption.data('forcecover')!=1 && !nextcaption.hasClass('fullscreenvideo')) { - im.width(ww*opt.bw); - im.height(hh*opt.bh); - } - - - imw = im.width(); - imh = im.height(); - } - - else { - - - nextcaption.find('.tp-resizeme, .tp-resizeme *').each(function() { - calcCaptionResponsive(jQuery(this),opt); - }); - - if (nextcaption.hasClass("tp-resizeme")) { - nextcaption.find('*').each(function() { - calcCaptionResponsive(jQuery(this),opt); - }); - } - - calcCaptionResponsive(nextcaption,opt); - - imh=nextcaption.outerHeight(true); - imw=nextcaption.outerWidth(true); - - // NEXTCAPTION FRONTCORNER CHANGES - var ncch = nextcaption.outerHeight(); - var bgcol = nextcaption.css('backgroundColor'); - nextcaption.find('.frontcorner').css({ - 'borderWidth':ncch+"px", - 'left':(0-ncch)+'px', - 'borderRight':'0px solid transparent', - 'borderTopColor':bgcol - }); - - nextcaption.find('.frontcornertop').css({ - 'borderWidth':ncch+"px", - 'left':(0-ncch)+'px', - 'borderRight':'0px solid transparent', - 'borderBottomColor':bgcol - }); - - // NEXTCAPTION BACKCORNER CHANGES - nextcaption.find('.backcorner').css({ - 'borderWidth':ncch+"px", - 'right':(0-ncch)+'px', - 'borderLeft':'0px solid transparent', - 'borderBottomColor':bgcol - }); - - // NEXTCAPTION BACKCORNER CHANGES - nextcaption.find('.backcornertop').css({ - 'borderWidth':ncch+"px", - 'right':(0-ncch)+'px', - 'borderLeft':'0px solid transparent', - 'borderTopColor':bgcol - }); - - } - - - } - - if (opt.fullScreenAlignForce == "on") { - //xbw = 1; - //xbh = 1; - offsetx=0; - offsety=0; - } - - - - if (nextcaption.data('voffset')==undefined) nextcaption.data('voffset',0); - if (nextcaption.data('hoffset')==undefined) nextcaption.data('hoffset',0); - - var vofs= nextcaption.data('voffset')*xbw; - var hofs= nextcaption.data('hoffset')*xbw; - - var crw = opt.startwidth*xbw; - var crh = opt.startheight*xbw; - - if (opt.fullScreenAlignForce == "on") { - crw = opt.container.width(); - crh = opt.container.height(); - } - - - - // CENTER THE CAPTION HORIZONTALLY - if (nextcaption.data('x')=="center" || nextcaption.data('xcenter')=='center') { - nextcaption.data('xcenter','center'); - //nextcaption.data('x',(crw/2 - nextcaption.outerWidth(true)/2)/xbw+ hofs); - nextcaption.data('x',(crw/2 - nextcaption.outerWidth(true)/2) + hofs); - - - } - - // ALIGN LEFT THE CAPTION HORIZONTALLY - if (nextcaption.data('x')=="left" || nextcaption.data('xleft')=='left') { - nextcaption.data('xleft','left'); - - nextcaption.data('x',(0)/xbw+hofs); - - } - - // ALIGN RIGHT THE CAPTION HORIZONTALLY - if (nextcaption.data('x')=="right" || nextcaption.data('xright')=='right') { - nextcaption.data('xright','right'); - nextcaption.data('x',((crw - nextcaption.outerWidth(true))+hofs)/xbw); - //konsole.log("crw:"+crw+" width:"+nextcaption.outerWidth(true)+" xbw:"+xbw); - //konsole.log("x-pos:"+nextcaption.data('x')) - } - - - // CENTER THE CAPTION VERTICALLY - if (nextcaption.data('y')=="center" || nextcaption.data('ycenter')=='center') { - nextcaption.data('ycenter','center'); - nextcaption.data('y',(crh/2 - nextcaption.outerHeight(true)/2) + vofs); - } - - // ALIGN TOP THE CAPTION VERTICALLY - if (nextcaption.data('y')=="top" || nextcaption.data('ytop')=='top') { - nextcaption.data('ytop','top'); - nextcaption.data('y',(0)/opt.bh+vofs); - - } - - // ALIGN BOTTOM THE CAPTION VERTICALLY - if (nextcaption.data('y')=="bottom" || nextcaption.data('ybottom')=='bottom') { - nextcaption.data('ybottom','bottom'); - nextcaption.data('y',((crh - nextcaption.outerHeight(true))+vofs)/xbw); - - } - - - - // THE TRANSITIONS OF CAPTIONS - // MDELAY AND MSPEED - if (nextcaption.data('start') == undefined) nextcaption.data('start',1000); - - - - var easedata=nextcaption.data('easing'); - if (easedata==undefined) easedata="Power1.easeOut"; - - - var mdelay = nextcaption.data('start')/1000; - var mspeed = nextcaption.data('speed')/1000; - - - if (nextcaption.data('x')=="center" || nextcaption.data('xcenter')=='center') - var calcx = (nextcaption.data('x')+offsetx); - else { - - var calcx = (xbw*nextcaption.data('x')+offsetx); - } - - - if (nextcaption.data('y')=="center" || nextcaption.data('ycenter')=='center') - var calcy = (nextcaption.data('y')+offsety); - else { - //if (opt.fullScreenAlignForce == "on" && (nextcaption.data('y')=="bottom" || nextcaption.data('ybottom')=='bottom')) - // opt.bh = 1; - - var calcy = (opt.bh*nextcaption.data('y')+offsety); - } - - - - - TweenLite.set(nextcaption,{top:calcy,left:calcx,overwrite:"auto"}); - - if (!recalled) { - - - - // CLEAR THE TIMELINE, SINCE IT CAN BE DAMAGED, OR PAUSED AT A FEW PART - if (nextcaption.data('timeline')!=undefined) - nextcaption.data('timeline').clear(); - - // MAKE SURE THE ANIMATION ENDS WITH A CLEANING ON MOZ TRANSFORMS - function animcompleted() { - setTimeout(function() { - nextcaption.css({transform:"none",'-moz-transform':'none','-webkit-transform':'none'}); - },100) - } - - - function tlstart() { - nextcaption.data('timer',setTimeout(function() { - if (nextcaption.hasClass("fullscreenvideo")) - nextcaption.css({'display':'block'}); - - },nextcaption.data('start'))); - } - - var tl = new TimelineLite({smoothChildTiming:true,onStart:tlstart}); - - - - if (opt.fullScreenAlignForce == "on") { - //calcy = nextcaption.data('y')+offsety; - } - - var animobject = nextcaption; - if (nextcaption.data('mySplitText') !=undefined) nextcaption.data('mySplitText').revert(); - - - if (nextcaption.data('splitin') == "chars" || nextcaption.data('splitin') == "words" || nextcaption.data('splitin') == "lines" || nextcaption.data('splitout') == "chars" || nextcaption.data('splitout') == "words" || nextcaption.data('splitout') == "lines") { - if (nextcaption.find('a').length>0) - nextcaption.data('mySplitText',new SplitText(nextcaption.find('a'),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); - else - nextcaption.data('mySplitText',new SplitText(nextcaption,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})); - - nextcaption.addClass("splitted"); - } - - if (nextcaption.data('splitin') == "chars") - animobject = nextcaption.data('mySplitText').chars; - - - if (nextcaption.data('splitin') == "words") - animobject = nextcaption.data('mySplitText').words; - - - if (nextcaption.data('splitin') == "lines") - animobject = nextcaption.data('mySplitText').lines; - - - - var frm = newAnimObject(); - var endfrm = newAnimObject(); - - - if (nextcaption.data('repeat')!=undefined) repeatV = nextcaption.data('repeat'); - if (nextcaption.data('yoyo')!=undefined) yoyoV = nextcaption.data('yoyo'); - if (nextcaption.data('repeatdelay')!=undefined) repeatdelayV = nextcaption.data('repeatdelay'); - - // WHICH ANIMATION TYPE SHOULD BE USED - if (nextcaption.hasClass("customin")) frm = getAnimDatas(frm,nextcaption.data('customin')); - else - if (nextcaption.hasClass("randomrotate")) { - - frm.scale = Math.random()*3+1; - frm.rotation = Math.round(Math.random()*200-100); - frm.x = Math.round(Math.random()*200-100); - frm.y = Math.round(Math.random()*200-100); - } - else - if (nextcaption.hasClass('lfr') || nextcaption.hasClass('skewfromright')) frm.x = 15+opt.width; - else - if (nextcaption.hasClass('lfl') || nextcaption.hasClass('skewfromleft')) frm.x = -15-imw; - else - if (nextcaption.hasClass('sfl') || nextcaption.hasClass('skewfromleftshort')) frm.x = -50; - else - if (nextcaption.hasClass('sfr') || nextcaption.hasClass('skewfromrightshort')) frm.x = 50; - else - if (nextcaption.hasClass('lft')) frm.y = -25 - imh; - else - if (nextcaption.hasClass('lfb')) frm.y = 25 + opt.height; - else - if (nextcaption.hasClass('sft')) frm.y = -50; - else - if (nextcaption.hasClass('sfb')) frm.y = 50; - - - if (nextcaption.hasClass('skewfromright') || nextcaption.hasClass('skewfromrightshort')) frm.skewX = -85 - else - if (nextcaption.hasClass('skewfromleft') || nextcaption.hasClass('skewfromleftshort')) frm.skewX = 85 - - - if (nextcaption.hasClass("fade") || nextcaption.hasClass('sft') || nextcaption.hasClass('sfl') || nextcaption.hasClass('sfb') || nextcaption.hasClass('skewfromleftshort') || nextcaption.hasClass('sfr') || nextcaption.hasClass('skewfromrightshort')) - frm.opacity = 0; - - // FOR SAFARI WE NEED TO REMOVE 3D ROTATIONS - if (get_browser().toLowerCase()=="safari") { - frm.rotationX=0;frm.rotationY=0; - } - - var elemdelay = (nextcaption.data('elementdelay') == undefined) ? 0 : nextcaption.data('elementdelay'); - endfrm.ease = frm.ease = (nextcaption.data('easing') == undefined) ? Power1.easeInOut : nextcaption.data('easing'); - - - // DISTANCES SHOULD BE RESIZED ALSO - - frm.data = new Object(); - frm.data.oldx = frm.x; - frm.data.oldy = frm.y; - - endfrm.data = new Object(); - endfrm.data.oldx = endfrm.x; - endfrm.data.oldy = endfrm.y; - - frm.x = frm.x * xbw; - frm.y = frm.y * xbw; - - var newtl = new TimelineLite(); - - - - // CHANGE to TweenLite. if Yoyo and Repeat is used. Dont forget to laod the Right Tools for it !! - if (nextcaption.hasClass("customin")) { - if (animobject != nextcaption) - tl.add(TweenLite.set(nextcaption, { opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:'visible',opacity:1,delay:0,overwrite:"all"})); - frm.visibility = "hidden"; - endfrm.visibility = "visible"; - endfrm.overwrite = "all"; - endfrm.opacity = 1; - endfrm.onComplete = animcompleted(); - endfrm.delay = mdelay; - - tl.add(newtl.staggerFromTo(animobject,mspeed,frm,endfrm,elemdelay),"frame0"); - - } else { - - frm.visibility = "visible"; - frm.transformPerspective = 600; - if (animobject != nextcaption) - tl.add(TweenLite.set(nextcaption, { opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:'visible',opacity:1,delay:0,overwrite:"all"})); - - endfrm.visibility = "visible"; - endfrm.delay = mdelay; - endfrm.onComplete = animcompleted(); - endfrm.opacity = 1; - if (nextcaption.hasClass("randomrotate") && animobject != nextcaption) { - - for (var i=0;i0) { - var params = getAnimSteps(spframe); - - addMoveCaption(nextcaption,opt,params,"frame"+(index+10),xbw) - - } - }) - } // END OF ANIMATION STEPS - - tl = nextcaption.data('timeline'); - - // IF THERE IS ANY EXIT ANIM DEFINED - if (nextcaption.data('end')!=undefined) { - - endMoveCaption(nextcaption,opt,nextcaption.data('end')/1000,frm,"frame99",xbw); - } else { - endMoveCaption(nextcaption,opt,999999,frm,"frame99",xbw); - } - - // SAVE THE TIMELINE IN DOM ELEMENT - tl = nextcaption.data('timeline'); - nextcaption.data('timeline',tl); - - // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS - nextcaption.find('.rs-pendulum').each(function() { - var el = jQuery(this); - if (el.data('timeline')==undefined) { - el.data('timeline',new TimelineLite); - var startdeg = el.data('startdeg')==undefined ? -20 : el.data('startdeg'), - enddeg = el.data('enddeg')==undefined ? 20 : el.data('enddeg'); - speed = el.data('speed')==undefined ? 2 : el.data('speed'), - origin = el.data('origin')==undefined ? "50% 50%" : el.data('origin'), - easing = el.data('ease')==undefined ? Power2.easeInOut : el.data('ease'); - el.data('timeline').append(new TweenLite.fromTo(el,speed,{rotation:startdeg,transformOrigin:origin},{rotation:enddeg,ease:easing})); - el.data('timeline').append(new TweenLite.fromTo(el,speed,{rotation:enddeg,transformOrigin:origin},{rotation:startdeg,ease:easing,onComplete:function() { - el.data('timeline').restart(); - }})); - } - - }) - - // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS - nextcaption.find('.rs-slideloop').each(function() { - var el = jQuery(this); - if (el.data('timeline')==undefined) { - el.data('timeline',new TimelineLite); - var xs = el.data('xs')==undefined ? 0 : el.data('xs'), - ys = el.data('ys')==undefined ? 0 : el.data('ys'); - xe = el.data('xe')==undefined ? 0 : el.data('xe'), - ye = el.data('ye')==undefined ? 0 : el.data('ye'), - speed = el.data('speed')==undefined ? 2 : el.data('speed'), - easing = el.data('ease')==undefined ? Power2.easeInOut : el.data('ease'); - el.data('timeline').append(new TweenLite.fromTo(el,speed,{x:xs,y:ys},{x:xe,y:ye,ease:easing})); - el.data('timeline').append(new TweenLite.fromTo(el,speed,{x:xe,y:ye},{x:xs,y:ys,onComplete:function() { - el.data('timeline').restart(); - }})); - } - - }) - - // SOME LOOPING ANIMATION ON INTERNAL ELEMENTS - nextcaption.find('.rs-pulse').each(function() { - var el = jQuery(this); - if (el.data('timeline')==undefined) { - el.data('timeline',new TimelineLite); - var zoomstart = el.data('zoomstart')==undefined ? 0 : el.data('zoomstart'), - zoomend = el.data('zoomend')==undefined ? 0 : el.data('zoomend'); - speed = el.data('speed')==undefined ? 2 : el.data('speed'), - easing = el.data('ease')==undefined ? Power2.easeInOut : el.data('ease'); - el.data('timeline').append(new TweenLite.fromTo(el,speed,{scale:zoomstart},{scale:zoomend,ease:easing})); - el.data('timeline').append(new TweenLite.fromTo(el,speed,{scale:zoomend},{scale:zoomstart,onComplete:function() { - el.data('timeline').restart(); - }})); - } - - }) - - nextcaption.find('.rs-wave').each(function() { - var el = jQuery(this); - if (el.data('timeline')==undefined) { - el.data('timeline',new TimelineLite); - - var angle= el.data('angle')==undefined ? 10 : el.data('angle'), - radius = el.data('radius')==undefined ? 10 : el.data('radius'), - speed = el.data('speed')==undefined ? -20 : el.data('speed'), - origin = el.data('origin')==undefined ? -20 : el.data('origin'), - angobj = {a:0, ang : angle, element:el, unit:radius}; - - el.data('timeline').append(new TweenLite.fromTo(angobj,speed, - { a:360 }, - { a:0, - ease:Linear.easeNone, - onUpdate:function() { - - var rad = angobj.a * (Math.PI / 180); - TweenLite.to(angobj.element,0.1,{x:Math.cos(rad) * angobj.unit, y:angobj.unit * (1 - Math.sin(rad))}); - - }, - onComplete:function() { - el.data('timeline').restart(); - } - } - )); - } - - }) - - } - } - - if (recalled) { - if (nextcaption.data('timeline') != undefined) { - var tweens = nextcaption.data('timeline').getTweensOf(); - jQuery.each(tweens,function(index,tween) { - if (tween.vars.data != undefined) { - var newx = tween.vars.data.oldx * xbw; - var newy = tween.vars.data.oldy * xbw; - if (tween.progress() !=1 && tween.progress()!=0) { - try{ - //tween.updateTo({x:newx, y:newy},true); - tween.vars.x = newx; - tween.vary.y = newy; - } catch(e) { - - } - } else { - if (tween.progress()==1) { - TweenLite.set(tween.target,{x:newx,y:newy}); - } - } - } - }) - } - } - }) - - var bt=jQuery('body').find('#'+opt.container.attr('id')).find('.tp-bannertimer'); - bt.data('opt',opt); - - - } - - - function get_browser(){ - var N=navigator.appName, ua=navigator.userAgent, tem; - var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); - if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; - M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?']; - return M[0]; - } - function get_browser_version(){ - var N=navigator.appName, ua=navigator.userAgent, tem; - var M=ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); - if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; - M=M? [M[1], M[2]]: [N, navigator.appVersion, '-?']; - return M[1]; - } - - ///////////////////////////////////////////////////////////////// - // - CALCULATE THE RESPONSIVE SIZES OF THE CAPTIONS - // - ///////////////////////////////////////////////////////////////// - function calcCaptionResponsive(nc,opt) { - if (nc.data('fsize') == undefined) nc.data('fsize',parseInt(nc.css('font-size'),0) || 0); - if (nc.data('pt') == undefined) nc.data('pt',parseInt(nc.css('paddingTop'),0) || 0); - if (nc.data('pb') == undefined) nc.data('pb',parseInt(nc.css('paddingBottom'),0) || 0); - if (nc.data('pl') == undefined) nc.data('pl',parseInt(nc.css('paddingLeft'),0) || 0); - if (nc.data('pr') == undefined) nc.data('pr',parseInt(nc.css('paddingRight'),0) || 0); - - if (nc.data('mt') == undefined) nc.data('mt',parseInt(nc.css('marginTop'),0) || 0); - if (nc.data('mb') == undefined) nc.data('mb',parseInt(nc.css('marginBottom'),0) || 0); - if (nc.data('ml') == undefined) nc.data('ml',parseInt(nc.css('marginLeft'),0) || 0); - if (nc.data('mr') == undefined) nc.data('mr',parseInt(nc.css('marginRight'),0) || 0); - - if (nc.data('bt') == undefined) nc.data('bt',parseInt(nc.css('borderTopWidth'),0) || 0); - if (nc.data('bb') == undefined) nc.data('bb',parseInt(nc.css('borderBottomWidth'),0) || 0); - if (nc.data('bl') == undefined) nc.data('bl',parseInt(nc.css('borderLeftWidth'),0) || 0); - if (nc.data('br') == undefined) nc.data('br',parseInt(nc.css('borderRightWidth'),0) || 0); - - if (nc.data('ls') == undefined) nc.data('ls',parseInt(nc.css('letterSpacing'),0) || 0); - - if (nc.data('lh') == undefined) nc.data('lh',parseInt(nc.css('lineHeight'),0) || 0); - if (nc.data('minwidth') == undefined) nc.data('minwidth',parseInt(nc.css('minWidth'),0) || 0); - if (nc.data('minheight') == undefined) nc.data('minheight',parseInt(nc.css('minHeight'),0) || 0); - if (nc.data('maxwidth') == undefined) nc.data('maxwidth',parseInt(nc.css('maxWidth'),0) || "none"); - if (nc.data('maxheight') == undefined) nc.data('maxheight',parseInt(nc.css('maxHeight'),0) || "none"); - - if (nc.data('wan') == undefined) nc.data('wan',nc.css("-webkit-transition")); - if (nc.data('moan') == undefined) nc.data('moan',nc.css("-moz-animation-transition")); - if (nc.data('man') == undefined) nc.data('man',nc.css("-ms-animation-transition")); - if (nc.data('ani') == undefined) nc.data('ani',nc.css("transition")); - - - - - - if (!nc.hasClass("tp-splitted")) { - - - nc.css("-webkit-transition", "none"); - nc.css("-moz-transition", "none"); - nc.css("-ms-transition", "none"); - nc.css("transition", "none"); - - TweenLite.set(nc,{ - fontSize: Math.round((nc.data('fsize') * opt.bw))+"px", - - letterSpacing:Math.floor((nc.data('ls') * opt.bw))+"px", - - paddingTop: Math.round((nc.data('pt') * opt.bh)) + "px", - paddingBottom: Math.round((nc.data('pb') * opt.bh)) + "px", - paddingLeft: Math.round((nc.data('pl') * opt.bw)) + "px", - paddingRight: Math.round((nc.data('pr') * opt.bw)) + "px", - - marginTop: (nc.data('mt') * opt.bh) + "px", - marginBottom: (nc.data('mb') * opt.bh) + "px", - marginLeft: (nc.data('ml') * opt.bw) + "px", - marginRight: (nc.data('mr') * opt.bw) + "px", - - borderTopWidth: Math.round((nc.data('bt') * opt.bh)) + "px", - borderBottomWidth: Math.round((nc.data('bb') * opt.bh)) + "px", - borderLeftWidth: Math.round((nc.data('bl') * opt.bw)) + "px", - borderRightWidth: Math.round((nc.data('br') * opt.bw)) + "px", - - lineHeight: Math.round((nc.data('lh') * opt.bh)) + "px", - minWidth:(nc.data('minwidth') * opt.bw) + "px", - minHeight:(nc.data('minheight') * opt.bh) + "px", - overwrite:"auto" - }); - setTimeout(function() { - nc.css("-webkit-transition", nc.data('wan')); - nc.css("-moz-transition", nc.data('moan')); - nc.css("-ms-transition", nc.data('man')); - nc.css("transition", nc.data('ani')); - - },30); - - //konsole.log(nc.data('maxwidth')+" "+nc.data('maxheight')); - if (nc.data('maxheight')!='none') - nc.css({'maxHeight':(nc.data('maxheight') * opt.bh) + "px"}); - - - if (nc.data('maxwidth')!='none') - nc.css({'maxWidth':(nc.data('maxwidth') * opt.bw) + "px"}); - } - } - - - ////////////////////////// - // REMOVE THE CAPTIONS // - ///////////////////////// - function removeTheCaptions(actli,opt) { - - - actli.find('.tp-caption').each(function(i) { - var nextcaption=jQuery(this); //actli.find('.tp-caption:eq('+i+')'); - - if (nextcaption.find('iframe').length>0) { - // VIMEO VIDEO PAUSE - try { - var ifr = nextcaption.find('iframe'); - var id = ifr.attr('id'); - var froogaloop = $f(id); - froogaloop.api("pause"); - clearTimeout(nextcaption.data('timerplay')); - } catch(e) {} - //YOU TUBE PAUSE - try { - var player=nextcaption.data('player'); - player.stopVideo(); - clearTimeout(nextcaption.data('timerplay')); - } catch(e) {} - } - - // IF HTML5 VIDEO IS EMBEDED - if (nextcaption.find('video').length>0) { - try{ - nextcaption.find('video').each(function(i) { - var html5vid = jQuery(this).parent(); - var videoID =html5vid.attr('id'); - clearTimeout(html5vid.data('timerplay')); - var video = this; - video.pause(); - }) - }catch(e) {} - } // END OF VIDEO JS FUNCTIONS - try { - - //var tl = TimelineLite.exportRoot(); - var tl = nextcaption.data('timeline'); - var endstarts = tl.getLabelTime("frame99"); - var curtime = tl.time(); - if (endstarts>curtime) { - - // WE NEED TO STOP ALL OTHER NIMATIONS - var tweens = tl.getTweensOf(nextcaption); - jQuery.each(tweens,function(index,tw) { - - if (index!=0) - tw.pause(); - }); - if (nextcaption.css('opacity')!=0) - tl.play("frame99"); - else - tl.progress(1,false); - } - - } catch(e) {} - - - - }); - } - - ////////////////////////////// - // MOVE THE CAPTIONS // - //////////////////////////// - function addMoveCaption(nextcaption,opt,params,frame,downscale) { - var tl = nextcaption.data('timeline'); - - var newtl = new TimelineLite(); - - var animobject = nextcaption; - - if (params.typ == "chars") animobject = nextcaption.data('mySplitText').chars; - else - if (params.typ == "words") animobject = nextcaption.data('mySplitText').words; - else - if (params.typ == "lines") animobject = nextcaption.data('mySplitText').lines; - params.animation.ease = params.ease; - - if (params.animation.rotationZ !=undefined) params.animation.rotation = params.animation.rotationZ; - params.animation.data = new Object(); - params.animation.data.oldx = params.animation.x; - params.animation.data.oldy = params.animation.y; - - params.animation.x = params.animation.x * downscale; - params.animation.y = params.animation.y * downscale; - - - tl.add(newtl.staggerTo(animobject,params.speed,params.animation,params.elementdelay),params.start); - tl.addLabel(frame,params.start); - - nextcaption.data('timeline',tl); - - } - ////////////////////////////// - // MOVE OUT THE CAPTIONS // - //////////////////////////// - function endMoveCaption(nextcaption,opt,mdelay,backwards,frame,downscale) { - - var tl = nextcaption.data('timeline'); - var newtl = new TimelineLite(); - - var frm = newAnimObject(); - var mspeed= (nextcaption.data('endspeed') == undefined) ? nextcaption.data('speed') : nextcaption.data('endspeed'); - frm.ease = (nextcaption.data('endeasing') == undefined) ? Power1.easeInOut : nextcaption.data('endeasing'); - - mspeed = mspeed/1000; - - - if (nextcaption.hasClass('ltr') || - nextcaption.hasClass('ltl') || - nextcaption.hasClass('str') || - nextcaption.hasClass('stl') || - nextcaption.hasClass('ltt') || - nextcaption.hasClass('ltb') || - nextcaption.hasClass('stt') || - nextcaption.hasClass('stb') || - nextcaption.hasClass('skewtoright') || - nextcaption.hasClass('skewtorightshort') || - nextcaption.hasClass('skewtoleft') || - nextcaption.hasClass('skewtoleftshort') || - nextcaption.hasClass('fadeout') || - nextcaption.hasClass("randomrotateout")) - { - - if (nextcaption.hasClass('skewtoright') || nextcaption.hasClass('skewtorightshort')) frm.skewX = 35 - else - if (nextcaption.hasClass('skewtoleft') || nextcaption.hasClass('skewtoleftshort')) frm.skewX = -35 - - - if (nextcaption.hasClass('ltr') || nextcaption.hasClass('skewtoright')) - frm.x=opt.width+60; - else if (nextcaption.hasClass('ltl') || nextcaption.hasClass('skewtoleft')) - frm.x=0-(opt.width+60); - else if (nextcaption.hasClass('ltt')) - frm.y=0-(opt.height+60); - else if (nextcaption.hasClass('ltb')) - frm.y=opt.height+60; - else if (nextcaption.hasClass('str') || nextcaption.hasClass('skewtorightshort')) { - frm.x=50;frm.opacity=0; - } else if (nextcaption.hasClass('stl') || nextcaption.hasClass('skewtoleftshort')) { - frm.x=-50;frm.opacity=0; - } else if (nextcaption.hasClass('stt')) { - frm.y=-50;frm.opacity=0; - } else if (nextcaption.hasClass('stb')) { - frm.y=50;frm.opacity=0; - } else if (nextcaption.hasClass("randomrotateout")) { - frm.x = Math.random()*opt.width; - frm.y = Math.random()*opt.height; - frm.scale = Math.random()*2+0.3; - frm.rotation = Math.random()*360-180; - frm.opacity = 0; - } else if (nextcaption.hasClass('fadeout')) { - frm.opacity = 0; - } - - if (nextcaption.hasClass('skewtorightshort')) frm.x = 270; - else - if (nextcaption.hasClass('skewtoleftshort')) frm.x = -270 - frm.data = new Object(); - frm.data.oldx = frm.x; - frm.data.oldy = frm.y; - frm.x = frm.x * downscale; - frm.y = frm.y * downscale; - - frm.overwrite="auto"; - var animobject = nextcaption; - var animobject = nextcaption; - if (nextcaption.data('splitout') == "chars") animobject = nextcaption.data('mySplitText').chars; - else - if (nextcaption.data('splitout') == "words") animobject = nextcaption.data('mySplitText').words; - else - if (nextcaption.data('splitout') == "lines") animobject = nextcaption.data('mySplitText').lines; - var elemdelay = (nextcaption.data('endelementdelay') == undefined) ? 0 : nextcaption.data('endelementdelay'); - //tl.add(TweenLite.to(nextcaption,mspeed,frm),mdelay); - tl.add(newtl.staggerTo(animobject,mspeed,frm,elemdelay),mdelay); - - } - - else - - if (nextcaption.hasClass("customout")) { - - frm = getAnimDatas(frm,nextcaption.data('customout')); - var animobject = nextcaption; - if (nextcaption.data('splitout') == "chars") animobject = nextcaption.data('mySplitText').chars; - else - if (nextcaption.data('splitout') == "words") animobject = nextcaption.data('mySplitText').words; - else - if (nextcaption.data('splitout') == "lines") animobject = nextcaption.data('mySplitText').lines; - - var elemdelay = (nextcaption.data('endelementdelay') == undefined) ? 0 : nextcaption.data('endelementdelay'); - frm.onStart = function() { - - TweenLite.set(nextcaption,{ - transformPerspective:frm.transformPerspective, - transformOrigin:frm.transformOrigin, - overwrite:"auto" - }); - } - - frm.data = new Object(); - frm.data.oldx = frm.x; - frm.data.oldy = frm.y; - - frm.x = frm.x * downscale; - frm.y = frm.y * downscale; - - tl.add(newtl.staggerTo(animobject,mspeed,frm,elemdelay),mdelay); - } - - else { - backwards.delay = 0; - tl.add(TweenLite.to(nextcaption,mspeed,backwards),mdelay); - } - - - tl.addLabel(frame,mdelay); - nextcaption.data('timeline',tl); - } - - /////////////////////////// - // REMOVE THE LISTENERS // - /////////////////////////// - function removeAllListeners(container,opt) { - container.children().each(function() { - try{ jQuery(this).die('click'); } catch(e) {} - try{ jQuery(this).die('mouseenter');} catch(e) {} - try{ jQuery(this).die('mouseleave');} catch(e) {} - try{ jQuery(this).unbind('hover');} catch(e) {} - }) - try{ container.die('click','mouseenter','mouseleave');} catch(e) {} - clearInterval(opt.cdint); - container=null; - - - - } - - /////////////////////////// - // - COUNTDOWN - // - ///////////////////////// - function countDown(container,opt) { - opt.cd=0; - opt.loop=0; - if (opt.stopAfterLoops!=undefined && opt.stopAfterLoops>-1) - opt.looptogo=opt.stopAfterLoops; - else - opt.looptogo=9999999; - - if (opt.stopAtSlide!=undefined && opt.stopAtSlide>-1) - opt.lastslidetoshow=opt.stopAtSlide; - else - opt.lastslidetoshow=999; - - opt.stopLoop="off"; - - if (opt.looptogo==0) opt.stopLoop="on"; - - - if (opt.slideamount >1 && !(opt.stopAfterLoops==0 && opt.stopAtSlide==1) ) { - var bt=container.find('.tp-bannertimer'); - - - // LISTENERS //container.trigger('stoptimer'); - container.on('stoptimer',function() { - bt.data('tween').pause(); - if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); - - }); - container.on('starttimer',function() { - if (opt.conthover!=1 && opt.videoplaying!=true && opt.width>opt.hideSliderAtLimit && opt.bannertimeronpause != true && opt.overnav !=true) - if (opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) - { - // NOTHING - } - else { - bt.css({visibility:"visible"}); - bt.data('tween').play(); - } - - if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); - }); - container.on('restarttimer',function() { - if (opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) - { - // NOTHING - } - else { - bt.css({visibility:"visible"}); - bt.data('tween',TweenLite.fromTo(bt,opt.delay/1000,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:countDownNext,delay:1})); - - } - if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); - }); - - container.on('nulltimer',function() { - - bt.data('tween').pause(0); - if (opt.hideTimerBar=="on") bt.css({visibility:"hidden"}); - - }); - - - - function countDownNext() { - if (jQuery('body').find(container).length==0) { - removeAllListeners(container,opt); - clearInterval(opt.cdint); - } - - //STATE OF API CHANGED -> MOVE TO AIP BETTER - if (container.data('conthover-changed') == 1) { - opt.conthover= container.data('conthover'); - container.data('conthover-changed',0); - } - - // SWAP TO NEXT BANNER - opt.act=opt.next; - opt.next=opt.next+1; - if (opt.next>container.find('>ul >li').length-1) { - opt.next=0; - opt.looptogo=opt.looptogo-1; - - if (opt.looptogo<=0) { - opt.stopLoop="on"; - - } - } - - // STOP TIMER IF NO LOOP NO MORE NEEDED. - - if (opt.stopLoop=="on" && opt.next==opt.lastslidetoshow-1) { - container.find('.tp-bannertimer').css({'visibility':'hidden'}); - container.trigger('revolution.slide.onstop'); - } else { - bt.data('tween').restart(); - } - - // SWAP THE SLIDES - swapSlide(container,opt); - - } - - bt.data('tween',TweenLite.fromTo(bt,opt.delay/1000,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:countDownNext,delay:1})); - bt.data('opt',opt); - - - container.hover( - function() { - - if (opt.onHoverStop=="on" && (!is_mobile())) { - container.trigger('stoptimer'); - - container.trigger('revolution.slide.onpause'); - var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); - nextsh.find('.defaultimg').each(function() { - var dimg = jQuery(this); - if (dimg.data('kenburn')!=undefined) { - dimg.data('kenburn').pause(); - } - }); - } - }, - function() { - if (container.data('conthover')!=1) { - container.trigger('revolution.slide.onresume'); - container.trigger('starttimer'); - - var nextsh = container.find('>ul >li:eq('+opt.next+') .slotholder'); - nextsh.find('.defaultimg').each(function() { - var dimg = jQuery(this); - if (dimg.data('kenburn')!=undefined) { - dimg.data('kenburn').play(); - } - }); - } - }); - } - } - - - -})(jQuery); - - -// SOME ERROR MESSAGES IN CASE THE PLUGIN CAN NOT BE LOADED -function revslider_showDoubleJqueryError(sliderID) { - var errorMessage = "Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include."; - errorMessage += "
This includes make eliminates the revolution slider libraries, and make it not work."; - errorMessage += "

To fix it you can:
    1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true."; - errorMessage += "
    2. Find the double jquery.js include and remove it."; - errorMessage = "" + errorMessage + "" - jQuery(sliderID).show().html(errorMessage); -} - -/*! - * VERSION: beta 0.2.3 - * DATE: 2013-07-10 - * UPDATES AND DOCS AT: http://www.greensock.com - * - * @license Copyright (c) 2008-2013, GreenSock. All rights reserved. - * SplitText is a Club GreenSock membership benefit; You must have a valid membership to use - * this code without violating the terms of use. Visit http://www.greensock.com/club/ to sign up or get more details. - * This work is subject to the software agreement that was issued with your membership. - * - * @author: Jack Doyle, jack@greensock.com - */ -(function(t){"use strict";var e=t.GreenSockGlobals||t,i=function(t){var i,s=t.split("."),r=e;for(i=0;s.length>i;i++)r[s[i]]=r=r[s[i]]||{};return r},s=i("com.greensock.utils"),r=function(t){var e=t.nodeType,i="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=r(t)}else if(3===e||4===e)return t.nodeValue;return i},n=document,a=n.defaultView?n.defaultView.getComputedStyle:function(){},o=/([A-Z])/g,h=function(t,e,i,s){var r;return(i=i||a(t,null))?(t=i.getPropertyValue(e.replace(o,"-$1").toLowerCase()),r=t||i.length?t:i[e]):t.currentStyle&&(i=t.currentStyle,r=i[e]),s?r:parseInt(r,10)||0},l=function(t){return t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0])?!0:!1},_=function(t){var e,i,s,r=[],n=t.length;for(e=0;n>e;e++)if(i=t[e],l(i))for(s=i.length,s=0;i.length>s;s++)r.push(i[s]);else r.push(i);return r},u=")eefec303079ad17405c",c=/(?:
||
)/gi,p=n.all&&!n.addEventListener,f="
":">")}},d=s.SplitText=e.SplitText=function(t,e){if("string"==typeof t&&(t=d.selector(t)),!t)throw"cannot split a null element.";this.elements=l(t)?_(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},g=function(t,e,i,s,o){c.test(t.innerHTML)&&(t.innerHTML=t.innerHTML.replace(c,u));var l,_,p,f,d,g,v,y,T,w,b,x,P,S=r(t),C=e.type||e.split||"chars,words,lines",k=-1!==C.indexOf("lines")?[]:null,R=-1!==C.indexOf("words"),A=-1!==C.indexOf("chars"),D="absolute"===e.position||e.absolute===!0,O=D?"­ ":" ",M=-999,L=a(t),I=h(t,"paddingLeft",L),E=h(t,"borderBottomWidth",L)+h(t,"borderTopWidth",L),N=h(t,"borderLeftWidth",L)+h(t,"borderRightWidth",L),F=h(t,"paddingTop",L)+h(t,"paddingBottom",L),U=h(t,"paddingLeft",L)+h(t,"paddingRight",L),X=h(t,"textAlign",L,!0),z=t.clientHeight,B=t.clientWidth,j=S.length,Y="
",q=m(e.wordsClass),V=m(e.charsClass),Q=-1!==(e.linesClass||"").indexOf("++"),G=e.linesClass;for(Q&&(G=G.split("++").join("")),p=q(),f=0;j>f;f++)g=S.charAt(f),")"===g&&S.substr(f,20)===u?(p+=Y+"
",f!==j-1&&(p+=" "+q()),f+=19):" "===g&&" "!==S.charAt(f-1)&&f!==j-1?(p+=Y,f!==j-1&&(p+=O+q())):p+=A&&" "!==g?V()+g+"
":g;for(t.innerHTML=p+Y,d=t.getElementsByTagName("*"),j=d.length,v=[],f=0;j>f;f++)v[f]=d[f];if(k||D)for(f=0;j>f;f++)y=v[f],_=y.parentNode===t,(_||D||A&&!R)&&(T=y.offsetTop,k&&_&&T!==M&&"BR"!==y.nodeName&&(l=[],k.push(l),M=T),D&&(y._x=y.offsetLeft,y._y=T,y._w=y.offsetWidth,y._h=y.offsetHeight),k&&(R!==_&&A||(l.push(y),y._x-=I),_&&f&&(v[f-1]._wordEnd=!0)));for(f=0;j>f;f++)y=v[f],_=y.parentNode===t,"BR"!==y.nodeName?(D&&(b=y.style,R||_||(y._x+=y.parentNode._x,y._y+=y.parentNode._y),b.left=y._x+"px",b.top=y._y+"px",b.position="absolute",b.display="block",b.width=y._w+1+"px",b.height=y._h+"px"),R?_?s.push(y):A&&i.push(y):_?(t.removeChild(y),v.splice(f--,1),j--):!_&&A&&(T=!k&&!D&&y.nextSibling,t.appendChild(y),T||t.appendChild(n.createTextNode(" ")),i.push(y))):k||D?(t.removeChild(y),v.splice(f--,1),j--):R||t.appendChild(y);if(k){for(D&&(w=n.createElement("div"),t.appendChild(w),x=w.offsetWidth+"px",T=w.offsetParent===t?0:t.offsetLeft,t.removeChild(w)),b=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(P=!D||!R&&!A,f=0;k.length>f;f++){for(l=k[f],w=n.createElement("div"),w.style.cssText="display:block;text-align:"+X+";position:"+(D?"absolute;":"relative;"),G&&(w.className=G+(Q?f+1:"")),o.push(w),j=l.length,d=0;j>d;d++)"BR"!==l[d].nodeName&&(y=l[d],w.appendChild(y),P&&(y._wordEnd||R)&&w.appendChild(n.createTextNode(" ")),D&&(0===d&&(w.style.top=y._y+"px",w.style.left=I+T+"px"),y.style.top="0px",T&&(y.style.left=y._x-T+"px")));R||A||(w.innerHTML=r(w).split(String.fromCharCode(160)).join(" ")),D&&(w.style.width=x,w.style.height=y._h+"px"),t.appendChild(w)}t.style.cssText=b}D&&(z>t.clientHeight&&(t.style.height=z-F+"px",z>t.clientHeight&&(t.style.height=z+E+"px")),B>t.clientWidth&&(t.style.width=B-U+"px",B>t.clientWidth&&(t.style.width=B+N+"px")))},v=d.prototype;v.split=function(t){this.isSplit&&this.revert(),this.vars=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e=0;this.elements.length>e;e++)this._originals[e]=this.elements[e].innerHTML,g(this.elements[e],this.vars,this.chars,this.words,this.lines);return this.isSplit=!0,this},v.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;--t>-1;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},d.selector=t.$||t.jQuery||function(e){return t.$?(d.selector=t.$,t.$(e)):n?n.getElementById("#"===e.charAt(0)?e.substr(1):e):e}})(window||{}); diff --git a/examples&sources/rs-plugin/js/jquery.themepunch.revolution.min.js b/examples&sources/rs-plugin/js/jquery.themepunch.revolution.min.js deleted file mode 100644 index 433032d..0000000 --- a/examples&sources/rs-plugin/js/jquery.themepunch.revolution.min.js +++ /dev/null @@ -1,9 +0,0 @@ - -/************************************************************************** - * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider - * @version: 4.3.6 (16.04.2013) - * @requires jQuery v1.7 or later (tested on 1.9) - * @author ThemePunch -**************************************************************************/ - -function revslider_showDoubleJqueryError(e){var t="Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";t+="
This includes make eliminates the revolution slider libraries, and make it not work.";t+="

To fix it you can:
    1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true.";t+="
    2. Find the double jquery.js include and remove it.";t=""+t+"";jQuery(e).show().html(t)}(function(e,t){function n(e){var t=[],n;var r=window.location.href.slice(window.location.href.indexOf(e)+1).split("_");for(var i=0;ie(window).width())e(".tp-bullets").css({display:"none"});else e(".tp-bullets").css({display:"block"})}}catch(s){}n.find(".defaultimg").each(function(t){g(e(this),i)});var o=n.parent();if(e(window).width()ul >li:eq("+i.act+") .slotholder");var f=n.find(">ul >li:eq("+i.next+") .slotholder");S(n,i);f.find(".defaultimg").css({opacity:0});a.find(".defaultimg").css({opacity:1});f.find(".defaultimg").each(function(){var r=e(this);if(r.data("kenburn")!=t){r.data("kenburn").restart();D(n,i,true)}});var l=n.find(">ul >li:eq("+i.next+")");J(l,i,true);m(n,i)}function s(){var e=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"];var t=false;for(i in e){if(navigator.userAgent.split(e[i]).length>1){t=true}}return t}function o(t,n){var r=e('
').appendTo(e("body"));r.html("");var i=r.find("a").length;r.remove();return i}function u(e,t){C(t,e)}function a(n,r){var i=n.parent();if(r.navigationType=="thumb"||r.navsecond=="both"){i.append('
')}var s=i.find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer");var o=s.parent();o.width(r.thumbWidth*r.thumbAmount);o.height(r.thumbHeight);o.parent().width(r.thumbWidth*r.thumbAmount);o.parent().height(r.thumbHeight);n.find(">ul:first >li").each(function(e){var i=n.find(">ul:first >li:eq("+e+")");var o=i.find(".defaultimg").css("backgroundColor");if(i.data("thumb")!=t)var u=i.data("thumb");else var u=i.find("img:first").attr("src");s.append('
');var a=s.find(".bullet:first")});var a=10;s.find(".bullet").each(function(t){var i=e(this);if(t==r.slideamount-1)i.addClass("last");if(t==0)i.addClass("first");i.width(r.thumbWidth);i.height(r.thumbHeight);if(aul:first >li").length;var h=s.parent().width();r.thumbWidth=a;if(hul:first >li").length;var a=u-s+15;var f=a/s;i=i-30;var c=0-i*f;if(c>0)c=0;if(c<0-u+s)c=0-u+s;l(t,c,200)});s.parent().mousemove(function(){var t=e(this);var r=t.offset();var i=e("body").data("mousex")-r.left;var s=t.width();var o=t.find(".bullet:first").outerWidth(true);var u=o*n.find(">ul:first >li").length-1;var a=u-s+15;var f=a/s;i=i-3;if(i<6)i=0;if(i+3>s-6)i=s;var c=0-i*f;if(c>0)c=0;if(c<0-u+s)c=0-u+s;l(t,c,0)});s.parent().mouseleave(function(){var t=e(this);t.removeClass("over");f(n)})}}function f(e){var t=e.parent().find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer");var n=t.parent();var r=n.offset();var i=n.find(".bullet:first").outerWidth(true);var s=n.find(".bullet.selected").index()*i;var o=n.width();var i=n.find(".bullet:first").outerWidth(true);var u=i*e.find(">ul:first >li").length;var a=u-o;var f=a/o;var c=0-s;if(c>0)c=0;if(c<0-u+o)c=0-u+o;if(!n.hasClass("over")){l(n,c,200)}}function l(e,t,n){TweenLite.to(e.find(".tp-thumbcontainer"),.2,{left:t,ease:Power3.easeOut,overwrite:"auto"})}function c(t,n){if(n.navigationType=="bullet"||n.navigationType=="both"){t.parent().append('
')}var r=t.parent().find(".tp-bullets");t.find(">ul:first >li").each(function(e){var n=t.find(">ul:first >li:eq("+e+") img:first").attr("src");r.append('
');var i=r.find(".bullet:first")});r.find(".bullet").each(function(r){var i=e(this);if(r==n.slideamount-1)i.addClass("last");if(r==0)i.addClass("first");i.click(function(){var e=false;if(n.navigationArrows=="withbullet"||n.navigationArrows=="nexttobullets"){if(i.index()-1==n.act)e=true}else{if(i.index()==n.act)e=true}if(n.transition==0&&!e){if(n.navigationArrows=="withbullet"||n.navigationArrows=="nexttobullets"){n.next=i.index()-1}else{n.next=i.index()}u(n,t)}})});r.append('
');m(t,n)}function h(e,n){var r=e.find(".tp-bullets");var i="";var s=n.navigationStyle;if(n.navigationArrows=="none")i="visibility:hidden;display:none";n.soloArrowStyle="default";if(n.navigationArrows!="none"&&n.navigationArrows!="nexttobullets")s=n.soloArrowStyle;e.parent().append('
');e.parent().append('
');e.parent().find(".tp-rightarrow").click(function(){if(n.transition==0){if(e.data("showus")!=t&&e.data("showus")!=-1)n.next=e.data("showus")-1;else n.next=n.next+1;e.data("showus",-1);if(n.next>=n.slideamount)n.next=0;if(n.next<0)n.next=0;if(n.act!=n.next)u(n,e)}});e.parent().find(".tp-leftarrow").click(function(){if(n.transition==0){n.next=n.next-1;n.leftarrowpressed=1;if(n.next<0)n.next=n.slideamount-1;u(n,e)}});m(e,n)}function p(n,r){e(document).keydown(function(e){if(r.transition==0&&e.keyCode==39){if(n.data("showus")!=t&&n.data("showus")!=-1)r.next=n.data("showus")-1;else r.next=r.next+1;n.data("showus",-1);if(r.next>=r.slideamount)r.next=0;if(r.next<0)r.next=0;if(r.act!=r.next)u(r,n)}if(r.transition==0&&e.keyCode==37){r.next=r.next-1;r.leftarrowpressed=1;if(r.next<0)r.next=r.slideamount-1;u(r,n)}});m(n,r)}function d(t,n){if(n.touchenabled=="on"){var r=Hammer(t,{drag_block_vertical:n.drag_block_vertical,drag_lock_to_axis:true,swipe_velocity:n.swipe_velocity,swipe_max_touches:n.swipe_max_touches,swipe_min_touches:n.swipe_min_touches,prevent_default:false});r.on("swipeleft",function(){if(n.transition==0){n.next=n.next+1;if(n.next==n.slideamount)n.next=0;u(n,t)}});r.on("swiperight",function(){if(n.transition==0){n.next=n.next-1;n.leftarrowpressed=1;if(n.next<0)n.next=n.slideamount-1;u(n,t)}});r.on("swipeup",function(){e("html, body").animate({scrollTop:t.offset().top+t.height()+"px"})});r.on("swipedown",function(){e("html, body").animate({scrollTop:t.offset().top-e(window).height()+"px"})})}}function v(e,t){var n=e.parent().find(".tp-bullets");var r=e.parent().find(".tparrows");if(n==null){e.append('
');var n=e.parent().find(".tp-bullets")}if(r==null){e.append('
');var r=e.parent().find(".tparrows")}e.data("hidethumbs",t.hideThumbs);n.addClass("hidebullets");r.addClass("hidearrows");if(s()){e.hammer().on("touch",function(){e.addClass("hovered");if(t.onHoverStop=="on")e.trigger("stoptimer");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")});e.hammer().on("release",function(){e.removeClass("hovered");e.trigger("playtimer");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){n.addClass("hidebullets");r.addClass("hidearrows");e.trigger("playtimer")},t.hideNavDelayOnMobile))})}else{n.hover(function(){t.overnav=true;if(t.onHoverStop=="on")e.trigger("stoptimer");n.addClass("hovered");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")},function(){t.overnav=false;e.trigger("playtimer");n.removeClass("hovered");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){n.addClass("hidebullets");r.addClass("hidearrows")},t.hideThumbs))});r.hover(function(){t.overnav=true;if(t.onHoverStop=="on")e.trigger("stoptimer");n.addClass("hovered");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")},function(){t.overnav=false;e.trigger("playtimer");n.removeClass("hovered")});e.on("mouseenter",function(){e.addClass("hovered");if(t.onHoverStop=="on")e.trigger("stoptimer");clearTimeout(e.data("hidethumbs"));n.removeClass("hidebullets");r.removeClass("hidearrows")});e.on("mouseleave",function(){e.removeClass("hovered");e.trigger("playtimer");if(!e.hasClass("hovered")&&!n.hasClass("hovered"))e.data("hidethumbs",setTimeout(function(){n.addClass("hidebullets");r.addClass("hidearrows")},t.hideThumbs))})}}function m(t,n){var r=t.parent();var i=r.find(".tp-bullets");if(n.navigationType=="thumb"){i.find(".thumb").each(function(t){var r=e(this);r.css({width:n.thumbWidth*n.bw+"px",height:n.thumbHeight*n.bh+"px"})});var s=i.find(".tp-mask");s.width(n.thumbWidth*n.thumbAmount*n.bw);s.height(n.thumbHeight*n.bh);s.parent().width(n.thumbWidth*n.thumbAmount*n.bw);s.parent().height(n.thumbHeight*n.bh)}var o=r.find(".tp-leftarrow");var u=r.find(".tp-rightarrow");if(n.navigationType=="thumb"&&n.navigationArrows=="nexttobullets")n.navigationArrows="solo";if(n.navigationArrows=="nexttobullets"){o.prependTo(i).css({"float":"left"});u.insertBefore(i.find(".tpclear")).css({"float":"left"})}var a=0;if(n.forceFullWidth=="on")a=0-n.container.parent().offset().left;if(n.navigationArrows!="none"&&n.navigationArrows!="nexttobullets"){o.css({position:"absolute"});u.css({position:"absolute"});if(n.soloArrowLeftValign=="center")o.css({top:"50%",marginTop:n.soloArrowLeftVOffset-Math.round(o.innerHeight()/2)+"px"});if(n.soloArrowLeftValign=="bottom")o.css({top:"auto",bottom:0+n.soloArrowLeftVOffset+"px"});if(n.soloArrowLeftValign=="top")o.css({bottom:"auto",top:0+n.soloArrowLeftVOffset+"px"});if(n.soloArrowLeftHalign=="center")o.css({left:"50%",marginLeft:a+n.soloArrowLeftHOffset-Math.round(o.innerWidth()/2)+"px"});if(n.soloArrowLeftHalign=="left")o.css({left:0+n.soloArrowLeftHOffset+a+"px"});if(n.soloArrowLeftHalign=="right")o.css({right:0+n.soloArrowLeftHOffset-a+"px"});if(n.soloArrowRightValign=="center")u.css({top:"50%",marginTop:n.soloArrowRightVOffset-Math.round(u.innerHeight()/2)+"px"});if(n.soloArrowRightValign=="bottom")u.css({top:"auto",bottom:0+n.soloArrowRightVOffset+"px"});if(n.soloArrowRightValign=="top")u.css({bottom:"auto",top:0+n.soloArrowRightVOffset+"px"});if(n.soloArrowRightHalign=="center")u.css({left:"50%",marginLeft:a+n.soloArrowRightHOffset-Math.round(u.innerWidth()/2)+"px"});if(n.soloArrowRightHalign=="left")u.css({left:0+n.soloArrowRightHOffset+a+"px"});if(n.soloArrowRightHalign=="right")u.css({right:0+n.soloArrowRightHOffset-a+"px"});if(o.position()!=null)o.css({top:Math.round(parseInt(o.position().top,0))+"px"});if(u.position()!=null)u.css({top:Math.round(parseInt(u.position().top,0))+"px"})}if(n.navigationArrows=="none"){o.css({visibility:"hidden"});u.css({visibility:"hidden"})}if(n.navigationVAlign=="center")i.css({top:"50%",marginTop:n.navigationVOffset-Math.round(i.innerHeight()/2)+"px"});if(n.navigationVAlign=="bottom")i.css({bottom:0+n.navigationVOffset+"px"});if(n.navigationVAlign=="top")i.css({top:0+n.navigationVOffset+"px"});if(n.navigationHAlign=="center")i.css({left:"50%",marginLeft:a+n.navigationHOffset-Math.round(i.innerWidth()/2)+"px"});if(n.navigationHAlign=="left")i.css({left:0+n.navigationHOffset+a+"px"});if(n.navigationHAlign=="right")i.css({right:0+n.navigationHOffset-a+"px"})}function g(n,r){r.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css({height:r.container.height()});r.container.closest(".rev_slider_wrapper").css({height:r.container.height()});r.width=parseInt(r.container.width(),0);r.height=parseInt(r.container.height(),0);r.bw=r.width/r.startwidth;r.bh=r.height/r.startheight;if(r.bh>r.bw)r.bh=r.bw;if(r.bh1){r.bw=1;r.bh=1}if(r.bw>1){r.bw=1;r.bh=1}r.height=Math.round(r.startheight*(r.width/r.startwidth));if(r.height>r.startheight&&r.autoHeight!="on")r.height=r.startheight;if(r.fullScreen=="on"){r.height=r.bw*r.startheight;var i=r.container.parent().width();var s=e(window).height();if(r.fullScreenOffsetContainer!=t){try{var o=r.fullScreenOffsetContainer.split(",");e.each(o,function(t,n){s=s-e(n).outerHeight(true);if(sul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:n.parent().css("maxHeight")});if(r.autoHeight=="on"){n.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"});n.css({maxHeight:"none"});n.parent().css({maxHeight:"none"})}n.find(">ul:first >li").each(function(n){var r=e(this);r.css({width:"100%",height:"100%",overflow:"hidden"});if(r.data("link")!=t){var i=r.data("link");var s="_self";var o=60;if(r.data("slideindex")=="back")o=0;var u=r.data("linktoslide");if(r.data("target")!=t)s=r.data("target");if(i=="slide"){r.append('')}else{u="no";r.append('')}}});n.parent().css({overflow:"visible"});n.find(">ul:first >li >img").each(function(n){var i=e(this);i.addClass("defaultimg");if(i.data("lazyload")!=t&&i.data("lazydone")!=1){}else{g(i,r)}i.wrap('
");if(r.dottedOverlay!="none"&&r.dottedOverlay!=t)i.closest(".slotholder").append('
');var s=i.attr("src");var u=i.data("lazyload");var a=i.data("bgfit");var f=i.data("bgrepeat");var l=i.data("bgposition");if(a==t)a="cover";if(f==t)f="no-repeat";if(l==t)l="center center";var c=i.closest(".slotholder");i.replaceWith('
');if(o(8)){c.find(".tp-bgimg").css({backgroundImage:"none","background-image":"none"});c.find(".tp-bgimg").append('')}i.css({opacity:0});i.data("li-id",n)})}function b(e,n,r,i){var s=e;var u=s.find(".defaultimg");var a=s.data("zoomstart");var f=s.data("rotationstart");if(u.data("currotate")!=t)f=u.data("currotate");if(u.data("curscale")!=t)a=u.data("curscale");g(u,n);var l=u.data("src");var c=u.css("background-color");var h=n.width;var p=n.height;if(n.autoHeight=="on")p=n.container.height();var d=u.data("fxof");if(d==t)d=0;fullyoff=0;var v=0;var m=u.data("bgfit");var y=u.data("bgrepeat");var b=u.data("bgposition");if(m==t)m="cover";if(y==t)y="no-repeat";if(b==t)b="center center";if(o(8)){s.data("kenburns","off")}if(s.data("kenburns")=="on"){m=a;if(m.toString().length<4)m=H(m,s,n)}if(o(8)){var w=l;l=""}if(i=="horizontal"){if(!r)var v=0-n.slotw;for(var S=0;S'+'
'+'
'+"
");if(a!=t&&f!=t)TweenLite.set(s.find(".slot").last(),{rotationZ:f});if(o(8)){s.find(".slot ").last().find(".slotslide").append('');E(s,n)}}}else{if(!r)var v=0-n.sloth;for(var S=0;S'+'
'+'
'+"
");if(a!=t&&f!=t)TweenLite.set(s.find(".slot").last(),{rotationZ:f});if(o(8)){s.find(".slot ").last().find(".slotslide").append('');E(s,n)}}}}function w(e,n,r){var i=e;var s=i.find(".defaultimg");var u=i.data("zoomstart");var a=i.data("rotationstart");if(s.data("currotate")!=t)a=s.data("currotate");if(s.data("curscale")!=t)u=s.data("curscale")*100;g(s,n);var f=s.data("src");var l=s.css("backgroundColor");var c=n.width;var h=n.height;if(n.autoHeight=="on")h=n.container.height();var p=s.data("fxof");if(p==t)p=0;fullyoff=0;var d=0;if(o(8)){var v=f;f=""}var m=0;if(n.sloth>n.slotw)m=n.sloth;else m=n.slotw;if(!r){var d=0-m}n.slotw=m;n.sloth=m;var y=0;var b=0;var w=s.data("bgfit");var S=s.data("bgrepeat");var x=s.data("bgposition");if(w==t)w="cover";if(S==t)S="no-repeat";if(x==t)x="center center";if(i.data("kenburns")=="on"){w=u;if(w.toString().length<4)w=H(w,i,n)}for(var T=0;T'+'
'+'
'+"
");b=b+m;if(o(8)){i.find(".slot ").last().find(".slotslide").append('');E(i,n)}if(u!=t&&a!=t)TweenLite.set(i.find(".slot").last(),{rotationZ:a})}y=y+m}}function E(e,t){if(o(8)){var n=e.find(".ieeightfallbackimage");var r=n.width(),i=n.height();if(t.startwidth/t.startheightul:first-child >li:eq("+n.act+")")}catch(i){var r=e.find(">ul:first-child >li:eq(1)")}n.lastslide=n.act;var s=e.find(">ul:first-child >li:eq("+n.next+")");var u=s.find(".defaultimg");n.bannertimeronpause=true;e.trigger("stoptimer");n.cd=0;if(u.data("lazyload")!=t&&u.data("lazyload")!="undefined"&&u.data("lazydone")!=1){if(!o(8))u.css({backgroundImage:'url("'+s.find(".defaultimg").data("lazyload")+'")'});else{u.attr("src",s.find(".defaultimg").data("lazyload"))}u.data("src",s.find(".defaultimg").data("lazyload"));u.data("lazydone",1);u.data("orgw",0);s.data("loadeddone",1);TweenLite.set(e.find(".tp-loader"),{display:"block",opacity:0});TweenLite.to(e.find(".tp-loader"),.3,{autoAlpha:1});N(s,function(){k(n,u,e)},n)}else{if(s.data("loadeddone")===t){s.data("loadeddone",1);N(s,function(){k(n,u,e)},n)}else k(n,u,e)}}function k(e,t,n){e.bannertimeronpause=false;e.cd=0;n.trigger("nulltimer");TweenLite.to(n.find(".tp-loader"),.3,{autoAlpha:0});g(t,e);m(n,e);g(t,e);L(n,e)}function L(n,r){function x(){e.each(v,function(e,t){if(t[0]==p||t[8]==p){l=t[1];d=t[2];y=E}E=E+1})}n.trigger("revolution.slide.onbeforeswap");r.transition=1;r.videoplaying=false;try{var i=n.find(">ul:first-child >li:eq("+r.act+")")}catch(s){var i=n.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var u=n.find(">ul:first-child >li:eq("+r.next+")");var a=i.find(".slotholder");var f=u.find(".slotholder");i.css({visibility:"visible"});u.css({visibility:"visible"});if(f.data("kenburns")=="on"){_(n,r);TweenLite.set(n.find(".kenburnimg img"),{autoAlpha:0})}if(r.ie){if(p=="boxfade")p="boxslide";if(p=="slotfade-vertical")p="slotzoom-vertical";if(p=="slotfade-horizontal")p="slotzoom-horizontal"}if(u.data("delay")!=t){r.cd=0;r.delay=u.data("delay")}else{r.delay=r.origcd}n.trigger("restarttimer");i.css({left:"0px",top:"0px"});u.css({left:"0px",top:"0px"});if(u.data("differentissplayed")=="prepared"){u.data("differentissplayed","done");u.data("transition",u.data("savedtransition"));u.data("slotamount",u.data("savedslotamount"));u.data("masterspeed",u.data("savedmasterspeed"))}if(u.data("fstransition")!=t&&u.data("differentissplayed")!="done"){u.data("savedtransition",u.data("transition"));u.data("savedslotamount",u.data("slotamount"));u.data("savedmasterspeed",u.data("masterspeed"));u.data("transition",u.data("fstransition"));u.data("slotamount",u.data("fsslotamount"));u.data("masterspeed",u.data("fsmasterspeed"));u.data("differentissplayed","prepared")}var l=0;var c=u.data("transition").split(",");var h=u.data("nexttransid");if(h==t){h=0;u.data("nexttransid",h)}else{h=h+1;if(h==c.length)h=0;u.data("nexttransid",h)}var p=c[h];var d=0;if(r.parallax=="scroll"&&r.parallaxFirstGo==t){r.parallaxFirstGo=true;M(n,r);setTimeout(function(){M(n,r)},210);setTimeout(function(){M(n,r)},420)}if(p=="slidehorizontal"){p="slideleft";if(r.leftarrowpressed==1)p="slideright"}if(p=="slidevertical"){p="slideup";if(r.leftarrowpressed==1)p="slidedown"}var v=[["boxslide",0,1,10,0,"box",false,null,0],["boxfade",1,0,10,0,"box",false,null,1],["slotslide-horizontal",2,0,0,200,"horizontal",true,false,2],["slotslide-vertical",3,0,0,200,"vertical",true,false,3],["curtain-1",4,3,0,0,"horizontal",true,true,4],["curtain-2",5,3,0,0,"horizontal",true,true,5],["curtain-3",6,3,25,0,"horizontal",true,true,6],["slotzoom-horizontal",7,0,0,400,"horizontal",true,true,7],["slotzoom-vertical",8,0,0,0,"vertical",true,true,8],["slotfade-horizontal",9,0,0,500,"horizontal",true,null,9],["slotfade-vertical",10,0,0,500,"vertical",true,null,10],["fade",11,0,1,300,"horizontal",true,null,11],["slideleft",12,0,1,0,"horizontal",true,true,12],["slideup",13,0,1,0,"horizontal",true,true,13],["slidedown",14,0,1,0,"horizontal",true,true,14],["slideright",15,0,1,0,"horizontal",true,true,15],["papercut",16,0,0,600,"",null,null,16],["3dcurtain-horizontal",17,0,20,100,"vertical",false,true,17],["3dcurtain-vertical",18,0,10,100,"horizontal",false,true,18],["cubic",19,0,20,600,"horizontal",false,true,19],["cube",19,0,20,600,"horizontal",false,true,20],["flyin",20,0,4,600,"vertical",false,true,21],["turnoff",21,0,1,1600,"horizontal",false,true,22],["incube",22,0,20,600,"horizontal",false,true,23],["cubic-horizontal",23,0,20,500,"vertical",false,true,24],["cube-horizontal",23,0,20,500,"vertical",false,true,25],["incube-horizontal",24,0,20,500,"vertical",false,true,26],["turnoff-vertical",25,0,1,1600,"horizontal",false,true,27],["fadefromright",12,1,1,0,"horizontal",true,true,28],["fadefromleft",15,1,1,0,"horizontal",true,true,29],["fadefromtop",14,1,1,0,"horizontal",true,true,30],["fadefrombottom",13,1,1,0,"horizontal",true,true,31],["fadetoleftfadefromright",12,2,1,0,"horizontal",true,true,32],["fadetorightfadetoleft",15,2,1,0,"horizontal",true,true,33],["fadetobottomfadefromtop",14,2,1,0,"horizontal",true,true,34],["fadetotopfadefrombottom",13,2,1,0,"horizontal",true,true,35],["parallaxtoright",12,3,1,0,"horizontal",true,true,36],["parallaxtoleft",15,3,1,0,"horizontal",true,true,37],["parallaxtotop",14,3,1,0,"horizontal",true,true,38],["parallaxtobottom",13,3,1,0,"horizontal",true,true,39],["scaledownfromright",12,4,1,0,"horizontal",true,true,40],["scaledownfromleft",15,4,1,0,"horizontal",true,true,41],["scaledownfromtop",14,4,1,0,"horizontal",true,true,42],["scaledownfrombottom",13,4,1,0,"horizontal",true,true,43],["zoomout",13,5,1,0,"horizontal",true,true,44],["zoomin",13,6,1,0,"horizontal",true,true,45],["notransition",26,0,1,0,"horizontal",true,null,46]];var m=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45];var g=[16,17,18,19,20,21,22,23,24,25,26,27];var l=0;var d=1;var y=0;var E=0;var S=new Array;if(p=="random"){p=Math.round(Math.random()*v.length-1);if(p>v.length-1)p=v.length-1}if(p=="random-static"){p=Math.round(Math.random()*m.length-1);if(p>m.length-1)p=m.length-1;p=m[p]}if(p=="random-premium"){p=Math.round(Math.random()*g.length-1);if(p>g.length-1)p=g.length-1;p=g[p]}if(r.isJoomla==true&&p==16){p=Math.round(Math.random()*g.length-2)+1;if(p>g.length-1)p=g.length-1;p=g[p]}x();if(o(8)&&l>15&&l<28){p=Math.round(Math.random()*m.length-1);if(p>m.length-1)p=m.length-1;p=m[p];E=0;x()}var T=-1;if(r.leftarrowpressed==1||r.act>r.next)T=1;r.leftarrowpressed=0;if(l>26)l=26;if(l<0)l=0;var N=300;if(u.data("masterspeed")!=t&&u.data("masterspeed")>99&&u.data("masterspeed")<4001)N=u.data("masterspeed");S=v[y];n.parent().find(".bullet").each(function(){var t=e(this);t.removeClass("selected");if(r.navigationArrows=="withbullet"||r.navigationArrows=="nexttobullets"){if(t.index()-1==r.next)t.addClass("selected")}else{if(t.index()==r.next)t.addClass("selected")}});n.find(">li").each(function(){var t=e(this);if(t.index!=r.act&&t.index!=r.next)t.css({"z-index":16})});i.css({"z-index":18});u.css({"z-index":20});u.css({opacity:0});if(i.index()!=u.index()&&r.firststart!=1){Y(i,r)}J(u,r);if(u.data("slotamount")==t||u.data("slotamount")<1){r.slots=Math.round(Math.random()*12+4);if(p=="boxslide")r.slots=Math.round(Math.random()*6+3);else if(p=="flyin")r.slots=Math.round(Math.random()*4+1)}else{r.slots=u.data("slotamount")}if(u.data("rotate")==t)r.rotate=0;else if(u.data("rotate")==999)r.rotate=Math.round(Math.random()*360);else r.rotate=u.data("rotate");if(!e.support.transition||r.ie||r.ie9)r.rotate=0;if(r.firststart==1){i.css({opacity:0});r.firststart=0}N=N+S[4];if((l==4||l==5||l==6)&&r.slots<3)r.slots=3;if(S[3]!=0)r.slots=Math.min(r.slots,S[3]);if(l==9)r.slots=r.width/20;if(l==10)r.slots=r.height/20;if(S[5]=="box"){if(S[7]!=null)w(a,r,S[7]);if(S[6]!=null)w(f,r,S[6])}else if(S[5]=="vertical"||S[5]=="horizontal"){if(S[7]!=null)b(a,r,S[7],S[5]);if(S[6]!=null)b(f,r,S[6],S[5])}if(l<12||l>16)u.css({opacity:1});if(l==0){f.find(".defaultimg").css({opacity:0});var C=Math.ceil(r.height/r.sloth);var k=0;f.find(".slotslide").each(function(t){var s=e(this);k=k+1;if(k==C)k=0;TweenLite.fromTo(s,N/600,{opacity:0,top:0-r.sloth,left:0-r.slotw,rotation:r.rotate},{opacity:1,transformPerspective:600,top:0,left:0,scale:1,rotation:0,delay:(t*15+k*30)/1500,ease:Power2.easeOut,onComplete:function(){if(t==r.slots*r.slots-1){q(n,r,f,a,u,i)}}})})}if(l==1){f.find(".defaultimg").css({opacity:0});var L;f.find(".slotslide").each(function(t){var n=e(this);rand=Math.random()*N+300;rand2=Math.random()*500+200;if(rand+rand2>L)L=rand2+rand2;TweenLite.fromTo(n,rand/1e3,{opacity:0,transformPerspective:600,rotation:r.rotate},{opacity:1,ease:Power2.easeInOut,rotation:0,delay:rand2/1e3})});setTimeout(function(){q(n,r,f,a,u,i)},N+300)}if(l==2){f.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(){var t=e(this);TweenLite.to(t,N/1e3,{left:r.slotw,rotation:0-r.rotate,onComplete:function(){q(n,r,f,a,u,i)}})});f.find(".slotslide").each(function(){var t=e(this);TweenLite.fromTo(t,N/1e3,{left:0-r.slotw,rotation:r.rotate,transformPerspective:600},{left:0,rotation:0,ease:Power2.easeOut,onComplete:function(){q(n,r,f,a,u,i)}})})}if(l==3){f.find(".defaultimg").css({opacity:0});a.find(".slotslide").each(function(){var t=e(this);TweenLite.to(t,N/1e3,{top:r.sloth,rotation:r.rotate,transformPerspective:600,onComplete:function(){q(n,r,f,a,u,i)}})});f.find(".slotslide").each(function(){var t=e(this);TweenLite.fromTo(t,N/1e3,{top:0-r.sloth,rotation:r.rotate,transformPerspective:600},{top:0,rotation:0,ease:Power2.easeOut,onComplete:function(){q(n,r,f,a,u,i)}})})}if(l==4||l==5){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var A=N/1e3;var O=A;a.find(".slotslide").each(function(t){var n=e(this);var i=t*A/r.slots;if(l==5)i=(r.slots-t-1)*A/r.slots/1.5;TweenLite.to(n,A*3,{transformPerspective:600,top:0+r.height,opacity:.5,rotation:r.rotate,ease:Power2.easeInOut,delay:i})});f.find(".slotslide").each(function(t){var s=e(this);var o=t*A/r.slots;if(l==5)o=(r.slots-t-1)*A/r.slots/1.5;TweenLite.fromTo(s,A*3,{top:0-r.height,opacity:.5,rotation:r.rotate,transformPerspective:600},{top:0,opacity:1,rotation:0,ease:Power2.easeInOut,delay:o,onComplete:function(){if(t==r.slots-1){q(n,r,f,a,u,i)}}})})}if(l==6){if(r.slots<2)r.slots=2;f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);a.find(".slotslide").each(function(t){var n=e(this);if(t
');i.find(".tp-half-one").clone(true).appendTo(i).addClass("tp-half-two");i.find(".tp-half-two").removeClass("tp-half-one");var P=r.width;var H=r.height;if(r.autoHeight=="on")H=n.height();i.find(".tp-half-one .defaultimg").wrap('
');i.find(".tp-half-two .defaultimg").wrap('
');i.find(".tp-half-two .defaultimg").css({position:"absolute",top:"-50%"});i.find(".tp-half-two .tp-caption").wrapAll('
');TweenLite.set(i.find(".tp-half-two"),{width:P,height:H,overflow:"hidden",zIndex:15,position:"absolute",top:H/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"});TweenLite.set(i.find(".tp-half-one"),{width:P,height:H/2,overflow:"visible",zIndex:10,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"});var K=i.find(".defaultimg");var Q=Math.round(Math.random()*20-10);var G=Math.round(Math.random()*20-10);var Z=Math.round(Math.random()*20-10);var et=Math.random()*.4-.2;var tt=Math.random()*.4-.2;var nt=Math.random()*1+1;var rt=Math.random()*1+1;TweenLite.fromTo(i.find(".tp-half-one"),N/1e3,{width:P,height:H/2,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"},{scale:nt,rotation:Q,y:0-H-H/4,ease:Power2.easeInOut});setTimeout(function(){TweenLite.set(i.find(".tp-half-one"),{overflow:"hidden"})},50);TweenLite.fromTo(i.find(".tp-half-one"),N/2e3,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:N/2e3});TweenLite.fromTo(i.find(".tp-half-two"),N/1e3,{width:P,height:H,overflow:"hidden",position:"absolute",top:H/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"},{scale:rt,rotation:G,y:H+H/4,ease:Power2.easeInOut});TweenLite.fromTo(i.find(".tp-half-two"),N/2e3,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:N/2e3});if(i.html()!=null)TweenLite.fromTo(u,(N-200)/1e3,{opacity:0,scale:.8,x:r.width*et,y:H*tt,rotation:Z,transformPerspective:600,transformOrigin:"center center"},{rotation:0,scale:1,x:0,y:0,opacity:1,ease:Power2.easeInOut});f.find(".defaultimg").css({opacity:1});setTimeout(function(){i.css({position:"absolute","z-index":18});u.css({position:"absolute","z-index":20});f.find(".defaultimg").css({opacity:1});a.find(".defaultimg").css({opacity:0});if(i.find(".tp-half-one").length>0){i.find(".tp-half-one .defaultimg").unwrap();i.find(".tp-half-one .slotholder").unwrap()}i.find(".tp-half-two").remove();r.transition=0;r.act=r.next},N);u.css({opacity:1})}if(l==17){f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/800,{opacity:0,rotationY:0,scale:.9,rotationX:-110,transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,rotationY:0,ease:Power3.easeOut,delay:t*.06,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}})})}if(l==18){f.find(".defaultimg").css({opacity:0});f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/500,{opacity:0,rotationY:310,scale:.9,rotationX:10,transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,rotationY:0,ease:Power3.easeOut,delay:t*.06,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}})})}if(l==19||l==22){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var it=u.css("z-index");var st=i.css("z-index");var ot=90;var I=1;if(T==1)ot=-90;if(l==19){var ut="center center -"+r.height/2;I=0}else{var ut="center center "+r.height/2}TweenLite.fromTo(f,N/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-40});TweenLite.fromTo(f,N/2e3,{transformPerspective:600,z:-40,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(N/4e3)});TweenLite.fromTo(a,N/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-40});TweenLite.fromTo(a,N/2e3,{transformPerspective:600,z:-40,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(N/4e3)});f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1e3,{left:0,rotationY:r.rotate,opacity:I,top:0,scale:.8,transformPerspective:600,transformOrigin:ut,rotationX:ot},{left:0,rotationY:0,opacity:1,top:0,z:0,scale:1,rotationX:0,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:1,delay:t*50/1e3+N/3e3})});a.find(".slotslide").each(function(t){var s=e(this);var o=-90;if(T==1)o=90;TweenLite.fromTo(s,N/1e3,{opacity:1,rotationY:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:ut,rotationX:0},{opacity:1,rotationY:r.rotate,top:0,scale:.8,rotationX:o,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:0,delay:t*50/1e3+(N/1e3-N/1e4)})})}if(l==20){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var it=u.css("z-index");var st=i.css("z-index");if(T==1){var at=-r.width;var ot=70;var ut="left center -"+r.height/2}else{var at=r.width;var ot=-70;var ut="right center -"+r.height/2}f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1500,{left:at,rotationX:40,z:-600,opacity:I,top:0,transformPerspective:600,transformOrigin:ut,rotationY:ot},{left:0,delay:t*50/1e3,ease:Power2.easeInOut});TweenLite.fromTo(s,N/1e3,{rotationX:40,z:-600,opacity:I,top:0,scale:1,transformPerspective:600,transformOrigin:ut,rotationY:ot},{rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:1,delay:t*50/1e3+N/2e3})});a.find(".slotslide").each(function(t){var s=e(this);if(T!=1){var o=-r.width;var l=70;var c="left center -"+r.height/2}else{var o=r.width;var l=-70;var c="right center -"+r.height/2}TweenLite.fromTo(s,N/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,transformPerspective:600,transformOrigin:c,rotationY:0},{opacity:1,rotationX:40,top:0,z:-600,left:o,scale:.8,rotationY:l,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:0,delay:t*50/1e3+(N/1e3-N/1e4)})})}if(l==21||l==25){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var it=u.css("z-index");var st=i.css("z-index");if(T==1){var at=-r.width;var ot=110;if(l==25){var ut="center top 0";rot2=-ot;ot=r.rotate}else{var ut="left center 0";rot2=r.rotate}}else{var at=r.width;var ot=-110;if(l==25){var ut="center bottom 0";rot2=-ot;ot=r.rotate}else{var ut="right center 0";rot2=r.rotate}}f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1500,{left:0,rotationX:rot2,z:0,opacity:0,top:0,scale:1,transformPerspective:600,transformOrigin:ut,rotationY:ot},{left:0,rotationX:0,top:0,z:0,scale:1,rotationY:0,delay:t*100/1e3+N/1e4,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}});TweenLite.to(s,.3,{opacity:1,delay:t*100/1e3+N*.2/2e3+N/1e4})});if(T!=1){var at=-r.width;var ot=90;if(l==25){var ut="center top 0";rot2=-ot;ot=r.rotate}else{var ut="left center 0";rot2=r.rotate}}else{var at=r.width;var ot=-90;if(l==25){var ut="center bottom 0";rot2=-ot;ot=r.rotate}else{var ut="right center 0";rot2=r.rotate}}a.find(".slotslide").each(function(t){var n=e(this);TweenLite.fromTo(n,N/3e3,{left:0,rotationX:0,z:0,opacity:1,top:0,scale:1,transformPerspective:600,transformOrigin:ut,rotationY:0},{left:0,rotationX:rot2,top:0,z:0,scale:1,rotationY:ot,delay:t*100/1e3,ease:Power1.easeInOut});TweenLite.to(n,.2,{opacity:0,delay:t*50/1e3+(N/3e3-N/1e4)})})}if(l==23||l==24){f.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var it=u.css("z-index");var st=i.css("z-index");var ot=-90;if(T==1)ot=90;var I=1;if(l==23){var ut="center center -"+r.width/2;I=0}else{var ut="center center "+r.width/2}var ft=0;TweenLite.fromTo(f,N/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-90});TweenLite.fromTo(f,N/2e3,{transformPerspective:600,z:-90,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(N/4e3)});TweenLite.fromTo(a,N/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-90});TweenLite.fromTo(a,N/2e3,{transformPerspective:600,z:-90,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(N/4e3)});f.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1e3,{left:ft,rotationX:r.rotate,opacity:I,top:0,scale:1,transformPerspective:600,transformOrigin:ut,rotationY:ot},{left:0,rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:1,delay:t*50/1e3+N/3e3})});ot=90;if(T==1)ot=-90;a.find(".slotslide").each(function(t){var s=e(this);TweenLite.fromTo(s,N/1e3,{left:0,opacity:1,rotationX:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:ut,rotationY:0},{left:ft,opacity:1,rotationX:r.rotate,top:0,scale:1,rotationY:ot,delay:t*50/1e3,ease:Power2.easeInOut,onComplete:function(){if(t==r.slots-1)q(n,r,f,a,u,i)}});TweenLite.to(s,.1,{opacity:0,delay:t*50/1e3+(N/1e3-N/1e4)})})}var lt={};lt.slideIndex=r.next+1;n.trigger("revolution.slide.onchange",lt);setTimeout(function(){n.trigger("revolution.slide.onafterswap")},N);n.trigger("revolution.slide.onvideostop")}function A(e,t){}function O(t,n){t.find(">ul:first-child >li").each(function(){var t=e(this);for(var r=0;r<10;r++)t.find(".rs-parallaxlevel-"+r).wrapAll('
')});if(n.parallax=="mouse"||n.parallax=="scroll+mouse"||n.parallax=="mouse+scroll"){t.on("mousemove.hoverdir, mouseleave.hoverdir",function(n){switch(n.type){case"mousemove":var r=t.offset().top,i=t.offset().left,s=r+t.height()/2,o=i+t.width()/2,u=o-n.pageX,a=s-n.pageY;e(".tp-parallax-container").each(function(){var t=e(this),n=parseInt(t.data("parallaxlevel"),0)/100,r=u*n,i=a*n;TweenLite.to(t,.2,{x:r,y:i,ease:Power3.easeOut})});break;case"mouseleave":e(".tp-parallax-container").each(function(){var t=e(this);TweenLite.to(t,.4,{x:0,y:0,ease:Power3.easeOut})});break}});if(s())window.ondeviceorientation=function(n){var r=Math.round(n.beta||0),i=Math.round(n.gamma||0),s=360/t.width()*i,o=180/t.height()*r;e(".tp-parallax-container").each(function(){var t=e(this),n=parseInt(t.data("parallaxlevel"),0)/100,r=s*n,i=o*n;TweenLite.to(t,.2,{x:r,y:i,ease:Power3.easeOut})})}}if(n.parallax=="scroll"||n.parallax=="scroll+mouse"||n.parallax=="mouse+scroll"){e(window).on("scroll",function(e){M(t,n)})}}function M(t,n){var r=t.offset().top,i=e(window).scrollTop(),s=r+t.height()/2,o=r+t.height()/2-i,u=e(window).height()/2,a=u-o;if(sul:first-child >li:eq("+r.act+")")}catch(s){var i=n.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var o=n.find(">ul:first-child >li:eq("+r.next+")");var u=i.find(".slotholder");var a=o.find(".slotholder");a.find(".defaultimg").each(function(){var n=e(this);if(n.data("kenburn")!=t){n.data("kenburn").restart()}TweenLite.killTweensOf(n,false);TweenLite.set(n,{scale:1,rotationZ:0});n.data("bgposition",a.data("bgposition"));n.data("currotate",a.data("rotationstart"));n.data("curscale",a.data("bgfit"))})}function D(n,r,i){try{var s=n.find(">ul:first-child >li:eq("+r.act+")")}catch(u){var s=n.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var a=n.find(">ul:first-child >li:eq("+r.next+")");var f=s.find(".slotholder");var l=a.find(".slotholder");var c=l.data("bgposition"),h=l.data("bgpositionend"),p=l.data("zoomstart")/100,d=l.data("zoomend")/100,v=l.data("rotationstart"),m=l.data("rotationend"),g=l.data("bgfit"),y=l.data("bgfitend"),b=l.data("easeme"),w=l.data("duration")/1e3,E=100;if(g==t)g=100;if(y==t)y=100;g=H(g,l,r);y=H(y,l,r);E=H(100,l,r);if(p==t)p=1;if(d==t)d=1;if(v==t)v=0;if(m==t)m=0;if(p<1)p=1;if(d<1)d=1;var S=new Object;S.w=parseInt(E.split(" ")[0],0),S.h=parseInt(E.split(" ")[1],0);l.find(".defaultimg").each(function(){var t=e(this);if(l.find(".kenburnimg").length==0)l.append('
');var n=l.find(".kenburnimg img");var i=P(r,c,g,n),s=P(r,h,y,n);t.data("kenburn",TweenLite.fromTo(n,w,{autoAlpha:1,transformPerspective:1200,transformOrigin:"0% 0%",top:0,left:0,scale:i.w,x:i.x,y:i.y},{autoAlpha:1,rotationZ:m,ease:b,x:s.x,y:s.y,scale:s.w,onUpdate:function(){var e=n[0]._gsTransform.scaleX;var i=e*n.width()-r.width,s=e*n.height()-r.height,u=Math.abs(n[0]._gsTransform.x/i*100),a=Math.abs(n[0]._gsTransform.y/s*100);t.data("bgposition",u+"% "+a+"%");if(!o(8))t.data("currotate",I(n));if(!o(8))t.data("curscale",S.w*e+"% "+(S.h*e+"%"));TweenLite.set(t,{rotation:t.data("currotate"),backgroundPosition:t.data("bgposition"),backgroundSize:t.data("curscale")})}}))})}function P(e,t,n,r){var i=new Object;i.w=parseInt(n.split(" ")[0],0)/100;switch(t){case"left top":case"top left":i.x=0;i.y=0;break;case"center top":case"top center":i.x=((0-r.width())*i.w+e.width)/2;i.y=0;break;case"top right":case"right top":i.x=(0-r.width())*i.w+e.width;i.y=0;break;case"center left":case"left center":i.x=0;i.y=((0-r.height())*i.w+e.height)/2;break;case"center center":i.x=((0-r.width())*i.w+e.width)/2;i.y=((0-r.height())*i.w+e.height)/2;break;case"center right":case"right center":i.x=(0-r.width())*i.w+e.width;i.y=((0-r.height())*i.w+e.height)/2;break;case"bottom left":case"left bottom":i.x=0;i.y=(0-r.height())*i.w+e.height;break;case"bottom center":case"center bottom":i.x=((0-r.width())*i.w+e.width)/2;i.y=(0-r.height())*i.w+e.height;break;case"bottom right":case"right bottom":i.x=(0-r.width())*i.w+e.width;i.y=(0-r.height())*i.w+e.height;break}return i}function H(e,t,n){var r=t.data("owidth");var i=t.data("oheight");var s=n.container.width()/r;var o=i*s;var u=o/n.container.height()*e;return e+"% "+u+"%"}function B(e){var t=e.css("-webkit-transform")||e.css("-moz-transform")||e.css("-ms-transform")||e.css("-o-transform")||e.css("transform");return t}function j(e){return e.replace(/^matrix(3d)?\((.*)\)$/,"$2").split(/, /)}function F(e){var t=j(B(e)),n=1;if(t[0]!=="none"){var r=t[0],i=t[1],s=10;n=Math.round(Math.sqrt(r*r+i*i)*s)/s}return n}function I(e){var t=e.css("-webkit-transform")||e.css("-moz-transform")||e.css("-ms-transform")||e.css("-o-transform")||e.css("transform");if(t!=="none"){var n=t.split("(")[1].split(")")[0].split(",");var r=n[0];var i=n[1];var s=Math.round(Math.atan2(i,r)*(180/Math.PI))}else{var s=0}return s<0?s+=360:s}function q(e,t,n,r,i,s){S(e,t);n.find(".defaultimg").css({opacity:1});if(i.index()!=s.index())r.find(".defaultimg").css({opacity:0});t.act=t.next;f(e);if(n.data("kenburns")=="on")D(e,t)}function R(t){var n=t.target.getVideoEmbedCode();var r=e("#"+n.split('id="')[1].split('"')[0]);var i=r.closest(".tp-simpleresponsive");var s=r.parent().data("player");if(t.data==YT.PlayerState.PLAYING){var o=i.find(".tp-bannertimer");var u=o.data("opt");if(r.closest(".tp-caption").data("volume")=="mute")s.mute();u.videoplaying=true;i.trigger("stoptimer");i.trigger("revolution.slide.onvideoplay")}else{var o=i.find(".tp-bannertimer");var u=o.data("opt");if(t.data!=-1){u.videoplaying=false;i.trigger("playtimer");i.trigger("revolution.slide.onvideostop")}}if(t.data==0&&u.nextslideatend==true)u.container.revnext()}function U(e,t,n){if(e.addEventListener)e.addEventListener(t,n,false);else e.attachEvent(t,n,false)}function z(t,n){var r=$f(t);var i=e("#"+t);var s=i.closest(".tp-simpleresponsive");r.addEvent("ready",function(e){if(n)r.api("play");r.addEvent("play",function(e){var t=s.find(".tp-bannertimer");var n=t.data("opt");n.videoplaying=true;s.trigger("stoptimer");if(i.closest(".tp-caption").data("volume")=="mute")r.api("setVolume","0")});r.addEvent("finish",function(e){var t=s.find(".tp-bannertimer");var n=t.data("opt");n.videoplaying=false;s.trigger("playtimer");s.trigger("revolution.slide.onvideoplay");if(n.nextslideatend==true)n.container.revnext()});r.addEvent("pause",function(e){var t=s.find(".tp-bannertimer");var n=t.data("opt");n.videoplaying=false;s.trigger("playtimer");s.trigger("revolution.slide.onvideostop")})})}function W(e,t){var n=t.width();var r=t.height();var i=e.data("mediaAspect");var s=n/r;e.css({position:"absolute"});var o=e.find("video");if(s0||l.find("video").length>0){if(l.data("autoplayonlyfirsttime")==true||l.data("autoplayonlyfirsttime")=="true"){l.data("autoplay",true)}l.find("iframe").each(function(){var n=e(this);if(s()){var o=n.attr("src");n.attr("src","");n.attr("src",o)}r.nextslideatend=l.data("nextslideatend");if(l.data("thumbimage")!=t&&l.data("thumbimage").length>2&&l.data("autoplay")!=true&&!i){l.find(".tp-thumb-image").remove();l.append('
')}if(n.attr("src").toLowerCase().indexOf("youtube")>=0){if(!n.hasClass("HasListener")){try{n.attr("id",h);var u;var a=setInterval(function(){if(YT!=t)if(typeof YT.Player!=t&&typeof YT.Player!="undefined"){if(l.data("autoplay")==true){u=new YT.Player(h,{events:{onStateChange:R,onReady:function(e){e.target.playVideo()}}})}else u=new YT.Player(h,{events:{onStateChange:R}});n.addClass("HasListener");l.data("player",u);clearInterval(a)}},100)}catch(f){}}else{if(l.data("autoplay")==true){var u=l.data("player");l.data("timerplay",setTimeout(function(){if(l.data("forcerewind")=="on")u.seekTo(0);u.playVideo()},l.data("start")))}}l.find(".tp-thumb-image").click(function(){TweenLite.to(e(this),.3,{opacity:0,ease:Power3.easeInOut,onComplete:function(){l.find(".tp-thumb-image").remove()}});var t=l.data("player");t.playVideo()})}else{if(n.attr("src").toLowerCase().indexOf("vimeo")>=0){if(!n.hasClass("HasListener")){n.addClass("HasListener");n.attr("id",h);var c=n.attr("src");var p={},d=c,v=/([^&=]+)=([^&]*)/g,m;while(m=v.exec(d)){p[decodeURIComponent(m[1])]=decodeURIComponent(m[2])}if(p["player_id"]!=t)c=c.replace(p["player_id"],h);else c=c+"&player_id="+h;try{c=c.replace("api=0","api=1")}catch(f){}c=c+"&api=1";n.attr("src",c);var u=l.find("iframe")[0];var g=setInterval(function(){if($f!=t)if(typeof $f(h).api!=t&&typeof $f(h).api!="undefined"){$f(u).addEvent("ready",function(){z(h,l.data("autoplay"))});clearInterval(g)}},100)}else{if(l.data("autoplay")==true){var n=l.find("iframe");var y=n.attr("id");var g=setInterval(function(){if($f!=t)if(typeof $f(y).api!=t&&typeof $f(y).api!="undefined"){var e=$f(y);l.data("timerplay",setTimeout(function(){if(l.data("forcerewind")=="on")e.api("seekTo",0);e.api("play")},l.data("start")));clearInterval(g)}},100)}}l.find(".tp-thumb-image").click(function(){TweenLite.to(e(this),.3,{opacity:0,ease:Power3.easeInOut,onComplete:function(){l.find(".tp-thumb-image").remove()}});var n=l.find("iframe");var r=n.attr("id");var i=setInterval(function(){if($f!=t)if(typeof $f(r).api!=t&&typeof $f(r).api!="undefined"){var e=$f(r);e.api("play");clearInterval(i)}},100)})}}});if(l.find("video").length>0){l.find("video").each(function(n){var i=e(this);var s=this;if(!i.parent().hasClass("html5vid")){i.wrap('
')}var o=e(this).parent();if(s.addEventListener)s.addEventListener("loadedmetadata",function(){o.data("metaloaded",1)});else s.attachEvent("loadedmetadata",function(){o.data("metaloaded",1)});if(!i.hasClass("HasListener")){i.addClass("HasListener");s.addEventListener("play",function(){o.addClass("videoisplaying");o.find(".tp-poster").remove();if(l.data("volume")=="mute")s.muted=true;r.container.trigger("revolution.slide.onvideoplay");r.videoplaying=true;r.container.trigger("stoptimer")});s.addEventListener("pause",function(){o.removeClass("videoisplaying");r.videoplaying=false;r.container.trigger("playtimer");r.container.trigger("revolution.slide.onvideostop")});s.addEventListener("ended",function(){o.removeClass("videoisplaying");r.videoplaying=false;r.container.trigger("playtimer");r.container.trigger("revolution.slide.onvideostop");if(r.nextslideatend==true)r.container.revnext()})}if(i.attr("poster")!=t&&o.find(".tp-poster").length==0)o.append('
');if(i.attr("control")==t&&o.find(".tp-video-play-button").length==0){o.append('
');o.find(".tp-video-play-button").click(function(){if(o.hasClass("videoisplaying"))s.pause();else s.play()})}if(i.attr("control")==t){o.find("video, .tp-poster").click(function(){if(o.hasClass("videoisplaying"))s.pause();else s.play()})}if(l.data("forcecover")==1){W(o,r.container);o.addClass("fullcoveredvideo");l.addClass("fullcoveredvideo")}if(l.data("forcecover")==1||l.hasClass("fullscreenvideo")){o.css({width:"100%",height:"100%"})}var u=false;if(l.data("autoplayonlyfirsttime")==true||l.data("autoplayonlyfirsttime")=="true")u=true;clearInterval(o.data("interval"));o.data("interval",setInterval(function(){if(o.data("metaloaded")==1||s.duration!=NaN){clearInterval(o.data("interval"));if(l.data("dottedoverlay")!="none"&&l.data("dottedoverlay")!=t)if(l.find(".tp-dottedoverlay").length!=1)o.append('
');var n=16/9;if(l.data("aspectratio")=="4:3")n=4/3;o.data("mediaAspect",n);if(o.closest(".tp-caption").data("forcecover")==1){W(o,r.container);o.addClass("fullcoveredvideo")}i.css({display:"block"});r.nextslideatend=l.data("nextslideatend");if(l.data("autoplay")==true||u==true){var a=e("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");setTimeout(function(){r.videoplaying=true;r.container.trigger("stoptimer")},200);if(l.data("forcerewind")=="on"&&!o.hasClass("videoisplaying"))if(s.currentTime>0)s.currentTime=0;if(l.data("volume")=="mute")s.muted=true;o.data("timerplay",setTimeout(function(){if(l.data("forcerewind")=="on"&&!o.hasClass("videoisplaying"))if(s.currentTime>0)s.currentTime=0;if(l.data("volume")=="mute")s.muted=true;setTimeout(function(){s.play()},500)},10+l.data("start")))}if(o.data("ww")==t)o.data("ww",i.attr("width"));if(o.data("hh")==t)o.data("hh",i.attr("height"));if(!l.hasClass("fullscreenvideo")&&l.data("forcecover")==1){try{o.width(o.data("ww")*r.bw);o.height(o.data("hh")*r.bh)}catch(f){}}clearInterval(o.data("interval"))}}),100)})}if(l.data("autoplay")==true){var p=e("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");setTimeout(function(){r.videoplaying=true;r.container.trigger("stoptimer")},200);r.videoplaying=true;r.container.trigger("stoptimer");if(l.data("autoplayonlyfirsttime")==true||l.data("autoplayonlyfirsttime")=="true"){l.data("autoplay",false);l.data("autoplayonlyfirsttime",false)}}}var d=0;var v=0;if(l.find("img").length>0){var m=l.find("img");if(m.data("ww")==t)m.data("ww",m.width());if(m.data("hh")==t)m.data("hh",m.height());var g=m.data("ww");var y=m.data("hh");m.width(g*r.bw);m.height(y*r.bh);d=m.width();v=m.height()}else{if(l.find("iframe").length>0||l.find("video").length>0){var b=false;var m=l.find("iframe");if(m.length==0){m=l.find("video");b=true}m.css({display:"block"});if(l.data("ww")==t)l.data("ww",m.width());if(l.data("hh")==t)l.data("hh",m.height());var g=l.data("ww");var y=l.data("hh");var w=l;if(w.data("fsize")==t)w.data("fsize",parseInt(w.css("font-size"),0)||0);if(w.data("pt")==t)w.data("pt",parseInt(w.css("paddingTop"),0)||0);if(w.data("pb")==t)w.data("pb",parseInt(w.css("paddingBottom"),0)||0);if(w.data("pl")==t)w.data("pl",parseInt(w.css("paddingLeft"),0)||0);if(w.data("pr")==t)w.data("pr",parseInt(w.css("paddingRight"),0)||0);if(w.data("mt")==t)w.data("mt",parseInt(w.css("marginTop"),0)||0);if(w.data("mb")==t)w.data("mb",parseInt(w.css("marginBottom"),0)||0);if(w.data("ml")==t)w.data("ml",parseInt(w.css("marginLeft"),0)||0);if(w.data("mr")==t)w.data("mr",parseInt(w.css("marginRight"),0)||0);if(w.data("bt")==t)w.data("bt",parseInt(w.css("borderTop"),0)||0);if(w.data("bb")==t)w.data("bb",parseInt(w.css("borderBottom"),0)||0);if(w.data("bl")==t)w.data("bl",parseInt(w.css("borderLeft"),0)||0);if(w.data("br")==t)w.data("br",parseInt(w.css("borderRight"),0)||0);if(w.data("lh")==t)w.data("lh",parseInt(w.css("lineHeight"),0)||0);var E=r.width;var S=r.height;if(E>r.startwidth)E=r.startwidth;if(S>r.startheight)S=r.startheight;if(!l.hasClass("fullscreenvideo"))l.css({"font-size":w.data("fsize")*r.bw+"px","padding-top":w.data("pt")*r.bh+"px","padding-bottom":w.data("pb")*r.bh+"px","padding-left":w.data("pl")*r.bw+"px","padding-right":w.data("pr")*r.bw+"px","margin-top":w.data("mt")*r.bh+"px","margin-bottom":w.data("mb")*r.bh+"px","margin-left":w.data("ml")*r.bw+"px","margin-right":w.data("mr")*r.bw+"px","border-top":w.data("bt")*r.bh+"px","border-bottom":w.data("bb")*r.bh+"px","border-left":w.data("bl")*r.bw+"px","border-right":w.data("br")*r.bw+"px","line-height":w.data("lh")*r.bh+"px",height:y*r.bh+"px"});else{o=0;u=0;l.data("x",0);l.data("y",0);var x=r.height;if(r.autoHeight=="on")x=r.container.height();l.css({width:r.width,height:x})}if(b==false){m.width(g*r.bw);m.height(y*r.bh)}else if(l.data("forcecover")!=1&&!l.hasClass("fullscreenvideo")){m.width(g*r.bw);m.height(y*r.bh)}d=m.width();v=m.height()}else{l.find(".tp-resizeme, .tp-resizeme *").each(function(){G(e(this),r)});if(l.hasClass("tp-resizeme")){l.find("*").each(function(){G(e(this),r)})}G(l,r);v=l.outerHeight(true);d=l.outerWidth(true);var T=l.outerHeight();var N=l.css("backgroundColor");l.find(".frontcorner").css({borderWidth:T+"px",left:0-T+"px",borderRight:"0px solid transparent",borderTopColor:N});l.find(".frontcornertop").css({borderWidth:T+"px",left:0-T+"px",borderRight:"0px solid transparent",borderBottomColor:N});l.find(".backcorner").css({borderWidth:T+"px",right:0-T+"px",borderLeft:"0px solid transparent",borderBottomColor:N});l.find(".backcornertop").css({borderWidth:T+"px",right:0-T+"px",borderLeft:"0px solid transparent",borderTopColor:N})}}if(r.fullScreenAlignForce=="on"){o=0;u=0}if(l.data("voffset")==t)l.data("voffset",0);if(l.data("hoffset")==t)l.data("hoffset",0);var C=l.data("voffset")*a;var k=l.data("hoffset")*a;var L=r.startwidth*a;var A=r.startheight*a;if(r.fullScreenAlignForce=="on"){L=r.container.width();A=r.container.height()}if(l.data("x")=="center"||l.data("xcenter")=="center"){l.data("xcenter","center");l.data("x",L/2-l.outerWidth(true)/2+k)}if(l.data("x")=="left"||l.data("xleft")=="left"){l.data("xleft","left");l.data("x",0/a+k)}if(l.data("x")=="right"||l.data("xright")=="right"){l.data("xright","right");l.data("x",(L-l.outerWidth(true)+k)/a)}if(l.data("y")=="center"||l.data("ycenter")=="center"){l.data("ycenter","center");l.data("y",A/2-l.outerHeight(true)/2+C)}if(l.data("y")=="top"||l.data("ytop")=="top"){l.data("ytop","top");l.data("y",0/r.bh+C)}if(l.data("y")=="bottom"||l.data("ybottom")=="bottom"){l.data("ybottom","bottom");l.data("y",(A-l.outerHeight(true)+C)/a)}if(l.data("start")==t)l.data("start",1e3);var O=l.data("easing");if(O==t)O="Power1.easeOut";var M=l.data("start")/1e3;var _=l.data("speed")/1e3;if(l.data("x")=="center"||l.data("xcenter")=="center")var D=l.data("x")+o;else{var D=a*l.data("x")+o}if(l.data("y")=="center"||l.data("ycenter")=="center")var P=l.data("y")+u;else{var P=r.bh*l.data("y")+u}TweenLite.set(l,{top:P,left:D,overwrite:"auto"});if(!i){if(l.data("timeline")!=t)l.data("timeline").clear();function H(){setTimeout(function(){l.css({transform:"none","-moz-transform":"none","-webkit-transform":"none"})},100)}function B(){l.data("timer",setTimeout(function(){if(l.hasClass("fullscreenvideo"))l.css({display:"block"})},l.data("start")))}var j=new TimelineLite({smoothChildTiming:true,onStart:B});if(r.fullScreenAlignForce=="on"){}var F=l;if(l.data("mySplitText")!=t)l.data("mySplitText").revert();if(l.data("splitin")=="chars"||l.data("splitin")=="words"||l.data("splitin")=="lines"||l.data("splitout")=="chars"||l.data("splitout")=="words"||l.data("splitout")=="lines"){if(l.find("a").length>0)l.data("mySplitText",new SplitText(l.find("a"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"}));else l.data("mySplitText",new SplitText(l,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"}));l.addClass("splitted")}if(l.data("splitin")=="chars")F=l.data("mySplitText").chars;if(l.data("splitin")=="words")F=l.data("mySplitText").words;if(l.data("splitin")=="lines")F=l.data("mySplitText").lines;var I=X();var q=X();if(l.data("repeat")!=t)repeatV=l.data("repeat");if(l.data("yoyo")!=t)yoyoV=l.data("yoyo");if(l.data("repeatdelay")!=t)repeatdelayV=l.data("repeatdelay");if(l.hasClass("customin"))I=V(I,l.data("customin"));else if(l.hasClass("randomrotate")){I.scale=Math.random()*3+1;I.rotation=Math.round(Math.random()*200-100);I.x=Math.round(Math.random()*200-100);I.y=Math.round(Math.random()*200-100)}else if(l.hasClass("lfr")||l.hasClass("skewfromright"))I.x=15+r.width;else if(l.hasClass("lfl")||l.hasClass("skewfromleft"))I.x=-15-d;else if(l.hasClass("sfl")||l.hasClass("skewfromleftshort"))I.x=-50;else if(l.hasClass("sfr")||l.hasClass("skewfromrightshort"))I.x=50;else if(l.hasClass("lft"))I.y=-25-v;else if(l.hasClass("lfb"))I.y=25+r.height;else if(l.hasClass("sft"))I.y=-50;else if(l.hasClass("sfb"))I.y=50;if(l.hasClass("skewfromright")||l.hasClass("skewfromrightshort"))I.skewX=-85;else if(l.hasClass("skewfromleft")||l.hasClass("skewfromleftshort"))I.skewX=85;if(l.hasClass("fade")||l.hasClass("sft")||l.hasClass("sfl")||l.hasClass("sfb")||l.hasClass("skewfromleftshort")||l.hasClass("sfr")||l.hasClass("skewfromrightshort"))I.opacity=0;if(K().toLowerCase()=="safari"){I.rotationX=0;I.rotationY=0}var U=l.data("elementdelay")==t?0:l.data("elementdelay");q.ease=I.ease=l.data("easing")==t?Power1.easeInOut:l.data("easing");I.data=new Object;I.data.oldx=I.x;I.data.oldy=I.y;q.data=new Object;q.data.oldx=q.x;q.data.oldy=q.y;I.x=I.x*a;I.y=I.y*a;var J=new TimelineLite;if(l.hasClass("customin")){if(F!=l)j.add(TweenLite.set(l,{opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",opacity:1,delay:0,overwrite:"all"}));I.visibility="hidden";q.visibility="visible";q.overwrite="all";q.opacity=1;q.onComplete=H();q.delay=M;j.add(J.staggerFromTo(F,_,I,q,U),"frame0")}else{I.visibility="visible";I.transformPerspective=600;if(F!=l)j.add(TweenLite.set(l,{opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",opacity:1,delay:0,overwrite:"all"}));q.visibility="visible";q.delay=M;q.onComplete=H();q.opacity=1;if(l.hasClass("randomrotate")&&F!=l){for(var n=0;n0){var n=$(t);Z(l,r,n,"frame"+(e+10),a)}})}j=l.data("timeline");if(l.data("end")!=t){et(l,r,l.data("end")/1e3,I,"frame99",a)}else{et(l,r,999999,I,"frame99",a)}j=l.data("timeline");l.data("timeline",j);l.find(".rs-pendulum").each(function(){var n=e(this);if(n.data("timeline")==t){n.data("timeline",new TimelineLite);var r=n.data("startdeg")==t?-20:n.data("startdeg"),i=n.data("enddeg")==t?20:n.data("enddeg");speed=n.data("speed")==t?2:n.data("speed"),origin=n.data("origin")==t?"50% 50%":n.data("origin"),easing=n.data("ease")==t?Power2.easeInOut:n.data("ease");n.data("timeline").append(new TweenLite.fromTo(n,speed,{rotation:r,transformOrigin:origin},{rotation:i,ease:easing}));n.data("timeline").append(new TweenLite.fromTo(n,speed,{rotation:i,transformOrigin:origin},{rotation:r,ease:easing,onComplete:function(){n.data("timeline").restart()}}))}});l.find(".rs-slideloop").each(function(){var n=e(this);if(n.data("timeline")==t){n.data("timeline",new TimelineLite);var r=n.data("xs")==t?0:n.data("xs"),i=n.data("ys")==t?0:n.data("ys");xe=n.data("xe")==t?0:n.data("xe"),ye=n.data("ye")==t?0:n.data("ye"),speed=n.data("speed")==t?2:n.data("speed"),easing=n.data("ease")==t?Power2.easeInOut:n.data("ease");n.data("timeline").append(new TweenLite.fromTo(n,speed,{x:r,y:i},{x:xe,y:ye,ease:easing}));n.data("timeline").append(new TweenLite.fromTo(n,speed,{x:xe,y:ye},{x:r,y:i,onComplete:function(){n.data("timeline").restart()}}))}});l.find(".rs-pulse").each(function(){var n=e(this);if(n.data("timeline")==t){n.data("timeline",new TimelineLite);var r=n.data("zoomstart")==t?0:n.data("zoomstart"),i=n.data("zoomend")==t?0:n.data("zoomend");speed=n.data("speed")==t?2:n.data("speed"),easing=n.data("ease")==t?Power2.easeInOut:n.data("ease");n.data("timeline").append(new TweenLite.fromTo(n,speed,{scale:r},{scale:i,ease:easing}));n.data("timeline").append(new TweenLite.fromTo(n,speed,{scale:i},{scale:r,onComplete:function(){n.data("timeline").restart()}}))}});l.find(".rs-wave").each(function(){var n=e(this);if(n.data("timeline")==t){n.data("timeline",new TimelineLite);var r=n.data("angle")==t?10:n.data("angle"),i=n.data("radius")==t?10:n.data("radius"),s=n.data("speed")==t?-20:n.data("speed"),o=n.data("origin")==t?-20:n.data("origin"),u={a:0,ang:r,element:n,unit:i};n.data("timeline").append(new TweenLite.fromTo(u,s,{a:360},{a:0,ease:Linear.easeNone,onUpdate:function(){var e=u.a*(Math.PI/180);TweenLite.to(u.element,.1,{x:Math.cos(e)*u.unit,y:u.unit*(1-Math.sin(e))})},onComplete:function(){n.data("timeline").restart()}}))}})}}if(i){if(l.data("timeline")!=t){var it=l.data("timeline").getTweensOf();e.each(it,function(e,n){if(n.vars.data!=t){var r=n.vars.data.oldx*a;var i=n.vars.data.oldy*a;if(n.progress()!=1&&n.progress()!=0){try{n.vars.x=r;n.vary.y=i}catch(s){}}else{if(n.progress()==1){TweenLite.set(n.target,{x:r,y:i})}}}})}}});var a=e("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");a.data("opt",r)}function K(){var e=navigator.appName,t=navigator.userAgent,n;var r=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);if(r&&(n=t.match(/version\/([\.\d]+)/i))!=null)r[2]=n[1];r=r?[r[1],r[2]]:[e,navigator.appVersion,"-?"];return r[0]}function Q(){var e=navigator.appName,t=navigator.userAgent,n;var r=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);if(r&&(n=t.match(/version\/([\.\d]+)/i))!=null)r[2]=n[1];r=r?[r[1],r[2]]:[e,navigator.appVersion,"-?"];return r[1]}function G(e,n){if(e.data("fsize")==t)e.data("fsize",parseInt(e.css("font-size"),0)||0);if(e.data("pt")==t)e.data("pt",parseInt(e.css("paddingTop"),0)||0);if(e.data("pb")==t)e.data("pb",parseInt(e.css("paddingBottom"),0)||0);if(e.data("pl")==t)e.data("pl",parseInt(e.css("paddingLeft"),0)||0);if(e.data("pr")==t)e.data("pr",parseInt(e.css("paddingRight"),0)||0);if(e.data("mt")==t)e.data("mt",parseInt(e.css("marginTop"),0)||0);if(e.data("mb")==t)e.data("mb",parseInt(e.css("marginBottom"),0)||0);if(e.data("ml")==t)e.data("ml",parseInt(e.css("marginLeft"),0)||0);if(e.data("mr")==t)e.data("mr",parseInt(e.css("marginRight"),0)||0);if(e.data("bt")==t)e.data("bt",parseInt(e.css("borderTopWidth"),0)||0);if(e.data("bb")==t)e.data("bb",parseInt(e.css("borderBottomWidth"),0)||0);if(e.data("bl")==t)e.data("bl",parseInt(e.css("borderLeftWidth"),0)||0);if(e.data("br")==t)e.data("br",parseInt(e.css("borderRightWidth"),0)||0);if(e.data("ls")==t)e.data("ls",parseInt(e.css("letterSpacing"),0)||0);if(e.data("lh")==t)e.data("lh",parseInt(e.css("lineHeight"),0)||0);if(e.data("minwidth")==t)e.data("minwidth",parseInt(e.css("minWidth"),0)||0);if(e.data("minheight")==t)e.data("minheight",parseInt(e.css("minHeight"),0)||0);if(e.data("maxwidth")==t)e.data("maxwidth",parseInt(e.css("maxWidth"),0)||"none");if(e.data("maxheight")==t)e.data("maxheight",parseInt(e.css("maxHeight"),0)||"none");if(e.data("wan")==t)e.data("wan",e.css("-webkit-transition"));if(e.data("moan")==t)e.data("moan",e.css("-moz-animation-transition"));if(e.data("man")==t)e.data("man",e.css("-ms-animation-transition"));if(e.data("ani")==t)e.data("ani",e.css("transition"));if(!e.hasClass("tp-splitted")){e.css("-webkit-transition","none");e.css("-moz-transition","none");e.css("-ms-transition","none");e.css("transition","none");TweenLite.set(e,{fontSize:Math.round(e.data("fsize")*n.bw)+"px",letterSpacing:Math.floor(e.data("ls")*n.bw)+"px",paddingTop:Math.round(e.data("pt")*n.bh)+"px",paddingBottom:Math.round(e.data("pb")*n.bh)+"px",paddingLeft:Math.round(e.data("pl")*n.bw)+"px",paddingRight:Math.round(e.data("pr")*n.bw)+"px",marginTop:e.data("mt")*n.bh+"px",marginBottom:e.data("mb")*n.bh+"px",marginLeft:e.data("ml")*n.bw+"px",marginRight:e.data("mr")*n.bw+"px",borderTopWidth:Math.round(e.data("bt")*n.bh)+"px",borderBottomWidth:Math.round(e.data("bb")*n.bh)+"px",borderLeftWidth:Math.round(e.data("bl")*n.bw)+"px",borderRightWidth:Math.round(e.data("br")*n.bw)+"px",lineHeight:Math.round(e.data("lh")*n.bh)+"px",minWidth:e.data("minwidth")*n.bw+"px",minHeight:e.data("minheight")*n.bh+"px",overwrite:"auto"});setTimeout(function(){e.css("-webkit-transition",e.data("wan"));e.css("-moz-transition",e.data("moan"));e.css("-ms-transition",e.data("man"));e.css("transition",e.data("ani"))},30);if(e.data("maxheight")!="none")e.css({maxHeight:e.data("maxheight")*n.bh+"px"});if(e.data("maxwidth")!="none")e.css({maxWidth:e.data("maxwidth")*n.bw+"px"})}}function Y(t,n){t.find(".tp-caption").each(function(t){var n=e(this);if(n.find("iframe").length>0){try{var r=n.find("iframe");var i=r.attr("id");var s=$f(i);s.api("pause");clearTimeout(n.data("timerplay"))}catch(o){}try{var u=n.data("player");u.stopVideo();clearTimeout(n.data("timerplay"))}catch(o){}}if(n.find("video").length>0){try{n.find("video").each(function(t){var n=e(this).parent();var r=n.attr("id");clearTimeout(n.data("timerplay"));var i=this;i.pause()})}catch(o){}}try{var a=n.data("timeline");var f=a.getLabelTime("frame99");var l=a.time();if(f>l){var c=a.getTweensOf(n);e.each(c,function(e,t){if(e!=0)t.pause()});if(n.css("opacity")!=0)a.play("frame99");else a.progress(1,false)}}catch(o){}})}function Z(e,n,r,i,s){var o=e.data("timeline");var u=new TimelineLite;var a=e;if(r.typ=="chars")a=e.data("mySplitText").chars;else if(r.typ=="words")a=e.data("mySplitText").words;else if(r.typ=="lines")a=e.data("mySplitText").lines;r.animation.ease=r.ease;if(r.animation.rotationZ!=t)r.animation.rotation=r.animation.rotationZ;r.animation.data=new Object;r.animation.data.oldx=r.animation.x;r.animation.data.oldy=r.animation.y;r.animation.x=r.animation.x*s;r.animation.y=r.animation.y*s;o.add(u.staggerTo(a,r.speed,r.animation,r.elementdelay),r.start);o.addLabel(i,r.start);e.data("timeline",o)}function et(e,n,r,i,s,o){var u=e.data("timeline");var a=new TimelineLite;var f=X();var l=e.data("endspeed")==t?e.data("speed"):e.data("endspeed");f.ease=e.data("endeasing")==t?Power1.easeInOut:e.data("endeasing");l=l/1e3;if(e.hasClass("ltr")||e.hasClass("ltl")||e.hasClass("str")||e.hasClass("stl")||e.hasClass("ltt")||e.hasClass("ltb")||e.hasClass("stt")||e.hasClass("stb")||e.hasClass("skewtoright")||e.hasClass("skewtorightshort")||e.hasClass("skewtoleft")||e.hasClass("skewtoleftshort")||e.hasClass("fadeout")||e.hasClass("randomrotateout")){if(e.hasClass("skewtoright")||e.hasClass("skewtorightshort"))f.skewX=35;else if(e.hasClass("skewtoleft")||e.hasClass("skewtoleftshort"))f.skewX=-35;if(e.hasClass("ltr")||e.hasClass("skewtoright"))f.x=n.width+60;else if(e.hasClass("ltl")||e.hasClass("skewtoleft"))f.x=0-(n.width+60);else if(e.hasClass("ltt"))f.y=0-(n.height+60);else if(e.hasClass("ltb"))f.y=n.height+60;else if(e.hasClass("str")||e.hasClass("skewtorightshort")){f.x=50;f.opacity=0}else if(e.hasClass("stl")||e.hasClass("skewtoleftshort")){f.x=-50;f.opacity=0}else if(e.hasClass("stt")){f.y=-50;f.opacity=0}else if(e.hasClass("stb")){f.y=50;f.opacity=0}else if(e.hasClass("randomrotateout")){f.x=Math.random()*n.width;f.y=Math.random()*n.height;f.scale=Math.random()*2+.3;f.rotation=Math.random()*360-180;f.opacity=0}else if(e.hasClass("fadeout")){f.opacity=0}if(e.hasClass("skewtorightshort"))f.x=270;else if(e.hasClass("skewtoleftshort"))f.x=-270;f.data=new Object;f.data.oldx=f.x;f.data.oldy=f.y;f.x=f.x*o;f.y=f.y*o;f.overwrite="auto";var c=e;var c=e;if(e.data("splitout")=="chars")c=e.data("mySplitText").chars;else if(e.data("splitout")=="words")c=e.data("mySplitText").words;else if(e.data("splitout")=="lines")c=e.data("mySplitText").lines;var h=e.data("endelementdelay")==t?0:e.data("endelementdelay");u.add(a.staggerTo(c,l,f,h),r)}else if(e.hasClass("customout")){f=V(f,e.data("customout"));var c=e;if(e.data("splitout")=="chars")c=e.data("mySplitText").chars;else if(e.data("splitout")=="words")c=e.data("mySplitText").words;else if(e.data("splitout")=="lines")c=e.data("mySplitText").lines;var h=e.data("endelementdelay")==t?0:e.data("endelementdelay");f.onStart=function(){TweenLite.set(e,{transformPerspective:f.transformPerspective,transformOrigin:f.transformOrigin,overwrite:"auto"})};f.data=new Object;f.data.oldx=f.x;f.data.oldy=f.y;f.x=f.x*o;f.y=f.y*o;u.add(a.staggerTo(c,l,f,h),r)}else{i.delay=0;u.add(TweenLite.to(e,l,i),r)}u.addLabel(s,r);e.data("timeline",u)}function tt(t,n){t.children().each(function(){try{e(this).die("click")}catch(t){}try{e(this).die("mouseenter")}catch(t){}try{e(this).die("mouseleave")}catch(t){}try{e(this).unbind("hover")}catch(t){}});try{t.die("click","mouseenter","mouseleave")}catch(r){}clearInterval(n.cdint);t=null}function nt(n,r){r.cd=0;r.loop=0;if(r.stopAfterLoops!=t&&r.stopAfterLoops>-1)r.looptogo=r.stopAfterLoops;else r.looptogo=9999999;if(r.stopAtSlide!=t&&r.stopAtSlide>-1)r.lastslidetoshow=r.stopAtSlide;else r.lastslidetoshow=999;r.stopLoop="off";if(r.looptogo==0)r.stopLoop="on";if(r.slideamount>1&&!(r.stopAfterLoops==0&&r.stopAtSlide==1)){var i=n.find(".tp-bannertimer");n.on("stoptimer",function(){i.data("tween").pause();if(r.hideTimerBar=="on")i.css({visibility:"hidden"})});n.on("starttimer",function(){if(r.conthover!=1&&r.videoplaying!=true&&r.width>r.hideSliderAtLimit&&r.bannertimeronpause!=true&&r.overnav!=true)if(r.stopLoop=="on"&&r.next==r.lastslidetoshow-1){}else{i.css({visibility:"visible"});i.data("tween").play()}if(r.hideTimerBar=="on")i.css({visibility:"hidden"})});n.on("restarttimer",function(){if(r.stopLoop=="on"&&r.next==r.lastslidetoshow-1){}else{i.css({visibility:"visible"});i.data("tween",TweenLite.fromTo(i,r.delay/1e3,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:o,delay:1}))}if(r.hideTimerBar=="on")i.css({visibility:"hidden"})});n.on("nulltimer",function(){i.data("tween").pause(0);if(r.hideTimerBar=="on")i.css({visibility:"hidden"})});function o(){if(e("body").find(n).length==0){tt(n,r);clearInterval(r.cdint)}if(n.data("conthover-changed")==1){r.conthover=n.data("conthover");n.data("conthover-changed",0)}r.act=r.next;r.next=r.next+1;if(r.next>n.find(">ul >li").length-1){r.next=0;r.looptogo=r.looptogo-1;if(r.looptogo<=0){r.stopLoop="on"}}if(r.stopLoop=="on"&&r.next==r.lastslidetoshow-1){n.find(".tp-bannertimer").css({visibility:"hidden"});n.trigger("revolution.slide.onstop")}else{i.data("tween").restart()}C(n,r)}i.data("tween",TweenLite.fromTo(i,r.delay/1e3,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:o,delay:1}));i.data("opt",r);n.hover(function(){if(r.onHoverStop=="on"&&!s()){n.trigger("stoptimer");n.trigger("revolution.slide.onpause");var i=n.find(">ul >li:eq("+r.next+") .slotholder");i.find(".defaultimg").each(function(){var n=e(this);if(n.data("kenburn")!=t){n.data("kenburn").pause()}})}},function(){if(n.data("conthover")!=1){n.trigger("revolution.slide.onresume");n.trigger("starttimer");var i=n.find(">ul >li:eq("+r.next+") .slotholder");i.find(".defaultimg").each(function(){var n=e(this);if(n.data("kenburn")!=t){n.data("kenburn").play()}})}})}}e.fn.extend({revolution:function(i){e.fn.revolution.defaults={delay:9e3,startheight:500,startwidth:960,fullScreenAlignForce:"off",autoHeight:"off",hideTimerBar:"off",hideThumbs:200,hideNavDelayOnMobile:1500,thumbWidth:100,thumbHeight:50,thumbAmount:3,navigationType:"bullet",navigationArrows:"solo",hideThumbsOnMobile:"off",hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResoluition:0,navigationStyle:"round",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,keyboardNavigation:"on",touchenabled:"on",onHoverStop:"on",stopAtSlide:-1,stopAfterLoops:-1,hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,shadow:0,fullWidth:"off",fullScreen:"off",minFullScreenHeight:0,fullScreenOffsetContainer:"",dottedOverlay:"none",forceFullWidth:"off",spinner:"spinner0",swipe_velocity:.4,swipe_max_touches:1,swipe_min_touches:1,drag_block_vertical:false,isJoomla:false,parallax:"off",parallaxLevels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],parallaxBgFreeze:"off"};i=e.extend({},e.fn.revolution.defaults,i);return this.each(function(){var o=i;o.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i);if(o.fullWidth!="on"&&o.fullScreen!="on")o.autoHeight="off";if(o.fullScreen=="on")o.autoHeight="on";if(o.fullWidth!="on"&&o.fullScreen!="on")forceFulWidth="off";var u=e(this);if(o.fullWidth=="on"&&o.autoHeight=="off")u.css({maxHeight:o.startheight+"px"});if(s()&&o.hideThumbsOnMobile=="on"&&o.navigationType=="thumb")o.navigationType="none";if(s()&&o.hideBulletsOnMobile=="on"&&o.navigationType=="bullet")o.navigationType="none";if(s()&&o.hideBulletsOnMobile=="on"&&o.navigationType=="both")o.navigationType="none";if(s()&&o.hideArrowsOnMobile=="on")o.navigationArrows="none";if(o.forceFullWidth=="on"){var f=u.parent().offset().left;var l=u.parent().css("marginBottom");var m=u.parent().css("marginTop");if(l==t)l=0;if(m==t)m=0;u.parent().wrap('
');u.closest(".forcefullwidth_wrapper_tp_banner").append('
');u.css({backgroundColor:u.parent().css("backgroundColor"),backgroundImage:u.parent().css("backgroundImage")});u.parent().css({left:0-f+"px",position:"absolute",width:e(window).width()});o.width=e(window).width()}try{if(o.hideThumbsUnderResolution>e(window).width()&&o.hideThumbsUnderResolution!=0){u.parent().find(".tp-bullets.tp-thumbs").css({display:"none"})}else{u.parent().find(".tp-bullets.tp-thumbs").css({display:"block"})}}catch(g){}if(!u.hasClass("revslider-initialised")){u.addClass("revslider-initialised");if(u.attr("id")==t)u.attr("id","revslider-"+Math.round(Math.random()*1e3+5));o.firefox13=false;o.ie=!e.support.opacity;o.ie9=document.documentMode==9;o.origcd=o.delay;var b=e.fn.jquery.split("."),w=parseFloat(b[0]),E=parseFloat(b[1]),S=parseFloat(b[2]||"0");if(w==1&&E<7){u.html('
The Current Version of jQuery:'+b+"
Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin
")}if(w>1)o.ie=false;if(!e.support.transition)e.fn.transition=e.fn.animate;u.find(".caption").each(function(){e(this).addClass("tp-caption")});if(s()){u.find(".tp-caption").each(function(){if(e(this).data("autoplay")==true)e(this).data("autoplay",false)})}var x=0;var T=0;var N=0;var k="http";if(location.protocol==="https:"){k="https"}u.find(".tp-caption iframe").each(function(t){try{if(e(this).attr("src").indexOf("you")>0&&x==0){x=1;var n=document.createElement("script");var r="https";n.src=r+"://www.youtube.com/iframe_api";var i=document.getElementsByTagName("script")[0];var s=true;e("head").find("*").each(function(){if(e(this).attr("src")==r+"://www.youtube.com/iframe_api")s=false});if(s){i.parentNode.insertBefore(n,i)}}}catch(o){}});u.find(".tp-caption iframe").each(function(t){try{if(e(this).attr("src").indexOf("vim")>0&&T==0){T=1;var n=document.createElement("script");n.src=k+"://a.vimeocdn.com/js/froogaloop2.min.js";var r=document.getElementsByTagName("script")[0];var i=true;e("head").find("*").each(function(){if(e(this).attr("src")==k+"://a.vimeocdn.com/js/froogaloop2.min.js")i=false});if(i)r.parentNode.insertBefore(n,r)}}catch(s){}});u.find(".tp-caption video").each(function(t){e(this).removeClass("video-js").removeClass("vjs-default-skin");e(this).attr("preload","");e(this).css({display:"none"})});if(o.shuffle=="on"){for(var L=0;Lul:first-child >li").length;L++){var A=Math.round(Math.random()*u.find(">ul:first-child >li").length);u.find(">ul:first-child >li:eq("+A+")").prependTo(u.find(">ul:first-child"))}}o.slots=4;o.act=-1;o.next=0;if(o.startWithSlide!=t)o.next=o.startWithSlide;var M=n("#")[0];if(M.length<9){if(M.split("slide").length>1){var _=parseInt(M.split("slide")[1],0);if(_<1)_=1;if(_>u.find(">ul:first >li").length)_=u.find(">ul:first >li").length;o.next=_-1}}o.firststart=1;if(o.navigationHOffset==t)o.navOffsetHorizontal=0;if(o.navigationVOffset==t)o.navOffsetVertical=0;u.append('
'+'
'+'
'+'
'+'
'+'
'+"
");if(u.find(".tp-bannertimer").length==0)u.append('');var D=u.find(".tp-bannertimer");if(D.length>0){D.css({width:"0%"})}u.addClass("tp-simpleresponsive");o.container=u;o.slideamount=u.find(">ul:first >li").length;if(u.height()==0)u.height(o.startheight);if(o.startwidth==t||o.startwidth==0)o.startwidth=u.width();if(o.startheight==t||o.startheight==0)o.startheight=u.height();o.width=u.width();o.height=u.height();o.bw=o.startwidth/u.width();o.bh=o.startheight/u.height();if(o.width!=o.startwidth){o.height=Math.round(o.startheight*(o.width/o.startwidth));u.height(o.height)}if(o.shadow!=0){u.parent().append('
');var f=0;if(o.forceFullWidth=="on")f=0-o.container.parent().offset().left;u.parent().find(".tp-bannershadow").css({width:o.width,left:f})}u.find("ul").css({display:"none"});var P=u;u.find("ul").css({display:"block"});y(u,o);if(o.parallax!="off")O(u,o);if(o.slideamount>1)c(u,o);if(o.slideamount>1)a(u,o);if(o.slideamount>1)h(u,o);if(o.keyboardNavigation=="on")p(u,o);d(u,o);if(o.hideThumbs>0)v(u,o);C(u,o);if(o.slideamount>1)nt(u,o);setTimeout(function(){u.trigger("revolution.slide.onloaded")},500);e("body").data("rs-fullScreenMode",false);e(window).on("mozfullscreenchange webkitfullscreenchange fullscreenchange",function(){e("body").data("rs-fullScreenMode",!e("body").data("rs-fullScreenMode"));if(e("body").data("rs-fullScreenMode")){setTimeout(function(){e(window).trigger("resize")},200)}});e(window).resize(function(){if(e("body").find(u)!=0)if(o.forceFullWidth=="on"){var t=o.container.closest(".forcefullwidth_wrapper_tp_banner").offset().left;o.container.parent().css({left:0-t+"px",width:e(window).width()})}if(u.outerWidth(true)!=o.width||u.is(":hidden")){r(u,o)}});try{if(o.hideThumbsUnderResoluition!=0&&o.navigationType=="thumb"){if(o.hideThumbsUnderResoluition>e(window).width())e(".tp-bullets").css({display:"none"});else e(".tp-bullets").css({display:"block"})}}catch(g){}u.find(".tp-scrollbelowslider").on("click",function(){var t=0;try{t=e("body").find(o.fullScreenOffsetContainer).height()}catch(n){}try{t=t-e(this).data("scrolloffset")}catch(n){}e("body,html").animate({scrollTop:u.offset().top+u.find(">ul >li").height()-t+"px"},{duration:400})});var H=u.parent();if(e(window).width()ul >li").height()-t+"px"},{duration:400})})},revredraw:function(t){return this.each(function(){var t=e(this);var n=t.parent().find(".tp-bannertimer");var i=n.data("opt");r(t,i)})},revpause:function(t){return this.each(function(){var t=e(this);t.data("conthover",1);t.data("conthover-changed",1);t.trigger("revolution.slide.onpause");var n=t.parent().find(".tp-bannertimer");var r=n.data("opt");r.bannertimeronpause=true;t.trigger("stoptimer")})},revresume:function(t){return this.each(function(){var t=e(this);t.data("conthover",0);t.data("conthover-changed",1);t.trigger("revolution.slide.onresume");var n=t.parent().find(".tp-bannertimer");var r=n.data("opt");r.bannertimeronpause=false;t.trigger("starttimer")})},revnext:function(t){return this.each(function(){var t=e(this);t.parent().find(".tp-rightarrow").click()})},revprev:function(t){return this.each(function(){var t=e(this);t.parent().find(".tp-leftarrow").click()})},revmaxslide:function(t){return e(this).find(">ul:first-child >li").length},revcurrentslide:function(t){var n=e(this);var r=n.parent().find(".tp-bannertimer");var i=r.data("opt");return i.act},revlastslide:function(t){var n=e(this);var r=n.parent().find(".tp-bannertimer");var i=r.data("opt");return i.lastslide},revshowslide:function(t){return this.each(function(){var n=e(this);n.data("showus",t);n.parent().find(".tp-rightarrow").click()})}});var N=function(n,r,i){x(n,0);var s=setInterval(function(){i.bannertimeronpause=true;i.container.trigger("stoptimer");i.cd=0;var o=0;n.find("img, .defaultimg").each(function(t){if(e(this).data("lazydone")!=1){o++}});if(o>0)x(n,o);else{clearInterval(s);if(r!=t)r()}},100)};})(jQuery);(function(e){"use strict";var t=e.GreenSockGlobals||e,n=function(e){var n,r=e.split("."),i=t;for(n=0;r.length>n;n++)i[r[n]]=i=i[r[n]]||{};return i},r=n("com.greensock.utils"),i=function(e){var t=e.nodeType,n="";if(1===t||9===t||11===t){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===t||4===t)return e.nodeValue;return n},s=document,o=s.defaultView?s.defaultView.getComputedStyle:function(){},u=/([A-Z])/g,a=function(e,t,n,r){var i;return(n=n||o(e,null))?(e=n.getPropertyValue(t.replace(u,"-$1").toLowerCase()),i=e||n.length?e:n[t]):e.currentStyle&&(n=e.currentStyle,i=n[t]),r?i:parseInt(i,10)||0},f=function(e){return e.length&&e[0]&&(e[0].nodeType&&e[0].style&&!e.nodeType||e[0].length&&e[0][0])?!0:!1},l=function(e){var t,n,r,i=[],s=e.length;for(t=0;s>t;t++)if(n=e[t],f(n))for(r=n.length,r=0;n.length>r;r++)i.push(n[r]);else i.push(n);return i},c=")eefec303079ad17405c",h=/(?:
||
)/gi,p=s.all&&!s.addEventListener,d="
":">")}},m=r.SplitText=t.SplitText=function(e,t){if("string"==typeof e&&(e=m.selector(e)),!e)throw"cannot split a null element.";this.elements=f(e)?l(e):[e],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=t||{},this.split(t)},g=function(e,t,n,r,u){h.test(e.innerHTML)&&(e.innerHTML=e.innerHTML.replace(h,c));var f,l,p,d,m,g,y,b,w,E,S,x,T,N=i(e),C=t.type||t.split||"chars,words,lines",k=-1!==C.indexOf("lines")?[]:null,L=-1!==C.indexOf("words"),A=-1!==C.indexOf("chars"),O="absolute"===t.position||t.absolute===!0,M=O?"­ ":" ",_=-999,D=o(e),P=a(e,"paddingLeft",D),H=a(e,"borderBottomWidth",D)+a(e,"borderTopWidth",D),B=a(e,"borderLeftWidth",D)+a(e,"borderRightWidth",D),j=a(e,"paddingTop",D)+a(e,"paddingBottom",D),F=a(e,"paddingLeft",D)+a(e,"paddingRight",D),I=a(e,"textAlign",D,!0),q=e.clientHeight,R=e.clientWidth,U=N.length,z="
",W=v(t.wordsClass),X=v(t.charsClass),V=-1!==(t.linesClass||"").indexOf("++"),$=t.linesClass;for(V&&($=$.split("++").join("")),p=W(),d=0;U>d;d++)g=N.charAt(d),")"===g&&N.substr(d,20)===c?(p+=z+"
",d!==U-1&&(p+=" "+W()),d+=19):" "===g&&" "!==N.charAt(d-1)&&d!==U-1?(p+=z,d!==U-1&&(p+=M+W())):p+=A&&" "!==g?X()+g+"
":g;for(e.innerHTML=p+z,m=e.getElementsByTagName("*"),U=m.length,y=[],d=0;U>d;d++)y[d]=m[d];if(k||O)for(d=0;U>d;d++)b=y[d],l=b.parentNode===e,(l||O||A&&!L)&&(w=b.offsetTop,k&&l&&w!==_&&"BR"!==b.nodeName&&(f=[],k.push(f),_=w),O&&(b._x=b.offsetLeft,b._y=w,b._w=b.offsetWidth,b._h=b.offsetHeight),k&&(L!==l&&A||(f.push(b),b._x-=P),l&&d&&(y[d-1]._wordEnd=!0)));for(d=0;U>d;d++)b=y[d],l=b.parentNode===e,"BR"!==b.nodeName?(O&&(S=b.style,L||l||(b._x+=b.parentNode._x,b._y+=b.parentNode._y),S.left=b._x+"px",S.top=b._y+"px",S.position="absolute",S.display="block",S.width=b._w+1+"px",S.height=b._h+"px"),L?l?r.push(b):A&&n.push(b):l?(e.removeChild(b),y.splice(d--,1),U--):!l&&A&&(w=!k&&!O&&b.nextSibling,e.appendChild(b),w||e.appendChild(s.createTextNode(" ")),n.push(b))):k||O?(e.removeChild(b),y.splice(d--,1),U--):L||e.appendChild(b);if(k){for(O&&(E=s.createElement("div"),e.appendChild(E),x=E.offsetWidth+"px",w=E.offsetParent===e?0:e.offsetLeft,e.removeChild(E)),S=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(T=!O||!L&&!A,d=0;k.length>d;d++){for(f=k[d],E=s.createElement("div"),E.style.cssText="display:block;text-align:"+I+";position:"+(O?"absolute;":"relative;"),$&&(E.className=$+(V?d+1:"")),u.push(E),U=f.length,m=0;U>m;m++)"BR"!==f[m].nodeName&&(b=f[m],E.appendChild(b),T&&(b._wordEnd||L)&&E.appendChild(s.createTextNode(" ")),O&&(0===m&&(E.style.top=b._y+"px",E.style.left=P+w+"px"),b.style.top="0px",w&&(b.style.left=b._x-w+"px")));L||A||(E.innerHTML=i(E).split(String.fromCharCode(160)).join(" ")),O&&(E.style.width=x,E.style.height=b._h+"px"),e.appendChild(E)}e.style.cssText=S}O&&(q>e.clientHeight&&(e.style.height=q-j+"px",q>e.clientHeight&&(e.style.height=q+H+"px")),R>e.clientWidth&&(e.style.width=R-F+"px",R>e.clientWidth&&(e.style.width=R+B+"px")))},y=m.prototype;y.split=function(e){this.isSplit&&this.revert(),this.vars=e||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var t=0;this.elements.length>t;t++)this._originals[t]=this.elements[t].innerHTML,g(this.elements[t],this.vars,this.chars,this.words,this.lines);return this.isSplit=!0,this},y.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var e=this._originals.length;--e>-1;)this.elements[e].innerHTML=this._originals[e];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},m.selector=e.$||e.jQuery||function(t){return e.$?(m.selector=e.$,e.$(t)):s?s.getElementById("#"===t.charAt(0)?t.substr(1):t):t}})(window||{}) \ No newline at end of file