Monday, October 17, 2016

olfusp

var chart = document.getElementById("atnbg201610171324chart").innerHTML var preview = "" var code = "" addolfus(symbol,preview,code) addlinkset(symbol,preview,code) addchart(chart,width,preview,code) function addchart(chart,width,preview,code) { preview = preview + chart("<",">",chart,width) code = code + chart("<",">",chart,width) function chart(ob,cb,url,width) { var lb = ob + 'a href="' + url + '" imageanchor="1" ' + cb var ib = ob + 'img border="0" src="' + url + '" style="width:' + width + 'px" /' + cb + ob + "/a" + cb return lb + ib} } function addlinkset(symbol,preview,code) { var mb = "http://www.marketwatch.com/investing/stock/" var yb = "http://finance.yahoo.com/quote/" var fb = "http://elite.finviz.com/quote.ashx?t=" var bases = [fb,yb,mb] var labels = ["f","y","m"] function link(symbol,base,label,lt,gt) { var link = lt + 'a href="' + base + symbol + '" style="font-size:2em;color:burlywood"' link = link + ' target="_blank"' + gt link = link + label + lt + '/a' + gt; return link} preveiw = pereview + link(symbol,fb,"f","<",">") + " " + " " + " " preveiw = pereview + link(symbol,yb,"y","<",">") + " " + " " + " " preveiw = pereview + link(symbol,mb,"m","<",">") + " " + " " + " " code = code + link(symbol,fb,"f","<",">") + "& " + "& " + "& " code = code + link(symbol,yb,"y","<",">") + "& " + "& " + "& " code = code + link(symbol,mb,"m","<",">") + "& " + "& " + "& " }

No comments:

Post a Comment