home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 June
/
Chip_2004-06_cd1.bin
/
opsys
/
wmakeup
/
downloads
/
BXSilvermedia.wmz
/
actions.js
next >
Wrap
Text File
|
2003-08-28
|
3KB
|
90 lines
/*
(c)2003 Adam Najmanowicz, Inc. All rights reserved.
(c)2003 Stardock Net, Inc. All rights reserved.
*/
var fView0Visible = true;
var fView1Visible = false;
var fView2Visible = false;
var fView3Visible = false;
var fView4Visible = false;
var fView5Visible = false;
var fView6Visible = false;
var fView7Visible = false;
var fView8Visible = false;
var fView9Visible = false;
function OnViewClose( viewid ){
/* if (viewid == 'View0'){
theme.savepreference( "View0Width", View0.width );
theme.savepreference( "View0Height", View0.height );
}else if (viewid == 'View1'){
theme.savepreference( "View1Width", View1.width );
theme.savepreference( "View1Height", View1.height );
}else if (viewid == 'View2'){
theme.savepreference( "View2Width", View2.width );
theme.savepreference( "View2Height", View2.height );
}else if (viewid == 'View3'){
theme.savepreference( "View3Width", View3.width );
theme.savepreference( "View3Height", View3.height );
}else if (viewid == 'View4'){
theme.savepreference( "View4Width", View4.width );
theme.savepreference( "View4Height", View4.height );
}else if (viewid == 'View5'){
theme.savepreference( "View5Width", View5.width );
theme.savepreference( "View5Height", View5.height );
}else if (viewid == 'View6'){
theme.savepreference( "View6Width", View6.width );
theme.savepreference( "View6Height", View6.height );
}else if (viewid == 'View7'){
theme.savepreference( "View7Width", View7.width );
theme.savepreference( "View7Height", View7.height );
}else if (viewid == 'View8'){
theme.savepreference( "View8Width", View8.width );
theme.savepreference( "View8Height", View8.height );
}else if (viewid == 'View9'){
theme.savepreference( "View9Width", View9.width );
theme.savepreference( "View9Height", View9.height );
}*/
}
function OnView2VisibilityChange( action )
{
if(action == "close" ) {
theme.closeView("View2");
View2.close();
fView2Visible = false;
} else {
var dwScale = theme.loadpreference( "View2Width" );
if( "--" != dwScale ) {
View2.width = dwScale;
}
dwScale = theme.loadpreference( "View2Height" );
if( "--" != dwScale ) {
View2.height = dwScale;
}
}
}
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
//
// EQSelectMenu
//
function EQSelectMenu()
{
var index = 0;
var max = Equalizer.presetCount;
mnuEQSelect.deleteAll();
for (index=0; index<max; index++)
{
mnuEQSelect.AppendItem( eq.presetTitle(index) );
}
mnuEQSelect.selectedItem = eq.currentPreset;
mnuEQSelect.show();
}