cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
                
<!DOCTYPE html>
<!--[if lt IE 7]>  <html class="ie ie6 lte9 lte8 lte7"> <![endif]-->
<!--[if IE 7]>     <html class="ie ie7 lte9 lte8 lte7"> <![endif]-->
<!--[if IE 8]>     <html class="ie ie8 lte9 lte8"> <![endif]-->
<!--[if IE 9]>     <html class="ie ie9 lte9"> <![endif]-->
<!--[if gt IE 9]>  <html> <![endif]-->
<!--[if !IE]><!--> <html> <!--<![endif]-->

<head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
  <title>polyClip.js and pointer-events Demo #1 - Walt Disney TV Slideshow | User Agent Man</title>
  <meta charset="utf-8" />

  <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame 
       Remove this if you use the .htaccess -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta http-equiv="imagetoolbar" content="no" />
  
  
  <meta name="description" content="" />
  <meta name="author" content="Zoltan Hawryluk" />
   	
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />



  <link rel="stylesheet" href="http://www.useragentman.com/shared/css/useragentmanExample.css" />

  
  <!--[if lt IE 9 ]>
   <script src="http://www.useragentman.com/tests/pointerEvents/js/polyClip/js/excanvas/excanvas.compiled.js"></script>
  <![endif]-->
  <script src="http://www.useragentman.com/tests/pointerEvents/js/canvg.js"></script>
  <script src="http://www.useragentman.com/tests/pointerEvents/js/polyClip/js/polyclip.js" 
  			data-polyclip-clippreference="SVG" 
  			data-polyclip-forcepointerevents="true"></script>
	<script src="http://www.useragentman.com/tests/pointerEvents/js/jquery.cycle.all.js"></script>
	<script src="http://www.useragentman.com/tests/pointerEvents/js/tv.js"></script>
  
</head>

<body>
  
  <main>
  	
  	<!-- http://www.flickr.com/photos/x-ray_delta_one/4355598762/ -->
  	<img src="http://www.useragentman.com/tests/pointerEvents/images/disney-tv.jpg" data-polyclip-width="495" data-polyclip-height="417" 
  			data-polyclip="path:M 495.00,0.00
           C 495.00,0.00 495.00,417.00 495.00,417.00
             495.00,417.00 0.00,417.00 0.00,417.00
             0.00,417.00 0.00,0.00 0.00,0.00
             0.00,0.00 495.00,0.00 495.00,0.00 Z
           M 81.18,219.39
           C 75.28,224.66 73.26,233.55 71.61,241.00
             68.81,256.26 68.66,271.70 71.61,287.00
             72.76,294.37 74.47,301.98 79.68,307.70
             85.29,313.85 91.52,314.81 99.00,316.73
             99.00,316.73 126.00,321.96 126.00,321.96
             126.00,321.96 134.00,321.96 134.00,321.96
             134.00,321.96 144.00,323.00 144.00,323.00
             156.04,323.14 168.13,322.58 180.00,320.39
             187.27,319.04 193.58,317.17 198.20,310.91
             202.27,305.40 200.54,300.30 201.28,294.00
             201.28,294.00 202.00,244.00 202.00,244.00
             201.98,234.15 201.61,228.06 192.91,221.85
             187.58,218.04 176.56,216.51 170.00,215.41
             153.07,212.57 126.99,210.70 110.00,212.28
             101.11,213.56 88.05,213.25 81.18,219.39 Z"/>
    <div class="slides">
    	<img src="http://www.useragentman.com/tests/pointerEvents/images/robot-with-kid.jpg" />
    	<img src="http://www.useragentman.com/tests/pointerEvents/images/john-and-paul.jpg" />
    	<img src="http://www.useragentman.com/tests/pointerEvents/images/kid-gun.jpg" />
    	<img src="http://www.useragentman.com/tests/pointerEvents/images/wierd.jpg" />
    	<img src="http://www.useragentman.com/tests/pointerEvents/images/please-stand-by.jpg" />
    	<img src="http://www.useragentman.com/tests/pointerEvents/images/ebs.jpg" />
    	<img src="http://www.useragentman.com/tests/pointerEvents/images/mushroom-cloud.jpg" />
    </div>
  </main>
  
  
</body>
</html>
            
          
!
            
              @import "reset.css";

main {
	position: relative;
	width: 495px;
	height: 417px;
}

#exampleBlurb {
	position: absolute;
	margin-bottom: 0;
	width: 266px !important;
	left: 495px;
	margin-top: 0;
	padding: 10px;
	font-size: 13px !important;
	min-height: 390px;
	background: none !important;
	color: black !important;
}

#exampleBlurb a {
	color: blue;
}


[data-polyclip], .slides  {
	position: absolute !important;
	top: 0px;
}

[data-polyclip] {
	z-index: 10;
	pointer-events: none;
}

.slides {
    left: 61px;
    top: 195px;
    z-index: 5;
    cursor: pointer;
    transform: skew(0, 3deg) scale(0.89, 0.84);
    -webkit-transform: skew(0, 3deg) scale(0.89, 0.84);
    -ms-transform: skew(0, 3deg) scale(0.89, 0.84);
    
    
}

.slides, .slides img {
  height: 150px;
  width: 150px;
  border: none;
  margin: 0;
  padding: 0;
}


/* Let's make the slides blur */
.slides {
	filter: blur(1px);             
	-webkit-filter: blur(1px);      
	-moz-filter: blur(1px);
	-o-filter: blur(1px); 
	-ms-filter: blur(1px); 
	
	filter: url("data:image/svg+xml;utf8,<svg version=\'1.1\' xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'blur\'><feGaussianBlur stdDeviation=\'1\' /></filter></svg>#blur"); /* browsers that don't do non-SVG filters (Firefox) */
}

/* Lose the blur on mouseover */
.slides:hover {
  filter: none;  
	-webkit-filter: none; 
	-moz-filter: none;
	-o-filter: none; 
	-ms-filter: none;
}

html.ie.lte9 .slides,
body.ie9down .slides {
	
	/* We only do transforms for IE10 up so we don't lose the blur filter */
	-ms-transform: none;
	/* Adjustment to compensate for the how Visual filter moves the slides after transform */
	left: 68px;
    top: 202px;
  
	filter: progid:DXImageTransform.Microsoft.Matrix(
	            M11=0.89,
	            M12=0,
	            M21=0.046642923561907156,
	            M22=0.84,
	            SizingMethod='auto expand')
	        progid:DXImageTransform.Microsoft.Blur(pixelradius=1);
  
  
}

html.ie.lte9 .slides:hover,
body.ie9down .slides:hover
 {
	left: 70px;
    top: 203px;
  
	filter: progid:DXImageTransform.Microsoft.Matrix(
            M11=0.89,
            M12=0,
            M21=0.046642923561907156,
            M22=0.84,
            SizingMethod='auto expand');
}



/* For blog post */
.entry img, ol li [data-polyclip] {
	float: none;
	position: static;
}

ol li {
	margin-bottom: 1.3em;
}

ol li img {
	margin: 10px 0 !important;
}


#example1 {
    height: 408px;
    overflow: hidden;
}
            
          
!
999px
Loading ..................

Console