source: trunk/global.js

Last change on this file was 35, checked in by george, 15 years ago
  • Všechny soubory přesunuty do podsložky trunk.
File size: 926 bytes
Line 
1
2function openClient(client_type)
3{
4 if(client_type=="java")clientWindow = window.open("http://go.icq.com/icq2go/web.html","ICQ2Go","left=20,top=20,width=156,height=446,toolbar=0,resizable=0");
5 else clientWindow = window.open("http://go.icq.com/icq2go/flicq.html","ICQ2Go","left=20,top=20,width=176,height=441,toolbar=0,resizable=0");
6}
7
8var predchozi = 'first';
9
10function zobraz(idecko)
11{
12 skryj(predchozi);
13 el=document.getElementById(idecko).style;
14 el.display='block';
15 predchozi = idecko;
16}
17
18function skryj(idecko)
19{
20 if(idecko != 'first')
21 {
22 el=document.getElementById(idecko).style;
23 el.display='none';
24 }
25}
26
27function confirmAction(theMessage)
28{
29 // TODO: Confirmation is not required in the configuration file
30 // or browser is Opera (crappy js implementation)
31 if (typeof(window.opera) != 'undefined')
32 {
33 return true;
34 }
35
36 var is_confirmed = confirm(theMessage);
37
38 return is_confirmed;
39}
Note: See TracBrowser for help on using the repository browser.