home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 September (Special)
/
Chip-Special_2002-09_Digitalni-Video.bin
/
servis
/
wm9
/
mpsetupXP.exe
/
RCDATA
/
CABINET
/
wmploc.DLL
/
HTML
/
LATEST.HTC
< prev
next >
Wrap
Text File
|
2002-08-19
|
2KB
|
59 lines
<PUBLIC:COMPONENT lightWeight=true>
<PUBLIC:METHOD NAME="reload" />
<PUBLIC:METHOD NAME="updateMedia" />
<SCRIPT LANGUAGE="JScript">
function reload() { load(); }
function updateMedia(media) { load(); }
function noData()
{
return '<tr><td width=368 height=100% valign=top>' + getNoDataInfo('images\\artist.gif', 'We are unable to identify this Artist') + '</td></tr>';
}
var oXML, oDL;
function load()
{
oDL = element.document.all('dataload');
oXML = oDL.getDataAsync('info_latestreleases', loadData);
var s = '<table width=368 class=pane border=0 cellpadding=0 cellspacing=0>';
s += '<tr><td class=artist>' + L_LatestReleasesTitle_Text + '</td></tr>';
s += '<tr><td><table width=368 border=0 cellpadding=0 cellspacing=0><tr><td class=textTitle>' + GetArtistTOC(2) + '</td><td class=smText align=right>' + L_ProvidedByLabel_Text + ' <IMG border=0 align=absmiddle src=images\\amg-logo.gif></td></tr></table></td></tr>';
s += '<tr><td height=14 class=text>' + element.document.all('artistNameSaved').innerText + '</td></tr>';
s += '<tr><td height=10></td></tr>';
s += '<tr><td valign=top height=40><table width=368 border=0 cellpadding=0 cellspacing=0><tr><td align=left><a href="X" onclick="return pageSlide(2)" alt="' + L_BiographyTitle_Text + '" style="behavior: url(button.htc)" direction=1></a></td>';
s += '<td align=right><a href="X" onclick="return pageSlide(4)" alt="' + L_AlbumsTitle_Text + '" style="behavior: url(button.htc)" direction=0></a></td></tr></table></td></tr>';
s += '<tr><td id=artistLatest>';
s += '</td></tr></table>';
element.innerHTML = s;
}
function loadData()
{
if (oXML)
{
if (oXML.readyState == 4)
{
oDL.saveIDs(oXML);
var s = '<table border=0 cellpadding=0 cellspacing=0>';
if (oDL.getNodeText(oXML, 'p_id').length)
s += '<tr><td width=368 valign=top>' + GetImageAlbumList(oDL, oXML) + '</td></tr>';
else
s += '<tr><td width=368 height=100% valign=top>' + getNoDataInfo('images\\artist.gif', L_CantFindArtistError_Text) + '</td></tr>';
try
{
element.document.all('artistLatest').innerHTML = s + '</table>';
} catch(e)
{
}
}
}
}
</SCRIPT>
</PUBLIC:COMPONENT>