Submit Search
Upload
Technology and Science News - ABC News
•
0 likes
•
408 views
S
spiritualvictim28
Follow
if (nbItemObj.notes) //author image //console.log('y'+lastNBObjStr);'+nbNote.noteHe...
Read less
Read more
Report
Share
Report
Share
1 of 9
Download now
Download to read offline
Recommended
Technology and Science News - ABC News
Technology and Science News - ABC News
wonderfulshuttl70
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
excitedfoyer2246
International News | World News
International News | World News
cojocarujanosko
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
matureocclusion27
Technology and Science News - ABC News
Technology and Science News - ABC News
gorgeousutopia536
Technology and Science News - ABC News
Technology and Science News - ABC News
talloration5719
Business News, Personal Finance and Money News
Business News, Personal Finance and Money News
eminentoomph4388
Technology and Science News - ABC News
Technology and Science News - ABC News
oceanicrainbow854
Recommended
Technology and Science News - ABC News
Technology and Science News - ABC News
wonderfulshuttl70
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
excitedfoyer2246
International News | World News
International News | World News
cojocarujanosko
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
matureocclusion27
Technology and Science News - ABC News
Technology and Science News - ABC News
gorgeousutopia536
Technology and Science News - ABC News
Technology and Science News - ABC News
talloration5719
Business News, Personal Finance and Money News
Business News, Personal Finance and Money News
eminentoomph4388
Technology and Science News - ABC News
Technology and Science News - ABC News
oceanicrainbow854
Technology and Science News - ABC News
Technology and Science News - ABC News
alertchair8725
Technology and Science News - ABC News
Technology and Science News - ABC News
boorishvictim1493
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
plantresidence159
Technology and Science News - ABC News
Technology and Science News - ABC News
ignorantlogic4950
Technology and Science News - ABC News
Technology and Science News - ABC News
gapingtrousers365
Technology and Science News - ABC News
Technology and Science News - ABC News
numberlesspasto93
Technology and Science News - ABC News
Technology and Science News - ABC News
waggishwedge3973
Technology and Science News - ABC News
Technology and Science News - ABC News
honorablejourna10
Nightline: Late Evening News - ABC News
Nightline: Late Evening News - ABC News
coldstudent3879
Technology and Science News - ABC News
Technology and Science News - ABC News
whisperingwhiz946
Technology and Science News - ABC News
Technology and Science News - ABC News
painstakingsled66
Technology and Science News - ABC News
Technology and Science News - ABC News
desertedalley1884
Technology and Science News - ABC News
Technology and Science News - ABC News
painstakingsled66
Technology and Science News - ABC News
Technology and Science News - ABC News
enchantingsched84
Technology and Science News - ABC News
Technology and Science News - ABC News
greencontract5911
Technology and Science News - ABC News
Technology and Science News - ABC News
blogginatl1963
Technology and Science News - ABC News
Technology and Science News - ABC News
nutritiousfixat71
Nightline: Late Evening News - ABC News
Nightline: Late Evening News - ABC News
abandoneddecoy407
Technology and Science News - ABC News
Technology and Science News - ABC News
womanlygatherin92
Technology and Science News - ABC News
Technology and Science News - ABC News
moaninglunatic320
Digital Leaders
Digital Leaders
mrstucke
Facebook assembly edit
Facebook assembly edit
mrstucke
More Related Content
What's hot
Technology and Science News - ABC News
Technology and Science News - ABC News
alertchair8725
Technology and Science News - ABC News
Technology and Science News - ABC News
boorishvictim1493
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
plantresidence159
Technology and Science News - ABC News
Technology and Science News - ABC News
ignorantlogic4950
Technology and Science News - ABC News
Technology and Science News - ABC News
gapingtrousers365
Technology and Science News - ABC News
Technology and Science News - ABC News
numberlesspasto93
Technology and Science News - ABC News
Technology and Science News - ABC News
waggishwedge3973
Technology and Science News - ABC News
Technology and Science News - ABC News
honorablejourna10
Nightline: Late Evening News - ABC News
Nightline: Late Evening News - ABC News
coldstudent3879
Technology and Science News - ABC News
Technology and Science News - ABC News
whisperingwhiz946
Technology and Science News - ABC News
Technology and Science News - ABC News
painstakingsled66
Technology and Science News - ABC News
Technology and Science News - ABC News
desertedalley1884
Technology and Science News - ABC News
Technology and Science News - ABC News
painstakingsled66
Technology and Science News - ABC News
Technology and Science News - ABC News
enchantingsched84
Technology and Science News - ABC News
Technology and Science News - ABC News
greencontract5911
Technology and Science News - ABC News
Technology and Science News - ABC News
blogginatl1963
Technology and Science News - ABC News
Technology and Science News - ABC News
nutritiousfixat71
Nightline: Late Evening News - ABC News
Nightline: Late Evening News - ABC News
abandoneddecoy407
Technology and Science News - ABC News
Technology and Science News - ABC News
womanlygatherin92
Technology and Science News - ABC News
Technology and Science News - ABC News
moaninglunatic320
What's hot
(20)
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Nightline: Late Evening News - ABC News
Nightline: Late Evening News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Nightline: Late Evening News - ABC News
Nightline: Late Evening News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Technology and Science News - ABC News
Viewers also liked
Digital Leaders
Digital Leaders
mrstucke
Facebook assembly edit
Facebook assembly edit
mrstucke
Questionnaire Worksheets
Questionnaire Worksheets
mrstucke
E Safety For Parents
E Safety For Parents
mrstucke
Digital leaders story so far
Digital leaders story so far
mrstucke
Y8 Algebra 3 North Sea Navigation
Y8 Algebra 3 North Sea Navigation
mrstucke
Facebook assembly edit
Facebook assembly edit
mrstucke
Viewers also liked
(7)
Digital Leaders
Digital Leaders
Facebook assembly edit
Facebook assembly edit
Questionnaire Worksheets
Questionnaire Worksheets
E Safety For Parents
E Safety For Parents
Digital leaders story so far
Digital leaders story so far
Y8 Algebra 3 North Sea Navigation
Y8 Algebra 3 North Sea Navigation
Facebook assembly edit
Facebook assembly edit
Similar to Technology and Science News - ABC News
Health News & Articles | Healthy Living
Health News & Articles | Healthy Living
abortivecatcall84
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
talloration5719
International News | World News
International News | World News
joblessbeach6696
U.S. News | National News
U.S. News | National News
rhetoricalmosai86
U.S. News | National News
U.S. News | National News
woodenpersonnel36
What Would You Do? With John Quinones
What Would You Do? With John Quinones
numberlesspasto93
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
coldmiscellany992
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
exoticshame065
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
brendacuthbert89
What Would You Do? With John Quinones
What Would You Do? With John Quinones
alertchair8725
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
erna8nielsen65
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
awarequalm2586
U.S. News | National News
U.S. News | National News
painstakingsled66
International News | World News
International News | World News
productiveengin27
U.S. News | National News
U.S. News | National News
willingtablewar49
20/20 | Investigative Journalism & News Magazine
20/20 | Investigative Journalism & News Magazine
demonicrhythm3717
U.S. News | National News
U.S. News | National News
agonizingspeed722
U.S. News | National News
U.S. News | National News
unarmedhorse5807
Similar to Technology and Science News - ABC News
(18)
Health News & Articles | Healthy Living
Health News & Articles | Healthy Living
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
International News | World News
International News | World News
U.S. News | National News
U.S. News | National News
U.S. News | National News
U.S. News | National News
What Would You Do? With John Quinones
What Would You Do? With John Quinones
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
What Would You Do? With John Quinones
What Would You Do? With John Quinones
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
U.S. News | National News
U.S. News | National News
International News | World News
International News | World News
U.S. News | National News
U.S. News | National News
20/20 | Investigative Journalism & News Magazine
20/20 | Investigative Journalism & News Magazine
U.S. News | National News
U.S. News | National News
U.S. News | National News
U.S. News | National News
Technology and Science News - ABC News
1.
Technology and Science
News - ABC News if (nbItemObj.notes) //author image //console.log('y'+lastNBObjStr); '+nbNote.noteHeadline+' this.social = ''; newsbulletin.authorCutouts = []; //console.log('no refresh'); this.socialStyle = ' style="height:21px; padding: 2px 0px;' + this.socialCustomStyle + '"'; isNewTemp = false; else isHeaderLinkLoaded = true; 7500) itemDetails.isExpanded = ($.inArray(itemDetails.id, fullTextList) > -1) ? accurate : false; this.itemBgPos = '100% 55%'; if (it.notes) itemDetails.link = it.link; newsbulletin.nbFooter = "" if($.browser.msie) if(isNewDataFlag) newsbulletin.nbDiv = document.getElementById('nbItemContainer'); this.text = this.textCapped + '...'; $("#newsbulletin > .midcontainer > .widget_head > .twitterLink any > .twitterContent").append("" + twitterImg + ""); $("#newsbulletin > .midcontainer").append(""); if (shareLink != '' && shareLink != null && !isShareLinkLoaded) //if merchandise just isn't expanded display capped text if applicable if (typeof hasHeight != 'undefined') it = updates[ind];
2.
if(nbItemObj.authortwitter != null
&& nbItemObj.authortwitter != '') clearTimeout(timeoutId); dynamicJS.load('newsBulletin'+nbjsId, newsbulletin.baseloc+'/xmldata/newsbulletin?id=15691212&twOverride=&lpos='+newsbulletin.lpo s2+'§ion=&'+nbjsId); //grab previous product height $("#newsbulletin > .midcontainer > .nbFooter").append(""); if(nbItemObj.text.length > 63) this.noteAuthorBlock = ''; this.nbNoteDiv = ' $("#newsbulletin > .midcontainer").append(newsbulletin.nbFooter); // Initialization of the container should be done after all the markup has been loaded $('#text_'+id).html(contentObject[id]) if(it.author.image != '' &&($.inArray(it.author.image, newsbulletin.authorCutouts) == -1)) $.each(nbNotes, function(idx) //display items ); function newsBulletin(data) itemDetails.notes = it.notes; var twitterImg = " " '+this.notesocial+' this.nbH4Style = ' style=width:210px;'; //console.log('x'+currNBObjStr); $.each(updates, function(ind) itemDetails.label = it.label; if(nbNote.noteAuthor.bio != null && nbNote.noteAuthor.bio != '') //add to end up being able to ignore list this.nbH4Class = 'class=nbheader'; this.nbTextOverride = ''; this.authorBlock = ''; itemDetails.title = it.title;
3.
this.textStyle = ''; //retrieve
the particular content material from your array isDoneLoading = true; isHeaderLinkLoaded = false; // flag to verify on when the header link is loaded nbNoteStr += this.nbNoteDiv; this.notesocial = ''; if(nbItemObj.authorbio != null && nbItemObj.authorbio != '') return this.rowTemp; this.socialCustomStyle = ''; $("#nbItemContainer").css('height',$("#nbItemContainer").height()); this.nbItemStyleAuthor = ''; if(itemDetails.label == 'Status Update') this.twitter = '' isDoneLoading = false; // flag to check when the html is completed loading inside the jScrollPane if(nbItemObj.link != null && nbItemObj.link != '') otherwise //dynamicJS.load('newsBulletin','http://newspreview.corp.dig.com/xmldata/newsbulletin?id=1356450 5'); this.social = ''; newsbulletin.nbDiv.innerHTML = ''; //only pass the writer image if it isn't displayed inside any one of the items yet if(nbNote.noteAuthor.twitter != null && nbNote.noteAuthor.twitter != '') if(this.isStatusUpdate) '+this.notebio+' itemDetails.feed = it.feed; if(it.author.image == '') itemDetails.author = it.author.name; newsbulletin.load() '+nbItemObj.date+' window.api.reinitialise(); if (isDoneLoading) 60000 itemDetails.authortwitter = 'http://twitter.com/abc' this.nbH4Style = ''; if (idx == nbNotes.length-1) $.each(data.updates, function(ind) '; nbjsId = 0; this.fb = ''
4.
updates = data.updates; if
($.browser.webkit) this.categoryTag = ''; if(nbItemObj.text != null) this.noteAuthorBlock = ' if ($.browser.version .midcontainer > .nbFooter").css("display":"none"); window.api.getContentPane().html( addOnload(newsbulletin.load()); // since there's absolutely no listener that could potentially be passed directly into reinitialise() pertaining to callback if(nbNote.noteAuthor.facebook != null && nbNote.noteAuthor.facebook != '') $('#nbItemContainer').removeAttr('style'); , 3000); this.title = '' itemDetails.bgPos = 'bottom right'; //store id a new list of opened objects function isNewData(data) itemDetails.authorfb = it.author.facebook; this.text = nbItemObj.text; this.bio = ''+nbItemObj.author+'' ); this.rowTemp = ''+this.authorBlock+' it.author.image = 'http://a.abcnews.com/assets/images/abc_news_logo_84x84.png' itemDetails.authorbio = it.author.bio; newsbulletin.displayItems = function(nbItemObj) this.nbItemStyle = ''; if(this.notefb != '' else if(nbItemObj.author != null && nbItemObj.author != '') this.twitter != '') this.textCapped = ''; this.authorBlock = ' shareLink = data.shareLink; var timeoutId = setTimeout(function() itemDetails.id = it.objId;
5.
isShareLinkLoaded = false;
// flag to test in the wedding the share hyperlink will be loaded $("#newsbulletin > .midcontainer").append(newsbulletin.nbContainer); //social '; //set defaults if merchandise http://www.nytimes.com/pages/technology/index.html can become a status update $("#newsbulletin > .midcontainer > .nbFooter").css("display":"block"); clearTimeout(timeoutId); if(nbItemObj.authorimage != null && nbItemObj.authorimage != '') this.itemTypeClass = (this.isStatusUpdate)?'orange':'blue'; dynamicJS.unload('newsBulletin'+nbjsId, newsbulletin.baseloc+'/xmldata/newsbulletin?id=15691212&'+nbjsId); itemDetails.author = 'ABC News' else fullTextList.push(id.toString()); var hasHeight = $('#nbItemContainer').attr('style'); ); var oldItemHeight = $('#nbItem_'+id).height(); else this.noteSocialStyle = ''; //append widget header isShareLinkLoaded = true; //check if status update //item sort class this.itemBgPos = nbItemObj.bgPos; this.bio = ''; //clear contents first isDoneLoading = false; nbNoteStr = ''; this.divider = ''; if(data)
6.
nbNote = nbNotes[idx]; " this.isStatusUpdate
= (nbItemObj.label == 'Status Update')?true:false; this.nbItemStyle = 'background:url('+nbItemObj.authorimage+') no-repeat bottom right'//+ this.itemBgPos; itemDetails.text = it.text; this.morelink = 'More' if(currNBObjStr != lastNBObjStr) var newContainerHeight = $("#nbItemContainer").height() + ($('#nbItem_'+id).height()- oldItemHeight); //clear mcdougal cutouts array '; function() this.textCapped = nbItemObj.text.substring(0, 63); isNewDataFlag = isNewData(data); itemDetails.authortwitter = it.author.twitter; // options we passed in are usually routinely remembered. this.rowTemp += nbNoteStr; //console.log('refresh'); this.notetwitter = '' this.notesocial = ''; headerLink = data.widgetLink; itemDetails.objType = it.objType; this.twitter = ''; $("#newsbulletin > .midcontainer > .nbFooter").css("height":"35px", "border-top":"1px sound #d5d5d5", "border-bottom":"border-bottom:1px sound #eaeaea"); , 5000); this.notetwitter = ''; nbNotes = nbItemObj.notes; if(nbItemObj.isExpanded != true) contentObject[itemDetails.id] = itemDetails.text newsbulletin.authorCutouts.push(it.author.image); this.fb = ''; this.text = ''; // prevents cacheing if(nbjsId .midcontainer > .nbFooter").css("display":"none"); '+this.title+' this.textStyle = ' style=width:208px;'; this.notebio = ''+nbNote.noteAuthor.name+''
7.
nbNoteDivider = ''; this.title
= ' newsbulletin.load = function() setInterval(function() if(nbItemObj.bgPos != null) ; '+this.text+' $("#nbItemContainer").css('height', newContainerHeight); this.text = this.textCapped + '... ' + this.morelink; lastNBObjStr = ''; this.notebio = ''; if (headerLink != '' && headerLink != null && !isHeaderLinkLoaded) //reinitialize scroll ); lastNBObjStr = currNBObjStr; if(it.author.name == '') // check to notice if there will be a height set pertaining to container, if that's the case obvious it currNBObjStr = ''; '+this.social+' $("#newsbulletin > .midcontainer > .nbFooter").css("display":"block"); currNBObjStr = currNBObjStr + data.updates[ind].objId + data.updates[ind].date; itemDetails.authorfb = 'http://www.facebook.com/abcnews' //to try to handle caching within webkit browsers itemDetails.date = it.date; //title nbNoteDivider = ''; //text $("#nbItemContainer").append(''); this.social = this.fb + this.twitter; , 3000); // a lot more convenient in order to call through the API as then a original if(nbItemObj.authorimage != null && nbItemObj.authorimage != '') ); if(nbNote.noteAuthor.name != null && nbNote.noteAuthor.name != '') itemDetails.authorimage = it.author.image;
8.
itemDetails.category = it.category; '+this.noteAuthorBlock+' '+nbItemObj.title+' //populate
the actual itemDetails object this.notefb = ''; , return isNewTemp; '+this.bio+' window.api.reinitialise(); ' var itemDetails = new Object(); //set the height regarding container div this.nbItemStyleAuthor = ' nbItemContentsAuthor' if($.inArray(it.author.image, newsbulletin.authorCutouts) == -1) //build markup // we're in any position to contact "pane.jScrollPane(settings)" once more however it is //alert(newsbulletin.baseloc+'/xmldata/newsbulletin?id=15691212&twOverride=&lpos='+newsbulle tin.lpos+'§ion=&'+nbjsId) this.notefb = '' '+nbNote.noteOverview+' $("#newsbulletin > .midcontainer > .widget_head").append(""); this.socialStyle = ''; $("#nbItemContainer").append(newsbulletin.displayItems(itemDetails)); var timeoutId = setTimeout(function() if(nbItemObj.authorfb != null && nbItemObj.authorfb != '') function showMoreText(id) isNewTemp = true; if(it.text != '') setInterval(
9.
//build a name
worth pair listing of id/text //bg position '
Download now