Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Use HTML 5 for performance improvements

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for 元彦 元彦
October 19, 2012

Use HTML 5 for performance improvements

Avatar for 元彦

元彦

October 19, 2012
Tweet

Other Decks in Technology

Transcript

  1. 更简洁的标签方式 http://www.google.com/intl/en/policies/privacy/ <p>Tencent</p> <ul> <li>QQ</li> <li>Q+</li> <li>weixin</li> </ul> <label for=“test”>test</label>

    <input id=“test” value=“yes”> <p>Tencent <ul> <li>QQ <li>Q+ <li>weixin </ul> <label for=test>test</label> <input id=test value=yes>
  2. 抛弃图片,拥抱 CSS3 1. border-radius: 20px; 2. box-shadow: inset 0 0

    15px #900; 3. background-image: -webkit- gradient(linear,left top,left bottom,color- stop(0, rgb(202, 0, 0)),color-stop(1, rgb(151, 0, 0))); 4. @font-face:{font-family: Icons; src: url(icons.ttf);}
  3. 2012/10/20 var openInBackgroundTabFlag = 0x1000; // Create a new IE

    automation object var objIE = new ActiveXObject("InternetExplorer.Application"); // Navigate to a URL for the main tab objIE.Navigate2("http://www.bing.com"); // Load other tabs in the background objIE.Navigate2("http://www.yahoo.com", openInBackgroundTabFlag); objIE.Navigate2("http://www.google.com", openInBackgroundTabFlag); // Show the browser window objIE.Visible = true; IE