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
/
BIO.HTC
< prev
next >
Wrap
Text File
|
2002-08-19
|
2KB
|
57 lines
<PUBLIC:COMPONENT lightWeight=true>
<PUBLIC:METHOD NAME="reload" />
<PUBLIC:METHOD NAME="updateMedia" />
<SCRIPT LANGUAGE="JScript">
function reload() { load(); }
function updateMedia(media) { reload(); }
var oXML, oDL;
function load()
{
oDL = element.document.all('dataload');
oXML = oDL.getDataAsync('info_artistbio', loadData);
var s = '<table width=368 class=pane border=0 cellpadding=0 cellspacing=0>';
s += '<tr><td class=artist>' + L_BiographyTitle_Text + '</td></tr>';
s += '<tr><td><table width=368 border=0 cellpadding=0 cellspacing=0><tr><td class=textTitle>' + GetArtistTOC(1) + '</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=textGray>' + 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(1)" alt="' + L_ArtistInfoTitle_Text + '" style="behavior: url(button.htc)" direction=1></a></td>';
s += '<td align=right><a href="X" onclick="return pageSlide(3)" alt="' + L_LatestReleasesTitle_Text + '" style="behavior: url(button.htc)" direction=0></a></td></tr></table></td></tr>';
s += '<tr><td id=artistBioArea>';
s += '</td></tr></table>';
element.innerHTML = s;
}
function loadData()
{
if (oXML)
{
if (oXML.readyState == 4)
{
var s = '<table border=0 cellpadding=0 cellspacing=0>';
var bio = oDL.getNodeText(oXML, 'biography');
if (bio.length > 0)
s += '<tr><td width=368 height=100% valign=top><div class=text style="overflow-y: scroll; width: 368; height: expression(Math.max(144, document.body.clientHeight - 176))">' + bio + '</div></td></tr>';
else if (oDL.getNodeText(oXML, 'p_id').length)
s += '<tr><td width=368 height=100% valign=top>' + getNoDataInfo('images\\artist.gif', L_NoBioForArtistError_Text) + '</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('artistBioArea').innerHTML = s + '</table>';
} catch(e)
{
}
}
}
}
</SCRIPT>
</PUBLIC:COMPONENT>