Skip to content

Instantly share code, notes, and snippets.

Created October 4, 2012 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/3830678 to your computer and use it in GitHub Desktop.
Save anonymous/3830678 to your computer and use it in GitHub Desktop.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<script type = "text/javascript" src="Tracking Pixel List.txt">
var onLoadfunc = function(){
document.getElementById('pixel').innerHTML = 'mydata1'
}
</script>
<body>
<div id="pixel">
</div>
</body>
<script type = "text/javascript" >
onLoadfunc();
</script>
</html>
//context of TrackingPixelList.txt
mydata1 = "hello ";
mydata2 = "fox jumps over ";
mydata3 = "the lazy dog";
// end of text file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment