aqui esta el codigo, a ver que me pueden decir.
Código:
Espero me puedan ayudar gracias :) if(Modernizr.canvas) { var wrapper = document.getElementById('wrapper'), loading = document.createElement('div'); loading.className = 'loading'; loading.setAttribute('id','loading'); loading.innerHTML = 'Loading...'; wrapper.appendChild(loading); google.load('webfont','1'); google.setOnLoadCallback(function() { WebFont.load({ google: { families: ['Cookie'] }, active: function(fontFamily, fontDescription) { setTimeout(function() { loading.style.display = 'none'; var banner = new Banner(); banner.initialize('canvas-banner'); document.getElementById('font').style.display = 'block'; }, 1000); }, inactive: function() { loading.style.display = 'none'; var banner = new Banner(); banner.initialize('canvas-banner'); } }); }); }