Ciao a tutti,
sto provando a includere questo script in una mia pagina,
codice:
<!doctype html>
<html>
<head>
<title>tap tap Sfx</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
</head>
<body>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3498836-3']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})();
</script>
Click this bookmarklet to enable:
<a href="javascript:void((function(){if (document.querySelector('script[src*=\'taptapSfx.js\']')) return; var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('src','http://bit.ly/duYv88?path=http://42at.com/lab/taptapSfx/taptapSfx.js');(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(e)})())">
taptapSfx</a>
<h2>typing sandbox</h2>
<input type="text" id="textField" />a
<textarea id="textArea" rows="4" cols="45"></textarea>
</body>
</html>
io vorrei mantenere una copia locale dello script in modo da poterlo modificare a mio piacimento, invece nell'esempio che ho riporato sopra il file js viene scaricato dal sito.
ho provato a mettere un collegamento del tipo:
codice:
<script type="text/javascript" src="../SItoDw 1/taptapSfx.js"></script>
ma non besta per farlo funzionare, qualcuno potrebbe darmi una mano?
Grazie mille
Buona giornata
Alberto