I'm linking to a cell in a google doc file and would like to display that info in the center of the top menu (top 40px).
I'd like this to be centered:
"Prices based on Litecoin 5-day Moving Average: (that_value)"
For (that_value) I've got this little ajax I need to add that should display cell K16 in that space.
var sourceURL = "https://docs.google.com/spreadsheet/pub?key=0AuPBngUCEhapdGdfN3BRV1hJVVQwQ3JyS3prdGNPNkE&single=true&gid=0&range=K16&output=csv";
var targetElement = "#5DayAvg"; <div id="5DayAvg">Calculating</div>
$.get(sourceURL,
function(data) {
console.log("data is: "+data);
$(targetElement).text(data);
}
Can I do this? If not, can I do it in the footer?
I'd like it to be visible on all pages.
Here is the site I'm using this for: https://litebit.co
Cheers,
Paul














