SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
Nightline: Late Evening News - ABC News
"
newsbulletin. nbFooter="".
/ / append widget header.
$("# newsbulletin >). midcontainer
"). append("");.$("# newsbulletin).
midcontainer"). append(newsbulletin. nbContainer);.
$("# newsbulletin). midcontainer"). append(newsbulletin.
nbFooter );.
newsbulletin. nbDiv = record.
getElementById('nbItemContainer');. nbjsId=0;. newsbulletin. load=feature(). / / alert(newsbulletin.
baseloc+'/ xmldata/newsbulletin? id=14182094 & twOverride=& lpos='+newsbulletin. lpos+'&
section=&'+nbjsId). / / to try and deal with caching in webkit internet browsers. dynamicJS.
load('newsBulletin'&+nbjsId, newsbulletin. baseloc+'/ xmldata/newsbulletin? id=14182094 &
twOverride=& lpos='+newsbulletin.
lpos2+'& area=&'+nbjsId);. / / dynamicJS.
lots('newsBulletin','http://newspreview.corp.dig.com/xmldata/newsbulletin?id=13564505');. / /
display things.
newsbulletin. displayItems =feature( nbItemObj).
/ / check if status upgrade. this. isStatusUpdate=(nbItemObj. label=='Standing Update')?
important: false;.
/ / product kind course.
this. itemTypeClass= (this. isStatusUpdate)?'orange':'blue';.
/ / bg stance.
this. itemBgPos='ONE HUNDRED % 55 %';.
if(nbItemObj. bgPos!=null).
this. itemBgPos = nbItemObj. bgPos;. / / writer image.
this. nbItemStyle= ";&. this.
nbH4Class='lesson=nbheader';.
this. nbH4Style=";. this. nbItemStyleAuthor=";. if(nbItemObj. authorimage!=null & & nbItemObj.
authorimage
!="). this. nbH4Style =' design=size:210 px;';
.
this. nbItemStyle='
background: website address('+nbItemObj. authorimage+ && ')no-repeat base right '/ /+
this. itemBgPos;.
this. nbItemStyleAuthor='nbItemContentsAuthor'.
/ / title.
this. title="+nbItemObj. title +";.
if(nbItemObj. hyperlink!=
null & & nbItemObj. web link!=" ). this. title= ". / / content.
this. text= ";.
this. textCapped= > ";.
this. morelink='A lot more'. if(nbItemObj. content! =null). this. text=nbItemObj.
content;. / / if product is not expanded display topped content if suitable.
if(nbItemObj. isExpanded!=important). if(nbItemObj.
text. length)63).
this. textCapped = nbItemObj. text.
substring(0, 63);. this. content= this &&. textCapped+' ...';.
if(this. isStatusUpdate).
this. content= this &&. textCapped+'... '+this. morelink;.
/ / social.
this. social= ";&. this.
socialStyle=";. this. authorBlock="
;. this.
divider panel=";. this. fb= ";&. if(nbItemObj.
authorfb! = null
& & nbItemObj.
authorfb!="). this. fb= ". this. twitter= ";. if(nbItemObj.
authortwitter! = null & & nbItemObj.
authortwitter! =").
this. twitter =". this. biography=";. if(nbItemObj.
authorbio! = null
& & nbItemObj.
authorbio!="). this. biography="+nbItemObj. author
+". this. authorBlock="+this. biography+"
.
if (nbItemObj. writer!
= null & & nbItemObj. writer!
= ")else. this.
social=";. this.
textStyle=";. if(nbItemObj. authorimage!=null &
& nbItemObj. authorimage!=").
this. textStyle='style=size:208 px;';. else nbItemObj. author ==") &&. this. textStyle=
'style="padding-bottom:2 px
; margin-bottom:5 px;"';.
this. categoryTag=";. this. nbTextOverride= ";&. this. rowTemp= "+this. authorBlock+"+nbItemObj.
date+"+this.
title+"+this. text +" +this &&. social+";. if( nbItemObj.
notes). nbNotes =nbItemObj. notes;. nbNoteStr=";.
nbNoteDivider="
;.$.
each(nbNotes, feature(
idx). nbNote = nbNotes [idx]&.;. this.
noteAuthorBlock=";.
this. notefb=";.
if(nbNote.
noteAuthor. facebook!=null & & nbNote. noteAuthor. facebook!="). this
. notefb=". this. notetwitter=";. if
(nbNote. noteAuthor. twitter!=null & & nbNote. noteAuthor.
twitter!= ").
this. notetwitter=".
this. notebio=";. if(nbNote.
noteAuthor. biography!= null & & nbNote.
noteAuthor. biography!="). this.
notebio="+nbNote. noteAuthor. name+ ". this. noteAuthorBlock ="+this. notebio+". this.
notesocial=";. this. noteSocialStyle=";. if(nbNote. noteAuthor. name!=null & & nbNote. noteAuthor.
name!=")else. this. notesocial =";. if (idx==nbNotes.length-1).
nbNoteDivider=";. this. nbNoteDiv="+nbNote.
noteHeadline+"+ this. noteAuthorBlock+"+nbNote. noteOverview+"+this. notesocial+";.
nbNoteStr+=this. nbNoteDiv;.);. this. rowTemp+=nbNoteStr;. return this. rowTemp;. feature
showMoreText(id). / / snatch aged product height. var oldItemHeight=$('# nbItem _'+id).
elevation();.
/ / get the material from the selection.
$(' # text _'+id). html(contentObject [id]). / / keep id a list of opened up items. fullTextList.
press(id. toString());. var newContainerHeight=$("# nbItemContainer"). elevation()+ ($('# nbItem
_'+id). height()-oldItemHeight);.
$("# nbItemContainer")
. css('height', newContainerHeight);.
/ / reinitialize scroll. home window. api. reinitialise();
. lastNBObjStr=";.
feature isNewData(data).
isNewTemp = incorrect;.
currNBObjStr=";.
$. each(data. updates, feature( ind). currNBObjStr= currNBObjStr +information. updates [ind] objId
+data. updates [ind]. date;.);. / / console. log( 'x '+currNBObjStr);. / / console. log('y '+ lastNBObjStr
);.
if(currNBObjStr!=lastNBObjStr). isNewTemp= true;.
else.
/ / console. log('no refresh');
. lastNBObjStr=currNBObjStr;. return isNewTemp;. isHeaderLinkLoaded=false; / / flag to examine if
the header hyperlink is filled. isShareLinkLoaded = untrue; /
/ flag to inspect if the share web link is loaded. isDoneLoading=false; /
/ flag to check if the html is && done filling in the jScrollPane.& feature newsBulletin(
information ). if(information). isNewDataFlag=isNewData(information);. if(isNewDataFlag). / / clear
contents first. newsbulletin. nbDiv. innerHTML=";. / / console. log('refresh');. updates=data
. updates;. headerLink=information. widgetLink;. shareLink=data. shareLink;. if(headerLink!="& &
headerLink!=null & &! isHeaderLinkLoaded). var twitterImg=""$ (" # newsbulletin). midcontainer).
widget_head"). append(" ");.$( "# newsbulletin). midcontainer). widget_head ). twitterLink a)
. twitterContent" ). append ("" +twitterImg+ "");. isHeaderLinkLoaded =important;. / / clear the
writer cutouts range. newsbulletin.
authorCutouts=[];. / / check to see if there is a height set for container, if so clear it. / / avoids
cacheing.
var hasHeight=$('# nbItemContainer').
attr('design');. if(typeof hasHeight!='undefined')
.$( '# nbItemContainer ').
removeAttr(' style' );.$. each (updates, feature(ind).
var itemDetails =new Object();. it=updates [ind];. / / occupy the itemDetails object.
itemDetails. id = it. objId;.
itemDetails. title = it. title;.
itemDetails. objType = it. objType;.
itemDetails. hyperlink = it. link;.
itemDetails. date = it. date;.
itemDetails. label = it. label;.
itemDetails. author = it. author. name;.
itemDetails. authorbio = it. author
. bio;. itemDetails. authorfb=it. writer.
facebook;. itemDetails.
authortwitter =it. writer. twitter;. itemDetails. feed=it. feed;. itemDetails. category=it. group;.
/ / set defaults if item is a status update.
if(itemDetails. tag = ='Status Update'
). if(it. author. picture==").
it. writer. picture='http://a.abcnews.com/assets/images/abc_news_logo_84x84.png'. if(it.
writer. name ==" ). itemDetails. writer ='ABC Information'. itemDetails. authorfb='
http://www.facebook.com/abcnews'. itemDetails.
authortwitter='http://twitter.com/abc'. / / just pass the writer image if it's not displayed in any of the
products yet. if($.
inArray(it. author. photo, newsbulletin.
authorCutouts)= =-1 &&). itemDetails. authorimage=it. writer. picture;. / / include in overlook list.
if(it. writer. picture!="
& &($. inArray (it. author. picture, newsbulletin. authorCutouts)= =-1)).
newsbulletin.
authorCutouts. press(it. writer.
picture);. if(it. text!="). itemDetails.
content=it. content;. else. itemDetails. bgPos='bottom right';. if(it. notes). itemDetails. notes=it.
notes;. / / develop a name worth pair list of id/text. contentObject [itemDetails.
id]=itemDetails. content. itemDetails. isExpanded=($.
inArray(itemDetails. id, fullTextList))-1)?
important: false;. / / build markup.
$("# nbItemContainer"). append(newsbulletin. displayItems(itemDetails));.
);.$("# nbItemContainer"). append (" && );. / / set the height && of container div.
$("# nbItemContainer"). css('height' >,$("# nbItemContainer"). elevation());. if (shareLink!="& &
shareLink!=null & &! isShareLinkLoaded).$("# newsbulletin). midcontainer).
nbFooter"). css("elevation":"35px","border-top":"1px strong # d5d5d5","
border-bottom":"border-bottom:1 px solid # eaeaea");.$("# newsbulletin).
midcontainer).
nbFooter"). append("");. isShareLinkLoaded=important;. if($. browser.
msie). if ($. web browser. variation. midcontainer).
nbFooter"). css("show >":"none");.
var timeoutId=setTimeout(feature().$("# newsbulletin). midcontainer). nbFooter").
css("screen":"block");.
clearTimeout (timeoutId);
., 3000);. dynamicJS. dump('newsBulletin'+ nbjsId, newsbulletin.
baseloc +'/ xmldata/newsbulletin? id = 14182094 &'+ nbjsId);. isDoneLoading=true;.
if($. internet browser. webkit). if(nbjsId. midcontainer). nbFooter"). css("display":"none");
. var timeoutId=setTimeout(feature().
$("
# newsbulletin
). midcontainer). nbFooter"). css("
display":"block");.
clearTimeout(timeoutId);.
, 3000);. 7500). setInterval(.
function(). window. api. getContentPane(). html (.
newsbulletin. lots( ). );.,. 60000.);. setInterval( feature (). / / we could call "pane.
jScrollPane(settings )" once more yet it is. / / a lot more convenient to call via the API as then the
original.
/ / setups we passed in are instantly kept in mind. / / Initialization of the container should be done
after all the markup has been loaded.
/ / given that there is no listener that could be entered reinitialise() for callback.
if (isDoneLoading).
window. api. reinitialise();.
isDoneLoading = incorrect;.
, 5000);.
;.
addOnload(newsbulletin. tons());.
http://abcnews.go.com/Nightline/

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections CoveragePolitics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
 
Health News & Articles | Healthy Living
Health News & Articles | Healthy LivingHealth News & Articles | Healthy Living
Health News & Articles | Healthy Living
 
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections CoveragePolitics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
 
U.S. News | National News
U.S. News | National NewsU.S. News | National News
U.S. News | National News
 
U.S. News | National News
U.S. News | National NewsU.S. News | National News
U.S. News | National News
 
What Would You Do? With John Quinones
What Would You Do? With John QuinonesWhat Would You Do? With John Quinones
What Would You Do? With John Quinones
 
Business News, Personal Finance and Money News
Business News, Personal Finance and Money NewsBusiness News, Personal Finance and Money News
Business News, Personal Finance and Money News
 
20/20 | Investigative Journalism & News Magazine
20/20 | Investigative Journalism & News Magazine20/20 | Investigative Journalism & News Magazine
20/20 | Investigative Journalism & News Magazine
 
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections CoveragePolitics 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 CoveragePolitics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
U.S. News | National News
U.S. News | National NewsU.S. News | National News
U.S. News | National News
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
U.S. News | National News
U.S. News | National NewsU.S. News | National News
U.S. News | National News
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections CoveragePolitics 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 CoveragePolitics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
 

Destacado (7)

Proceso n.1899
Proceso n.1899Proceso n.1899
Proceso n.1899
 
Informatica
InformaticaInformatica
Informatica
 
Labos de fico
Labos de ficoLabos de fico
Labos de fico
 
Onduline - Treinamento Vendedores
Onduline - Treinamento VendedoresOnduline - Treinamento Vendedores
Onduline - Treinamento Vendedores
 
Motion in limine
Motion in limineMotion in limine
Motion in limine
 
Escuela de las relaciones humanas
Escuela de las relaciones humanasEscuela de las relaciones humanas
Escuela de las relaciones humanas
 
Projeto didático leilão de jardim
Projeto didático leilão de jardimProjeto didático leilão de jardim
Projeto didático leilão de jardim
 

Similar a Nightline: Late Evening News - ABC News

Similar a Nightline: Late Evening News - ABC News (17)

Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections CoveragePolitics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
International News | World News
International News | World NewsInternational News | World News
International News | World News
 
U.S. News | National News
U.S. News | National NewsU.S. News | National News
U.S. News | National News
 
20/20 | Investigative Journalism & News Magazine
20/20 | Investigative Journalism & News Magazine20/20 | Investigative Journalism & News Magazine
20/20 | Investigative Journalism & News Magazine
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
U.S. News | National News
U.S. News | National NewsU.S. News | National News
U.S. News | National News
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
What Would You Do? With John Quinones
What Would You Do? With John QuinonesWhat Would You Do? With John Quinones
What Would You Do? With John Quinones
 
U.S. News | National News
U.S. News | National NewsU.S. News | National News
U.S. News | National News
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
What Would You Do? With John Quinones
What Would You Do? With John QuinonesWhat Would You Do? With John Quinones
What Would You Do? With John Quinones
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
International News | World News
International News | World NewsInternational News | World News
International News | World News
 
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections CoveragePolitics 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 CoveragePolitics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
 

Nightline: Late Evening News - ABC News

  • 1. Nightline: Late Evening News - ABC News " newsbulletin. nbFooter="". / / append widget header. $("# newsbulletin >). midcontainer "). append("");.$("# newsbulletin). midcontainer"). append(newsbulletin. nbContainer);. $("# newsbulletin). midcontainer"). append(newsbulletin. nbFooter );. newsbulletin. nbDiv = record. getElementById('nbItemContainer');. nbjsId=0;. newsbulletin. load=feature(). / / alert(newsbulletin. baseloc+'/ xmldata/newsbulletin? id=14182094 & twOverride=& lpos='+newsbulletin. lpos+'& section=&'+nbjsId). / / to try and deal with caching in webkit internet browsers. dynamicJS. load('newsBulletin'&+nbjsId, newsbulletin. baseloc+'/ xmldata/newsbulletin? id=14182094 & twOverride=& lpos='+newsbulletin. lpos2+'& area=&'+nbjsId);. / / dynamicJS. lots('newsBulletin','http://newspreview.corp.dig.com/xmldata/newsbulletin?id=13564505');. / / display things. newsbulletin. displayItems =feature( nbItemObj). / / check if status upgrade. this. isStatusUpdate=(nbItemObj. label=='Standing Update')? important: false;. / / product kind course. this. itemTypeClass= (this. isStatusUpdate)?'orange':'blue';. / / bg stance. this. itemBgPos='ONE HUNDRED % 55 %';. if(nbItemObj. bgPos!=null). this. itemBgPos = nbItemObj. bgPos;. / / writer image.
  • 2. this. nbItemStyle= ";&. this. nbH4Class='lesson=nbheader';. this. nbH4Style=";. this. nbItemStyleAuthor=";. if(nbItemObj. authorimage!=null & & nbItemObj. authorimage !="). this. nbH4Style =' design=size:210 px;'; . this. nbItemStyle=' background: website address('+nbItemObj. authorimage+ && ')no-repeat base right '/ /+ this. itemBgPos;. this. nbItemStyleAuthor='nbItemContentsAuthor'. / / title. this. title="+nbItemObj. title +";. if(nbItemObj. hyperlink!= null & & nbItemObj. web link!=" ). this. title= ". / / content. this. text= ";. this. textCapped= > ";. this. morelink='A lot more'. if(nbItemObj. content! =null). this. text=nbItemObj. content;. / / if product is not expanded display topped content if suitable. if(nbItemObj. isExpanded!=important). if(nbItemObj. text. length)63). this. textCapped = nbItemObj. text. substring(0, 63);. this. content= this &&. textCapped+' ...';. if(this. isStatusUpdate). this. content= this &&. textCapped+'... '+this. morelink;. / / social. this. social= ";&. this.
  • 3. socialStyle=";. this. authorBlock=" ;. this. divider panel=";. this. fb= ";&. if(nbItemObj. authorfb! = null & & nbItemObj. authorfb!="). this. fb= ". this. twitter= ";. if(nbItemObj. authortwitter! = null & & nbItemObj. authortwitter! ="). this. twitter =". this. biography=";. if(nbItemObj. authorbio! = null & & nbItemObj. authorbio!="). this. biography="+nbItemObj. author +". this. authorBlock="+this. biography+" . if (nbItemObj. writer! = null & & nbItemObj. writer! = ")else. this. social=";. this. textStyle=";. if(nbItemObj. authorimage!=null & & nbItemObj. authorimage!="). this. textStyle='style=size:208 px;';. else nbItemObj. author ==") &&. this. textStyle= 'style="padding-bottom:2 px ; margin-bottom:5 px;"';. this. categoryTag=";. this. nbTextOverride= ";&. this. rowTemp= "+this. authorBlock+"+nbItemObj.
  • 4. date+"+this. title+"+this. text +" +this &&. social+";. if( nbItemObj. notes). nbNotes =nbItemObj. notes;. nbNoteStr=";. nbNoteDivider=" ;.$. each(nbNotes, feature( idx). nbNote = nbNotes [idx]&.;. this. noteAuthorBlock=";. this. notefb=";. if(nbNote. noteAuthor. facebook!=null & & nbNote. noteAuthor. facebook!="). this . notefb=". this. notetwitter=";. if (nbNote. noteAuthor. twitter!=null & & nbNote. noteAuthor. twitter!= "). this. notetwitter=". this. notebio=";. if(nbNote. noteAuthor. biography!= null & & nbNote. noteAuthor. biography!="). this. notebio="+nbNote. noteAuthor. name+ ". this. noteAuthorBlock ="+this. notebio+". this. notesocial=";. this. noteSocialStyle=";. if(nbNote. noteAuthor. name!=null & & nbNote. noteAuthor. name!=")else. this. notesocial =";. if (idx==nbNotes.length-1). nbNoteDivider=";. this. nbNoteDiv="+nbNote. noteHeadline+"+ this. noteAuthorBlock+"+nbNote. noteOverview+"+this. notesocial+";. nbNoteStr+=this. nbNoteDiv;.);. this. rowTemp+=nbNoteStr;. return this. rowTemp;. feature showMoreText(id). / / snatch aged product height. var oldItemHeight=$('# nbItem _'+id). elevation();. / / get the material from the selection.
  • 5. $(' # text _'+id). html(contentObject [id]). / / keep id a list of opened up items. fullTextList. press(id. toString());. var newContainerHeight=$("# nbItemContainer"). elevation()+ ($('# nbItem _'+id). height()-oldItemHeight);. $("# nbItemContainer") . css('height', newContainerHeight);. / / reinitialize scroll. home window. api. reinitialise(); . lastNBObjStr=";. feature isNewData(data). isNewTemp = incorrect;. currNBObjStr=";. $. each(data. updates, feature( ind). currNBObjStr= currNBObjStr +information. updates [ind] objId +data. updates [ind]. date;.);. / / console. log( 'x '+currNBObjStr);. / / console. log('y '+ lastNBObjStr );. if(currNBObjStr!=lastNBObjStr). isNewTemp= true;. else. / / console. log('no refresh'); . lastNBObjStr=currNBObjStr;. return isNewTemp;. isHeaderLinkLoaded=false; / / flag to examine if the header hyperlink is filled. isShareLinkLoaded = untrue; / / flag to inspect if the share web link is loaded. isDoneLoading=false; / / flag to check if the html is && done filling in the jScrollPane.& feature newsBulletin( information ). if(information). isNewDataFlag=isNewData(information);. if(isNewDataFlag). / / clear contents first. newsbulletin. nbDiv. innerHTML=";. / / console. log('refresh');. updates=data . updates;. headerLink=information. widgetLink;. shareLink=data. shareLink;. if(headerLink!="& & headerLink!=null & &! isHeaderLinkLoaded). var twitterImg=""$ (" # newsbulletin). midcontainer). widget_head"). append(" ");.$( "# newsbulletin). midcontainer). widget_head ). twitterLink a) . twitterContent" ). append ("" +twitterImg+ "");. isHeaderLinkLoaded =important;. / / clear the writer cutouts range. newsbulletin. authorCutouts=[];. / / check to see if there is a height set for container, if so clear it. / / avoids cacheing. var hasHeight=$('# nbItemContainer').
  • 6. attr('design');. if(typeof hasHeight!='undefined') .$( '# nbItemContainer '). removeAttr(' style' );.$. each (updates, feature(ind). var itemDetails =new Object();. it=updates [ind];. / / occupy the itemDetails object. itemDetails. id = it. objId;. itemDetails. title = it. title;. itemDetails. objType = it. objType;. itemDetails. hyperlink = it. link;. itemDetails. date = it. date;. itemDetails. label = it. label;. itemDetails. author = it. author. name;. itemDetails. authorbio = it. author . bio;. itemDetails. authorfb=it. writer. facebook;. itemDetails. authortwitter =it. writer. twitter;. itemDetails. feed=it. feed;. itemDetails. category=it. group;. / / set defaults if item is a status update. if(itemDetails. tag = ='Status Update' ). if(it. author. picture=="). it. writer. picture='http://a.abcnews.com/assets/images/abc_news_logo_84x84.png'. if(it. writer. name ==" ). itemDetails. writer ='ABC Information'. itemDetails. authorfb=' http://www.facebook.com/abcnews'. itemDetails. authortwitter='http://twitter.com/abc'. / / just pass the writer image if it's not displayed in any of the products yet. if($. inArray(it. author. photo, newsbulletin. authorCutouts)= =-1 &&). itemDetails. authorimage=it. writer. picture;. / / include in overlook list. if(it. writer. picture!=" & &($. inArray (it. author. picture, newsbulletin. authorCutouts)= =-1)).
  • 7. newsbulletin. authorCutouts. press(it. writer. picture);. if(it. text!="). itemDetails. content=it. content;. else. itemDetails. bgPos='bottom right';. if(it. notes). itemDetails. notes=it. notes;. / / develop a name worth pair list of id/text. contentObject [itemDetails. id]=itemDetails. content. itemDetails. isExpanded=($. inArray(itemDetails. id, fullTextList))-1)? important: false;. / / build markup. $("# nbItemContainer"). append(newsbulletin. displayItems(itemDetails));. );.$("# nbItemContainer"). append (" && );. / / set the height && of container div. $("# nbItemContainer"). css('height' >,$("# nbItemContainer"). elevation());. if (shareLink!="& & shareLink!=null & &! isShareLinkLoaded).$("# newsbulletin). midcontainer). nbFooter"). css("elevation":"35px","border-top":"1px strong # d5d5d5"," border-bottom":"border-bottom:1 px solid # eaeaea");.$("# newsbulletin). midcontainer). nbFooter"). append("");. isShareLinkLoaded=important;. if($. browser. msie). if ($. web browser. variation. midcontainer). nbFooter"). css("show >":"none");. var timeoutId=setTimeout(feature().$("# newsbulletin). midcontainer). nbFooter"). css("screen":"block");. clearTimeout (timeoutId); ., 3000);. dynamicJS. dump('newsBulletin'+ nbjsId, newsbulletin. baseloc +'/ xmldata/newsbulletin? id = 14182094 &'+ nbjsId);. isDoneLoading=true;. if($. internet browser. webkit). if(nbjsId. midcontainer). nbFooter"). css("display":"none"); . var timeoutId=setTimeout(feature(). $(" # newsbulletin
  • 8. ). midcontainer). nbFooter"). css(" display":"block");. clearTimeout(timeoutId);. , 3000);. 7500). setInterval(. function(). window. api. getContentPane(). html (. newsbulletin. lots( ). );.,. 60000.);. setInterval( feature (). / / we could call "pane. jScrollPane(settings )" once more yet it is. / / a lot more convenient to call via the API as then the original. / / setups we passed in are instantly kept in mind. / / Initialization of the container should be done after all the markup has been loaded. / / given that there is no listener that could be entered reinitialise() for callback. if (isDoneLoading). window. api. reinitialise();. isDoneLoading = incorrect;. , 5000);. ;. addOnload(newsbulletin. tons());. http://abcnews.go.com/Nightline/