Category: HTML
iOS7 Safari Html5 Audio Tag bugs
I just find bugs on iPhone5 upgraded with iOS7Combination of [audio.play + new Audio] is unstable. //This is sample source. var audio1=new Audio(“[url of sound’s file]”);………// button’s touchstart event function/******************** case1 – play sounds well********************/function playButton(){ audio1.play();} /******************** case2 – can’t play sounds********************/function playButton(){ audio1.play(); var audio2 = new Audio(“[url of […]
Twitter Button – Resize with javascript
<div id=”sns_twitter”><a href=”https://twitter.com/share” class=”twitter-share-button” data-url=”[your site address]” data-text=”[your site description]” data-hashtags=”[your site title]”>Tweet</a><script type=”text/javascript”> ! function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? ‘http’ : ‘https’; if (!d.getElementById(id)) { js = […]
Basics of web page
These maybe help you that create standard web pages. en – 30 HTML Best Practices for Beginnershttp://net.tutsplus.com/tutorials/html-css-techniques/30-html-best-practices-for-beginners/ en – 20 HTML Best Practices You Should Followhttp://sixrevisions.com/web-standards/20-html-best-practices-you-should-follow/ en – A Detailed Look at the 960 CSS Frameworkhttp://net.tutsplus.com/articles/news/a-detailed-look-at-the-960-css-framework/ Check your target browser if you want using html5 full functions. ja – HTML5 browser spec checking toolhttp://spec.nttdocomo.co.jp/spbss/index.html