home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / ClsView / toolbar.aspx < prev    next >
Encoding:
Text File  |  2000-06-23  |  2.5 KB  |  82 lines

  1. <%
  2. /*=====================================================================
  3.   File:      Toolbar.aspx
  4.  
  5.   Summary:   Brief summary of the file contents and purpose.
  6.  
  7. ---------------------------------------------------------------------
  8.   This file is part of the Microsoft NGWS SDK Code Samples.
  9.  
  10.   Copyright (C) 2000 Microsoft Corporation.  All rights reserved.
  11.  
  12. This source code is intended only as a supplement to Microsoft
  13. Development Tools and/or on-line documentation.  See these other
  14. materials for detailed information regarding Microsoft code samples.
  15.  
  16. THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  17. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  18. IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  19. PARTICULAR PURPOSE.
  20. =====================================================================*/
  21.  
  22. %>
  23.  
  24. <%@ Page Language="C#"%>
  25. <%@ Import Namespace="System" %>
  26. <%@ Import Namespace="System.Reflection"%>
  27. <%@ Import Namespace="System.Collections"%>
  28.  
  29. <Script runat="server">
  30.  
  31.  
  32. </Script>
  33.  
  34.  
  35. <html>
  36.  
  37.   <head>
  38. <SCRIPT language="JavaScript1.1">
  39.  
  40. function AddLibrary()
  41. {
  42.     window.open("popup_add.aspx",null, "height=150,width=600");
  43. }
  44.  
  45. function RemoveLibrary()
  46. {
  47.  // window.open("popup_remove.aspx",null,"Remove Library","height=600,width=200,scrollbars=yes,resizable=yes");
  48. window.open("popup_remove.aspx",null,"height=600,width=250,scrollbars=yes,toolbar=no,menubar=no,location=no");
  49.  
  50. }
  51.  
  52. function Srch()
  53. {
  54.   window.open("popup_find.aspx", "Search", "width=400, height=100");
  55. }
  56.  
  57.  
  58. </SCRIPT> 
  59.  
  60.   </head>
  61.  
  62.  
  63. <Body style="margin:0px;bgColor:#6699cc;">
  64. <TABLE bgColor=#6699cc border=0 cellPadding=0 cellSpacing=0 width="100%">
  65.   <TBODY>
  66.   <TR>
  67.     <TD bgColor=#6699cc colSpan=4 height=20 noWrap vAlign=center><FONT 
  68.       color=#ffffff face="Verdana, Arial" size=1><B>  
  69. <SPAN id=search onclick=Srch() onmouseout="search.style.color='white'" 
  70.       onmouseover="search.style.color='red'" 
  71.       style="CURSOR: hand">Search</SPAN>  |   
  72. <SPAN id=add onclick=AddLibrary() onmouseout="add.style.color='white'" 
  73.       onmouseover="add.style.color='red'" style="CURSOR: hand">Add 
  74.       Library</SPAN>  |   
  75. <SPAN id=remove onclick=RemoveLibrary() onmouseout="remove.style.color='white'" 
  76.       onmouseover="remove.style.color='red'" style="CURSOR: hand">Remove 
  77.       Library</SPAN>  |   
  78. </B></FONT></TD></TR></TBODY></TABLE>
  79.  
  80.  
  81. </body>
  82. </html>