home *** CD-ROM | disk | FTP | other *** search
/ developer.apple.com / developer.apple.com.tar / developer.apple.com / safaridemos / photo-transitions.php.orig < prev    next >
Text File  |  2010-08-17  |  14KB  |  284 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html lang="en-us">
  3. <head>
  4.     <title>Photo Transitions - Safari Technology Demos - Safari Dev Center - Apple Developer</title>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" l gen true for "http://www.apple.com" r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.apple.com" r (n 0 s 0 v 0 l 0))'>
  7. <meta name="Author" content="Apple Inc.">
  8.  
  9. <meta name="viewport" content="width=1024">
  10. <link rel="stylesheet" href="http://devimages.apple.com/assets/styles/base.css" type="text/css" charset="utf-8">
  11. <link rel="stylesheet" href="http://devimages.apple.com/assets/styles/adc.css" type="text/css" charset="utf-8">
  12.  
  13. <script src="http://devimages.apple.com/assets/scripts/lib/prototype.js" type="text/javascript" charset="utf-8"></script>
  14. <script src="http://devimages.apple.com/assets/scripts/lib/scriptaculous.js" type="text/javascript" charset="utf-8"></script>
  15. <script src="http://devimages.apple.com/assets/scripts/browserdetect.js" type="text/javascript" charset="utf-8"></script>
  16. <script src="http://devimages.apple.com/assets/scripts/apple_core.js" type="text/javascript" charset="utf-8"></script>
  17. <script src="http://devimages.apple.com/assets/scripts/search_decorator.js" type="text/javascript" charset="utf-8"></script>
  18. <script src="http://devimages.apple.com/assets/scripts/adc_core.js" type="text/javascript" charset="utf-8"></script>
  19. <script type="text/javascript" charset="utf-8">
  20.     document.write('<link rel="stylesheet" type="text/css" href="http://devimages.apple.com/assets/styles/script.css" media="screen">');
  21. </script>    
  22.     <link rel="stylesheet" href="/assets/styles/devcenter.css" type="text/css" charset="utf-8">
  23.     <script type="text/javascript" src="/safaridemos/scripts/demos_browsercheck.js"></script>
  24.     <link rel="stylesheet" href="/safaridemos/styles/demos.css" type="text/css" charset="utf-8" />
  25.     
  26.     <script type="text/javascript" src="/safaridemos/scripts/demos_browsercheck.js"></script>
  27.     <script type="text/JavaScript">
  28.         Event.onDOMReady(function() {
  29.             new viewDemo($$('.popup-link'));
  30.         });
  31.     </script>
  32.     <!--[if IE]>
  33.         <script>
  34.             document.createElement("audio");
  35.             document.createElement("header");
  36.             document.createElement("footer");
  37.             document.createElement("nav");
  38.             document.createElement("article");
  39.             document.createElement("section");
  40.         </script>
  41.     <![endif]-->
  42.     
  43. </head>
  44. <body id="demos" class="detail devcenter safari">
  45.     <div id="globalheader">
  46.     <h1><a href="/">Apple Developer</a></h1>
  47.     <ul id="gh-nav">
  48.         <li id="gh-nav-technologies"><a href="/technologies/">Technologies</a></li>
  49.         <li id="gh-nav-resources"><a href="/resources/">Resources</a></li>
  50.         <li id="gh-nav-programs"><a href="/programs/">Programs</a></li>
  51.         <li id="gh-nav-support"><a href="/support/">Support</a></li>
  52.         <li id="gh-nav-membercenter"><a href="/membercenter/">Member Center</a></li>
  53.     </ul>
  54.  
  55.     <div id="gh-search">
  56.         <form action="/cgi-bin/simpsearch.pl" method="post" accept-charset="utf-8"><div>
  57.             <label for="gh-adcsearch">Search Developer
  58.                 <input type="text" name="Search" id="gh-adcsearch" class="adcsearch prettysearch">
  59.             </label>
  60.         </div></form>
  61.     </div>
  62.     <script type="text/javascript" charset="utf-8">
  63.         Event.onDOMReady(function() {
  64.             // Get root path for Global Header Active class
  65.             ghLocation = location.pathname.split('/')[1];
  66.             // Make sure it doesn't try to add a file extension to the css class
  67.             if(ghLocation.include('.')) ghLocation = ghLocation.split('.')[0];
  68.             // Add Global Header Active State Class
  69.             $$('body')[0].addClassName('gh-nav-'+location.pathname.split('/')[1]+'-active');
  70.         });
  71.     </script>
  72. </div>
  73.     <!-- SiteCatalyst code version: H.8. Copyright 1997-2006 Omniture, Inc. -->
  74. <script language="JavaScript"><!--
  75. /* RSID: */
  76. var s_account="appleglobal,appleusdeveloper"
  77. //--></script>
  78.  
  79. <script language="JavaScript" type="text/javascript" src="http://images.apple.com/global/metrics/js/s_code_h.js"></script>
  80.  
  81. <script language="JavaScript"><!--
  82. s.pageName=document.title+" (US)";
  83. s.server=""
  84. s.channel="www.us.developer"
  85. s.pageType=""
  86. s.prop1=""
  87. s.prop2=""
  88. s.prop3=""
  89. s.prop4=document.location;
  90.  
  91. /* E-commerce Variables */
  92. s.campaign=""
  93. s.state=""
  94. s.zip=""
  95. s.events=""
  96. s.products=""
  97. s.purchaseID=""
  98. s.eVar1=""
  99. s.eVar2=""
  100. s.eVar3=""
  101. s.eVar4=""
  102. s.eVar5=""
  103.  
  104. /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
  105. var s_code=s.t();if(s_code)document.write(s_code)//--></script>
  106. <!-- End SiteCatalyst code version: H.8. -->
  107.  
  108.     <div id="header">
  109.     <h2><a href="/safari/">Safari Dev Center</a></h2>
  110.     <ul class="devcenterMenu">
  111.         <li class="iphone_devcenter"><a href="/iphone/">iPhone Dev Center</a></li>
  112.         <li class="mac_devcenter"><a href="/mac/">Mac Dev Center</a></li>
  113.         <li class="safari_devcenter active"><a href="/safari/">Safari Dev Center</a></li>
  114.     </ul>
  115. </div><!--/header-->    <div id="main">
  116.         <div class="maincap top"></div>
  117.     <div id="content">
  118.  
  119.         <h1><img src="http://devimages.apple.com/safaridemos/images/safari_technology_demo_title.png" alt="Safari Technology Demos" width="547" height="33" /></h1>
  120.         <a href="/safaridemos/" class="right more backtooverview">Back to Overview</a>    
  121.             <div class="grid2col">
  122.                 <div class="column first">
  123.                     <img src="http://devimages.apple.com/safaridemos/images/html5showcase_transitions.png" alt="Photo Slideshow" width="430" height="320" class="left" />
  124.                     <div class="grid2colb bestviewed">
  125.                         <div class="column first">
  126.                             <h6>Best Viewed: <span class="lightgrey">Safari on iOS, Mac OS X, Windows</span></h6>
  127.                         </div>
  128.                         <div class="column last">
  129.                             <p class="button-spacing right"><a class="button liteblue popup-link" href="/safaridemos/showcase/transitions/"><span>View Demo</span></a></p>
  130.                         </div>
  131.                     </div>
  132.                 </div>
  133.                 <div class="column last">
  134.                     <h2>Photo Transitions</h2>
  135.                     <p>You can transition between images — or any web page elements — using CSS3 2D and 3D transforms together with transitions and animations. CSS3 transforms allow you to easily position web page elements in new and interesting ways, while CSS3 transitions and animations let you define the appearance of an animation with just a few lines of code. CSS3 animations can also leverage hardware acceleration, so your effects will be smooth and fluid on iPad and iPhone — especially when compared to animations created with older, conventional JavaScript animation techniques. </p>
  136.                     <p class="aboveList">In this example:</p>
  137.                     <ul class="square">
  138.                         <li>Photos are animated by combining CSS3 2D and 3D transforms with transitions and animations.</li>
  139.                         <li>JavaScript initiates each animation.</li>
  140.                     </ul>
  141.                                         
  142.                     <h3>Related Resources</h3>
  143.                         <ul class="icons">
  144.                     <li class="book"><a href="/safari/library/documentation/AppleApplications/Reference/SafariCSSRef/">Safari CSS Reference</a></li>
  145.                     <li class="book"><a href="/safari/library/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Introduction/Introduction.html">Safari Visual Effects Guide</a></li>
  146.                     <li class="code"><a href="/safari/library/samplecode/CSS_Transforms_Transitions_and_Web_Fonts/">PhotoToss</a></li>
  147.                 <li class="code"><a href="/safari/library/samplecode/CardFlip/">CardFlip</a></li>
  148.                 <li class="code"><a href="/safari/library/samplecode/PosterCircle/index.html">PosterCircle</a></li>
  149.                         </ul>
  150.                 </div>
  151.                 <div class="warning_container scaling_pane _transformOrigin" id="warning_container" style="display: none;">
  152.         <section class="warning_content">
  153.             <header>
  154.                 <h1>You‚Äôll need to download Safari to view this demo.</h1>
  155.             </header>
  156.             <p>This demo was designed with the latest web standards supported by Safari. If you‚Äôd like to experience this demo, simply download Safari. It‚Äôs free for Mac and PC, and it only takes a few minutes.</p>
  157.             <div class="grid2col">
  158.                 <p>
  159.                     <a href="http://www.apple.com/safari/download/" class="" id="warning_safari">
  160.                         <b>Safari</b>
  161.                         For Mac + PC
  162.                         <span class="more">Download Safari</span>
  163.                     </a>
  164.                 </p>
  165.             </div>
  166.             <a href="#close" class="warning_close" id="warning_close">Close</a>
  167.         </section>
  168. </div>                
  169.             </div>
  170.             <div id="pagenav">
  171.                 <div class="column first previous">
  172.                       <a class="arrow" href="/safaridemos/gallery.php">Web Gallery</a>
  173.                 </div>
  174.                 <div class="column last next">
  175.                     <a class="arrow" href="/safaridemos/audio.php">Audio</a>
  176.                 </div>
  177.             </div>
  178.             </div><!-- /content -->
  179.  
  180.             <div class="maincap bottom"></div>
  181.         </div><!-- /main -->
  182.     
  183. <div id="promofooter4" class="chrome">
  184.     <ul>
  185.         <li class="promo"><h3>Develop Safari Extensions</h3>
  186. <p><a href="/programs/safari/">The Safari Developer Program includes all the resources you need to create and sign Safari extensions.</a></p>
  187. <a href="/programs/safari/" class="image"><img width="244" height="180" alt="" src="http://devimages.apple.com/assets/promos/four/safari-extensions/image.png"/></a></li>
  188.         <li class="promo"><h3>Preparing Your Web Content for iPad</h3>
  189. <p><a href="http://developer.apple.com/safari/library/technotes/tn2010/tn2262.html">Learn how to make your website look and work great on iPad.</a></p>
  190. <a href="http://developer.apple.com/safari/library/technotes/tn2010/tn2262.html" class="image"><img width="244" height="180" alt="" src="http://devimages.apple.com/assets/promos/four/ipad-web/image.png"/></a>
  191. </li>
  192.         <li class="promo"><h3>Safari Developer Tools</h3>
  193. <p><a href="/technologies/safari/developer-tools.html">Tools to optimize a website for peak performance and compatibility.</a></p>
  194. <a href="/technologies/safari/developer-tools.html" class="image"><img width="244" height="180" alt="" src="http://devimages.apple.com/assets/promos/four/safari-dev-tools/image.png"/></a>
  195. </li>
  196.         <li class="promo"><h3>WebKit</h3>
  197. <p class="cheat"><a href="http://webkit.org/">Developed by Apple, WebKit is the most advanced browser engine, drawing the web pages you see in Safari.</a></p>
  198. <a href="http://webkit.org/" class="image"><img width="244" height="180" alt="" src="http://devimages.apple.com/assets/promos/four/webkit-program/image.png"/></a>
  199. </li>
  200.     </ul>
  201. </div><!--/promos/footer--><div id="globalfooter">
  202.     <div id="breadory">
  203.         <ol id="breadcrumbs">
  204.             <li class="home"><a href="/">Developer</a></li>
  205.             <li><a href="/safari/">Safari Dev Center</a></li>
  206.             <li><a href="/safaridemos/">Safari Technology Demos</a></li>
  207.             <li>Photo Transitions</li>
  208.         </ol>
  209.             <div id="directorynav" class="ipoditunes">
  210.         <div id="dn-cola" class="column first">
  211.             <h3><a href="/technologies/">Technologies</a></h3>
  212.             <ul>
  213.                 <li><a href="/technologies/tools/">Developer Tools</a></li>
  214.                 <li><a href="/technologies/iphone/">iOS</a></li>
  215.                 <li><a href="/technologies/mac/">Mac OS X</a></li>
  216.                 <li><a href="/technologies/safari/">Safari</a></li>
  217.             </ul>
  218.         </div><!--/dn-cola-->
  219.         <div id="dn-colb" class="column">
  220.             <h3><a href="/resources/">Resources</a></h3>
  221.             <ul>
  222.                 <li><a href="/iphone/">iPhone Dev Center</a></li>
  223.                 <li><a href="/mac/">Mac Dev Center</a></li>
  224.                 <li><a href="/safari/">Safari Dev Center</a></li>
  225.                 <li><a href="/appleapplications/">Apple Applications</a></li>
  226.                 <li><a href="/hardwaredrivers/">Hardware & Drivers</a></li>
  227.                 <li><a href="/programs/mfi/cases.html">iPod, iPhone & iPad Cases</a></li>
  228.             </ul>
  229.         </div><!--/dn-colb-->
  230.         <div id="dn-colc" class="column">
  231.             <h3></h3>
  232.             <ul>
  233.                 <li> </li>
  234.                 <li><a href="/videos/">Development Videos</a></li>    
  235.                 <li><a href="/devforums/">Developer Forums</a></li>                
  236.                 <li><a href="/iphone/appstore/">App Store Resource Center</a></li>            
  237.                 <li><a href="/iphone/news/">iOS Developer News</a></li>
  238.                 <li><a href="/softwarelicensing/">Licensing & Trademarks</a></li>                
  239.             </ul>
  240.         </div><!--/dn-colc-->
  241.         <div id="dn-cold" class="column">
  242.             <h3><a href="/programs/">Programs</a></h3>
  243.             <ul>
  244.                 <li><a href="/programs/iphone/">iPhone Developer Program</a></li>
  245.                 <li><a href="/programs/iphone/enterprise/">iPhone Enterprise Program</a></li>
  246.                 <li><a href="/programs/iphone/university/">iPhone University Program</a></li>
  247.                 <li><a href="/programs/mac/">Mac Developer Program</a></li>
  248.                 <li><a href="/programs/safari/">Safari Developer Program</a></li>                
  249.                 <li><a href="/programs/mfi/">MFi Program</a></li>
  250.                 <li><a href="/programs/register/">Register as an Apple Developer</a></li>
  251.             </ul>
  252.         </div><!--/dn-cold-->
  253.         <div id="dn-cole" class="column last">
  254.             <h3><a href="/support/">Support</a></h3>
  255.             <ul>
  256.                 <li><a href="/support/iphone/">iPhone Developer Program</a></li>
  257.                 <li><a href="/support/mac/">Mac Developer Program</a></li>
  258.                 <li><a href="/support/mac/">Safari Developer Program</a></li>                
  259.                 <li><a href="/support/adc/">ADC Members</a></li>
  260.                 <li><a href="/bugreporter/">Bug Reporting</a></li>
  261.                 <li><a href="/support/resources/itunes-connect.html">iTunes Connect Support</a></li>
  262.                 <li><a href="/support/resources/technical-support.html">Technical Support</a></li>
  263.             </ul>
  264.         </div><!--/dn-cole-->
  265.         <div class="capbottom"></div>
  266.     </div><!--/directorynav-->
  267.     </div><!--/breadory-->
  268.     <p class="gf-buy">Shop the <a href="http://www.apple.com/store/">Apple Online Store</a> (1-800-MY-APPLE), visit an <a href="http://www.apple.com/retail/">Apple Retail Store</a>, or find a <a href="http://www.apple.com/buy/locator/">reseller</a>.</p>
  269. <ul class="gf-links piped">
  270.     <li><a href="http://lists.apple.com/mailman/listinfo" class="first">Mailing Lists</a></li>
  271.     <li><a href="/rss/">RSS Feeds</a></li>
  272. </ul>
  273. <div class="gf-sosumi">
  274.     <p>Copyright ¬© 2010 Apple Inc. All rights reserved.</p>
  275.     <ul class="piped">
  276.         <li><a href="http://www.apple.com/legal/terms/site.html" class="first">Terms of Use</a></li>
  277.         <li><a href="http://www.apple.com/legal/privacy/">Privacy Policy</a></li>
  278.     </ul>
  279. </div></div><!--/globalfooter-->
  280.  
  281.  
  282. </body>
  283. </html>
  284.