Tree menu JS has many features on the Internet. I wrote a tree menu class myself. I think it is not bad. We share and discuss it publicly. We are the happiest to make progress with everyone !!
/* Kuomart.com _ mykuomart, create by ybcola (AT) 163.com, 2006-7-2
Last modified 2006-7-2, ybcola@163.com */
Function dtree (){
This. menugroupclose = "images/treeview_close.gif"; // close the menu icon
This. menugroupopen = "images/treeview_open.gif"; // open the menu icon
This. menuitemclass = ""; // me
interface, but must be the first parameter of shutdownShutdown-l log out of the current userShutdown-r shutdown and restartShutdown-s-t time setting shutdown countdownShutdown-h Sleep (5) modify the name Dialog at the top of the dialog window;Dialog. setWindowTitle ("New title"); // enter what to changeDialog. show (); (6) modify the Dialog window icon and application icon
First, prepare an ICO icon, for example, app.
If you use IE7 or a browser with multiple tabs, you will surely find the personal icon at the front of the tab. How can this be done?
I have never quite understood it. By chance, my colleague told me several practices and posted them to share with you.
1.Put an ico icon directly to the root directory of your website and name it favicon. ICO. Favicon. ICO s
1. Change the application icon:A. Copy your ICO to the res folder, delete mytest. ICO, rename your *. ICO to mytest. ICO, and compile and run
The icon of the corresponding mytest.exe is changed.B. Code method -- copy the following code snippet to bool cmytestapp: initinstance () {...} under cmytest. cpp (){...}(Before
WinformNotifyiconUse (similar to QQMessage prompt)
Overview: In CTIIn the process of calling, the corresponding customer information needs to pop up on the client, so a tray of client program is required to run, when there is a call, the staff will be prompted through the flash of the tray icon (of course, you can also add some sound effects. Here I use policyiconThe main steps are as follows:
Step 1: Find policyicon in the toolboxControl, drag it into the design layout,
Step 2: Set the corr
This article mainly introduces the basic application of nodejs. It has good reference value. Let's take a look at the first nodejs Application below.
N1_hello.js
Console. log ('Hello word! ');
Execute the file in command line cmd (Open command line in the file ):
Node nw.hello.js
The command line cmd returns the result:
Hello word!
Ii. Basic nodejs format
// Step 1: Introduce the require module and load the require command into the http module var http = require ('http'); // Step 2: Create the
If you use IE7 or a browser with multiple tabs, you will surely find the personal icon at the front of the tab. How can this be done?I have never quite understood it. By chance, my colleague told me several practices and posted them to share with you.1.Put an ico icon directly to the root directory of your website and name it favicon. ico. Favicon. ico should be
cursor over the icon
3. icon attributes
Icons displayed in the tray
4. visiable attributes
Determines whether the icon is visible
Implementation process of a Dynamic System Tray:
1. Drag the policyicon and timer controls;
2. Add the following code to the form class:
Int ICO = 1; // record the current icon serial number
3. Start the timer and change the icon dynamically.
Private void timerjavastick (Object sender, system. eventargs E)
{
String path; /
also allows the hard disk to run programs automatically. The method is very simple. Open notepad, right-click the file, and select "RENAME" in the pop-up menu ", rename it AutoRun. inf, in AutoRun. type the following content in inf:
[AutoRun] // indicates that the AutoRun part starts and must be entered
Icon = C:/C. ico // a personalized drive letter Icon for drive C. ico
Open = C:/1.exe // specifies the r
// Declaration: loadicon (hinstance: hinst; {EXE or DLL handle, 0 indicates loading system resources} lpiconname: pchar {Resource Identifier}): hicon; {return icon handle}
Here is an example
// Example of calling the System icon: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; Procedure button1click (Sender: tobject); end; var form1: tform1; implementation {$ R *. D
How to set a small icon in the address bar of a webpage:
Let's talk about the following:
The twoCode.
In the address bar of a browser, how does one set a "circle" icon in your JSP webpage?
The common practice is:
Create an icon file in advance. The size is 16*16 pixels. The file extension is ICO and then uploaded to the corresponding directory.
Add the following code between the source file
Favorites:
Favicon.
First, prepare an ico icon.
For example: Luo. ICO, you can use the image converter to convert images in other formats to. ICO format.
you can also find it online. Use NotePad to create a TXT file and write a line: idi_icon1 icon discardable "Luo. ICO "Save and modify the suffix. RC, for example, MyApp. RC and Icon.
Windows Desktop is every day we start the computer to face the screen, computers, networks, recycling stations, folders, these icons are familiar with the familiar, the number of years unchanged, I am afraid already aesthetic fatigue, can there be any way to change these several icons? The answer is yes, But perhaps most of the changes still stay in the system default or the system provided by the fixed icon, this change will let us not know, so we may wish to the desktop icon personality in the
The VC ++ client reduces the package size and the vc size.Image compression:
1. The size of the background image is generally-kb. The solid color image can be reduced to 1-3 kb. The method can be reduced to more than 1 MB;2. ico is generally 256-256 kb, 16x16 to x, which can be reduced by about 50 kb after several sizes are subtracted. exe with. ico can be reduced;3. The.
comboBox2_DrawItem (object sender, DrawItemEventArgs e)
{
// Obtain the graphic surface on which you want to draw items
Graphics g = e. Graphics;
// Obtain the rectangle representing the boundary of the drawn item
System. Drawing. Rectangle rect = e. Bounds;
// Define the icon image to be drawn to the control
Image ico = Image. FromFile ("head.png ");
// Define the font object
System. Drawing. Font font = new System. Drawing. Font (new FontFamily (""
CSS custom mouse pointer style for the use of picture Cursor:url (), today in the project, to use the custom mouse style, format:Css:{cursor:url (' Picture of Absolute path (format: Cur,ico) '),-moz-zoom-out;} FF belowCss:{cursor:url (' absolute path '), auto;} Ie,ff,chrome Browser is availableThe front URL is the custom mouse format, the absolute path address of the image, the following parameters are the CSS standard cursor style, (ie can not be req
10 free icon generator webpage designer, free enterprise icon Generator
In this presentation, we provide the best web designer 10 icon generator. These icon generators are free to use, and some are with advanced features that will help you generate compelling and attractive web pages for your website.
In order to pack them up, they can download them freely. Let's take a look and select your choice. We hope this list proves that you are the best. Please share this list with your friends at any ti
$ico _pic is the watermark you want to add watermark image, the other parameters are detailed description, if you look at this type of code can be downloaded to save PHP file and then use the call method behind said to call this generated watermark image class code.
$ico _pic is you want to add watermark image watermark, the other parameters are detailed description, if you look at this type of code can be
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.