var ci = datapath.dupePointer() ;
var cd = datapath.dupePointer() ;
var cl = datapath.dupePointer() ;
var tn = datapath.dupePointer() ;
var tl = datapath.dupePointer() ;
ci.setXPath("channel/image") ;
channelImage.setResource(ci.getNodeAttribute("resource")) ;
cd.setXPath("channel/description") ;
channelDescription.setText(cd.getNodeText()) ;
cl.setXPath("channel/link") ;
parent.setAttribute("channelLink", cl.getNodeText()) ;
tn.setXPath("textinput/name") ;
parent.setAttribute("searchKey", tn.getNodeText()) ;
tl.setXPath("textinput/link") ;
parent.setAttribute("searchLink", tl.getNodeText()) ;
LzBrowser.loadURL(parent.parent.channelLink) ;
var TOPIC_IMAGE_PREFIX = "http://images.slashdot.org/topics/" ;
// Remap for icons that don't match exactly with the subject name.
if ( subject == "" ) {
subject = "article" ;
} else if ( subject == "microsoft" ) {
subject = "ms" ;
} else if ( subject == "biz" ) {
subject = "business" ;
} else if ( subject == "tech" ) {
subject = "tech2" ;
} else if ( subject == "usa" ) {
subject = "us" ;
}
var url = TOPIC_IMAGE_PREFIX + "/topic" + subject + ".gif" ;
setResource(url) ;
var dp = parent.datapath.dupePointer() ;
parent.details.setVisible(true) ;
dp.setXPath("subject") ;
topicIcon.setTopicIcon(dp.getNodeText()) ;
tooltip.show("Subject: " + dp.getNodeText()) ;
parent.details.setVisible(false) ;
var dp = parent.datapath.dupePointer() ;
dp.setXPath("link") ;
LzBrowser.loadURL(dp.getNodeText()) ;
Posted by
on
from the
dept.
this.v) {
this.v = pnow;
this.setAttribute('visible', true);
}
]]>
this.parent.parent.check() ;
this.parent.parent.update() ;
this.parent.parent.setVisible(false) ;