home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 September (Special)
/
Chip-Special_2004-09_Digitalni-Hudba.bin
/
prehravace
/
wmp
/
MPsetup.exe
/
1033
/
RCDATA
/
CABINET
/
wmploc.DLL
/
256
/
SETTINGSCOMMON.JS
< prev
next >
Wrap
Text File
|
2003-02-01
|
873b
|
45 lines
// Windows Media Player - Copyright 2002 Microsoft Corporation.
var g_kAlphaToTime = 330;
var g_kAlphaDisabled = 0x80;
var g_kLinkColor = '#ABD5FD';
var g_kDisabledColor = '#9F9F9F'
function PlayingDVD()
{
return ( (player.currentPlaylist.count>0) && (player.currentPlaylist.item(0).sourceURL.indexOf("wmpdvd:")==0));
}
function OnOpenStateChangeEvent(NewState, pfnHandler)
{
switch (NewState)
{
case osPlaylistOpenNoMedia:
case osMediaOpen:
pfnHandler();
break;
}
}
function SetDisabledUI(disabled)
{
if (!(helper.isXPOrBetter)) return;
if (disabled)
{
DisabledGray.visible=true;
}
else
{
DisabledGray.alphaBlendTo(0,g_kAlphaToTime);
}
}
function DoACCKeyPress(keyCode, dofunction)
{
if ( (keyCode==32) || (keyCode==13) )
{
dofunction();
}
}