What Would You Do? With John Quinones
"
newsbulletin.nbFooter = ""
//append widget header
$("#newsbulletin > .midcontainer").append("");
$("#newsbulletin >
.midcontainer").append(newsbulletin.nbContainer);
$("#newsbulletin >...
More
What Would You Do? With John Quinones
"
newsbulletin.nbFooter = ""
//append widget header
$("#newsbulletin > .midcontainer").append("");
$("#newsbulletin >
.midcontainer").append(newsbulletin.nbContainer);
$("#newsbulletin >
.midcontainer").append(newsbulletin.nbFooter);
newsbulletin.nbDiv = document.getElementById('nbItemContainer');
nbjsId = 0;
newsbulletin.load = function()
//alert(newsbulletin.baseloc+'/xmldata/newsbulletin?id=15290627&twOverride=&lpos='+newsbulle
tin.lpos+'§ion=&'+nbjsId)
//to try to handle caching throughout webkit browsers
dynamicJS.load('newsBulletin'+nbjsId,
newsbulletin.baseloc+'/xmldata/newsbulletin?id=15290627&twOverride=&lpos='+newsbulletin.lpo
s2+'§ion=&'+nbjsId);
//dynamicJS.load('newsBulletin','http://newspreview.corp.dig.com/xmldata/newsbulletin?id=1356450
5');
//display items
newsbulletin.displayItems = function(nbItemObj)
//check if status update
this.isStatusUpdate = (nbItemObj.label == 'Status Update')?true:false;
//item kind class
this.ite
Less