home *** CD-ROM | disk | FTP | other *** search
/ Windows News 2006 October / wn148cd2.iso / Windows / Communiquer / V4S / V4Sfr.exe / V4S.dll / 1036 / HTML / 171 < prev    next >
Text File  |  2006-02-03  |  5KB  |  122 lines

  1. <!DOCTYPE root [
  2. <!ENTITY nbsp " ">
  3. <!ENTITY eacute "é">
  4. ]>
  5. <html>
  6. <head>
  7. <title>V4S - Appeler un contact Skype</title>
  8. <style>
  9.     body { margin: 0; margin-left: 20px; margin-top: 0px; }
  10.     body,td,a,p,.h,.login {font: 11px 'Lucida Grande', Geneva, Arial, Verdana, sans-serif; }
  11.     
  12.     a {text-decoration:none; font-weight:bold; color:#304d75;}
  13.     a:hover {color:#333;}            
  14.     a.nav {color:#555;text-decoration:none}            
  15.     a:hover.nav {color:#287ac1;}
  16.     a.small {text-decoration:none; font-weight:normal; color:#287ac1;}
  17.     a:hover.small {color:#333;}
  18.     .bold{font-weight:bold;}
  19.     .odd{background-color: #eef5fc; cursor: pointer;}
  20.      .even{cursor: pointer;}
  21.      .select{background-color: #c1defa;cursor: pointer;}
  22.  
  23.     h1 {font-size: 16px; font-weight:bold;margin:0px; color:#287ac1;}
  24.     h2 {font-size: 12px; font-weight:bold;margin:0px; color:#333;}
  25.     h3 {font-size: 12px; font-weight:bold;margin:0px; color:#287ac1;}
  26.     h4 {font-size: 20px; font-weight:bold;margin:0px; color:#287ac1;}
  27.     
  28.     .status {color: #ffffff;}
  29. </style>
  30. </head>
  31. <body>
  32. <script language="JavaScript" type="text/javascript">
  33. <!--
  34. function selectContact(iToSelect, trToSelect)
  35. {
  36.     var i = 0;
  37.     var tr = document.getElementById("contactTr" + i);    
  38.     while (tr)
  39.     {
  40.         if (i != iToSelect)
  41.         {
  42.             if(i % 2 == 0)
  43.             {
  44.                 tr.className = "odd";
  45.             }
  46.             else
  47.             {
  48.                 tr.className = "even";
  49.             }
  50.         }
  51.         else
  52.         {                
  53.             tr.className = "select";            
  54.         }
  55.         i++;
  56.         tr = document.getElementById("contactTr" + i);
  57.     }    
  58. }
  59. function callSelected()
  60. {
  61.     
  62.     var i = 0;
  63.     var tr = document.getElementById("contactTr" + i);
  64.     while (tr)
  65.     {
  66.         if (tr.className == "select")
  67.         {
  68.             var handle = document.getElementById("handle" + i).innerHTML;
  69.             var url = "callto://" + handle;
  70.             window.location = url;
  71.         }
  72.         i++;
  73.         tr = document.getElementById("contactTr" + i);
  74.     }    
  75. }
  76. function callContact( i )
  77. {
  78.     var handle = document.getElementById("handle" + i).innerHTML;
  79.     var url = "callto://" + handle;
  80.     window.location = url;
  81. }
  82. -->
  83. </script>
  84. <div align="center" style="text-align:left; width:300;"><h3><br/>Appeler un contact Skype</h3>
  85. <table border="0" cellpadding="0" cellspacing="0" >
  86.   <tr>
  87.     <td width="7" height="7" ><img border="0" src="orb://image?orbName=box_w_top_left.gif" width="7" height="7"/></td>
  88.     <td height="7" background="orb://image?orbName=box_w_top.gif"></td>
  89.     <td width="8" height="7" ><img border="0" src="orb://image?orbName=box_w_top_right.gif" width="8" height="7"/></td>
  90.   </tr>
  91.   <tr>
  92.     <td width="7" background="orb://image?orbName=box_w_left.gif" valign="top" > </td>
  93.     <td valign="top" >
  94.       <tmpl_if error>
  95.         <tmpl_var error/>
  96.         <tmpl_else/>
  97.         <div id="contactList" style="height:365; width:300; overflow : scroll;">
  98.           <table cellpadding="2" cellspacing="0" border="0" style=" height: 85%; width:100%">
  99.             <tmpl_loop contacts>
  100.               <tr id="contactTr<tmpl_var i/>" onSelectStart="return false;" onclick="selectContact(<tmpl_var i/>, this);" ondblclick="callContact(<tmpl_var i/>);"<tmpl_if __ODD__> class="odd"<tmpl_else/> class="even"</tmpl_if>>
  101.                 <td style="padding-right:0;"><img src="orb://image?orbName=<tmpl_if isOffline>icon_skype_offline.gif</tmpl_if><tmpl_if isOnline>icon_skype_online.gif</tmpl_if><tmpl_if isAway>icon_skype_away.gif</tmpl_if><tmpl_if isNA>icon_skype_not_available.gif</tmpl_if><tmpl_if isDND>icon_skype_dnd.gif</tmpl_if><tmpl_if isSkypeMe>icon_skype_skypeme.gif</tmpl_if>" width="16" height="16" border="0"/></td>
  102.                 <td width="100%"><span id="contactInfo<tmpl_var i/>">
  103.                   <tmpl_var display escape=html/>
  104.                   </span><span id="handle<tmpl_var i/>" style="display: none;"><tmpl_var handle escape=html/></span></td>
  105.               </tr>
  106.             </tmpl_loop>
  107.           </table>
  108.         </div>
  109.         <div style="width:300; text-align:center; height:40;"><br/><img src="orb://image?orbName=call_s_l.gif" title="Appeler" onclick="callSelected();" style="cursor: pointer;" width="33" height="28" border="0"/></div>
  110.       </tmpl_if>
  111.     </td>
  112.     <td width="8" background="orb://image?orbName=box_w_right.gif" valign="bottom" > </td>
  113.   </tr>
  114.   <tr>
  115.     <td width="7" height="8" ><img border="0" src="orb://image?orbName=box_w_bot_left.gif" width="7" height="8"/></td>
  116.     <td height="8" background="orb://image?orbName=box_w_bot.gif" ></td>
  117.     <td width="8" height="8" ><img border="0" src="orb://image?orbName=box_w_bot_right.gif" width="8" height="8"/></td>
  118.   </tr>
  119. </table></div>
  120. </body>
  121. </html>
  122.