アニメーションの読み込み


<meta charset="utf-8"/>

<div id="loadin"> ...</div>

<script type="text/javascript">

  
検証中ですので、少々お待ちください…
  
// <![CDATA[

function easy_loading(id) 

{

    //var symbol = ['-', '\\', '|', '/'], 

    var symbol = ['·', '··', '···', '····'], 

        elem = document.getElementById(id),

        i = 0;

    (function __func() {

        elem.innerHTML = ' '+symbol[i++ % 4];

        setTimeout(__func, 200);

    })();

}

easy_loading('loadin');

// ]]>



</script>