Skip to content

Instantly share code, notes, and snippets.

@PuercoPop
Forked from anonymous/gist:3830678
Created October 4, 2012 00:27
Show Gist options
  • Save PuercoPop/3830771 to your computer and use it in GitHub Desktop.
Save PuercoPop/3830771 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<script type="text/javascript" src="tpl.js"></script>
<script type="text/javascript">
function onLoadFunc ()
{
document.getElementById('pixel').innerHTML = mydata1;
}
</script>
<body onload="onLoadFunc()">
<div id="pixel">
</div>
</body>
</html>
//context of TrackingPixelList.txt
var mydata1 = "hello ";
var mydata2 = "fox jumps over ";
var 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