home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hentai 69
/
HENTAI69.iso
/
Extra
/
MPSetup.exe
/
1033
/
RCDATA
/
CABINET
/
wmploc.DLL
/
HTML
/
FLYHEADLINE.HTC
< prev
next >
Wrap
Text File
|
2002-12-14
|
3KB
|
64 lines
<PUBLIC:COMPONENT lightWeight=true>
<PUBLIC:METHOD NAME="reload" />
<PUBLIC:METHOD NAME="colorChange" />
<PUBLIC:ATTACH EVENT="onresize" ONEVENT="resize()" />
<PUBLIC:METHOD NAME="noData" />
<SCRIPT LANGUAGE="JScript">
var oDL;
function reload(sParam)
{
oDL = element.document.all('dataload');
oDL.getDataAsyncHeadline('info_newsarticle', loadData, sParam);
var s = '<table width=90% class=flypane border=0 cellpadding=0 cellspacing=0>'
s += '<tr><td class=artist style="color:white" valign=top>' + L_HeadlinesTitle_Text + '</td><td valign=top align=right>' + GetFlyClose('flyheadline') + '</td></tr>';
s += '<tr><td colspan=2 width=100%><table border=0 cellpadding=0 cellspacing=0><tr><td id=headlineLogo></td><td width=10></td><td class=text valign=bottom style="font-size:12; color:white" id=headlineTitleText></td></tr></table></td></tr>';
s += '<tr><td colspan=2 height=20></td></tr>';
s += '<tr><td colspan=2 id=headlineData>' + GetLoading('white') + '</td></tr>';
element.innerHTML = s + '</table></td></tr></table>';
}
function resize()
{
var el = element.document.all(uniqueID + 'resize');
if (el)
el.style.height = Math.max(element.document.body.clientHeight - getFlyElementTop('headlineData', 34), 10);
}
function loadData(oXML)
{
var s, sTemp, sImg;
s = '<div class=text id="' + uniqueID + 'resize" style="overflow-y: scroll; width: 368; height: ' + (element.document.body.clientHeight - getFlyElementTop('headlineData', 34)) + '">';
s += '<table border=0 cellpadding=0 cellspacing=0>';
s += '<tr><td valign=top class=text style="color:white">' + fixText(oDL.getNodeText(oXML, 'Abstract')) + '</td></tr>';
s += '<tr><td height=20></td></tr>';
s += '<tr><td valign=top><A href="x" onclick="trackIt(\'MHT1\'); doflyout(flymoreheadlines, \'\'); return false;" class=text style="color:white">' + L_ReadMoreHeadlinesLink_Text + '</a></td></tr>';
s += '</table></div>';
try
{
sImg = element.document.all('footer').getProviderLogoUrl(oDL.getNodeText(oXML, 'ProviderName'));
element.document.all('headlineData').innerHTML = s;
element.document.all('headlineTitleText').innerText = oDL.getNodeText(oXML, 'Title');
if (sImg.length)
element.document.all('headlineLogo').innerHTML = '<IMG border=0 src="' + sImg + '">';
} catch(e)
{
}
}
function colorChange()
{
element.style.backgroundColor = getCurrentColor();
}
function noData()
{
element.document.all('headlineData').innerHTML = sHTML;
}
</SCRIPT>
</PUBLIC:COMPONENT>