home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 79
/
MINAMI79.iso
/
Extra
/
MPSetup.exe
/
1033
/
RCDATA
/
CABINET
/
wmploc.DLL
/
256
/
BANNER.JS
< prev
next >
Wrap
Text File
|
2002-12-14
|
1KB
|
50 lines
// Windows Media Player - Copyright 2000 Microsoft Corporation.
//<script>
function ReloadBannerImage()
{
if(osMediaOpen == player.OpenState && player.currentmedia.getItemInfo("BannerURL") != "")
{
AdBanner.image="WMPImage_AdBanner";
}
}
function OnDownloadingMediaViz(bstrItemName)
{
if (bstrItemName=="WMPImage_AdBanner")
{
AdBanner.image=bstrItemName;
var strToolTip = player.currentmedia.getItemInfo("BannerAbstract");
AdBanner.upToolTip = strToolTip;
}
}
function OnBannerClick()
{
if (!player.currentMedia) return;
var strTargetURL = player.currentmedia.getItemInfo("BannerInfoURL");
if ( strTargetURL != "")
{
player.launchURL(strTargetURL);
}
}
function OnBannerMouseOver()
{
if (!player.currentMedia) return;
var strToolTip = player.currentmedia.getItemInfo("BannerAbstract");
AdBanner.upToolTip = strToolTip;
if ( player.currentmedia.getItemInfo("BannerInfoURL") != "")
{
AdBanner.cursor = "hand";
}
else
{
AdBanner.cursor = "system";
}
}