Continue with my last article, set cookies up and take them out
Copy Code code as follows:
var userName = Ext.util.Cookies.get (' UserName ');
var userauthority = Ext.util.Cookies.get (' userauthority ');//0,1,2
We can use it next.
Copy Code code as follows:
The tree menu is displayed with different permissions
var treeurl= '.. /store/cctree ' +userauthority+ '. JSON ';
var treestore = ext.create (
The current more popular several different versions of the JVM's maximum memory:
Corporate JVM version maximum memory (mega) client maximum memory (MB) serverSUN 1.5.x 1492 1520SUN 1.5.5 (Linux) 2634 2660SUN 1.4.2 1564 1564SUN 1.4.2 (Linux) 1900 1260IBM 1.4.2 (Linux) 2047 N/ABEA JRockit 1.5 (U3) 1909 1902Unless otherwise stated, the JVM version runs under the Windows operating systemAttach: How to obtain the maximum available memory of the JVMTest
Test environment (client browser)
IE6,IE7, IE8 compatibility mode, IE8
Firefox 3.6.8, Google Chrome 5.0.375.125
The standard definitions of two functions are described first.
Elementnode.setattribute (Name,value)
Name required. Specify the name of the property to set.
Value required. Specify the property value to set.
This method sets the specified property to the specified value. If a property with the specified name does not exist, the method creates a new property.
Elementnode.getattribute
This method supports IE browsers and other browsers.
1, first define two link, of course you can also be one, the second is to change the CSS
Copy Code code as follows:
2, the following JavaScript code will be based on different browser size, change the CSS
Copy Code code as follows:
function Adjuststyle (width) {
width = parseint (width);
if (Width $ ("#css"). attr ("href", "css/narrow.css");
else if ((width >=
analyze code vulnerabilities across different languages. Currently, it supports all mainstream development languages.
This article introduces the usage and features of the three tools based on the analysis of an application instance.
0 × 02 RIPS
The main features of RIPS are as follows:
1) it can detect XSS, SQL injection, file leakage, local/remote file inclusion, remote command execution, and mor
10 recommended tools for Java developers and 10 recommended tools for java developers
The following are the 10 most commonly used tools for Java programmers in their daily lives. If you are using Java, this article will help you. If you are not familiar with these tools, you can have a more systematic understanding of
.
Performance monitoring can also be achieved by monitoring the usage of hard disks. A large number of hard disk reads and writes may cause performance problems of applications, this requires our program designers to minimize disk read/write operations and read/write data during program design, and improve application performance by using cached and exchanged data.
Monitoring the overhead of network transmission for network-based applications is also a method for performance monitoring. The exch
.
Online Tools and Resources
minify! : An application developed using PHP5 to merge compressed js/css files. The results of the merge compression can be optimized for client-side caching through HTTP gzip/deflate and some related headers.
Http_staticmerger: Automatically "merge" CSS and JavaScript files.
PHP Objectgenerator: An open source PHP code generator. It can generate concise and testable object-oriented code for your php4/PHP5
Supporting different screenspreviousnext
This lesson teaches you
Create different layouts
Create different bitmaps
You shoshould also read
Designing for multiple screens
Supporting multiple screens
Iconography Design Guide
The screen size and pixel density of Android devices are different. Your applications run
Android-Support for different devices-support different screensAndroid generally classifies device screens in two broad categories: size and resolution. The app should consider size and resolution when running on the device. Similarly, you should include different resources to adapt the app to different screen sizes an
Can I submit data to different pages by clicking different buttons? there is a form that submits some data. I have two ways to process the data, but the two methods are located on two different pages. Can I submit it to a different page by pressing the different "de" button?
The Android system uses two common properties: size and density to classify the device screen.You'll need to pre-measure what screen device your app will be installed on, including screen size and density. In this case, you will need to provide some optional resource classes to give your app the best display on different screen devices.
There are four kinds of universal sizes: small, normal, large, xlarge
There are also four common densit
Let CSS distinguish between different browsersDistinguish between different browsers, CSS hack notation:
Difference between IE6 and FF:Background:orange;*background:blue;
Difference between IE6 and IE7:Background:green!important;background:blue;
Difference between IE7 and FF:Background:orange; *background:green;How to make different browsers call
Two days ago, there was a "different terminal" on Apple's App Store, which was actually a very simple thing, however, the author is really ingenious-I mean the author of different terminals in real life or in movies ("Dream of Youth" and "If You Are the One")-So the advent of different terminals in the iPhone version has just arrived, I was immediately sought aft
Presumably many friends have encountered a site has two snapshot time, or even three snapshot time, although it is the same URL, but only the content of the search is not the same, there have been a snapshot of different times, what is the reason why, today where all SEO chat about this problem. First of all, we analyze a Web site two different times of the snapshot is normal, first look at a few screenshot
Can I submit data to different pages by clicking different buttons? there is a form that submits some data. I have two ways to process the data, but the two methods are located on two different pages. Can I submit it to a different page by pressing the different "de" button?
Highlights of efficient Java programming tools and Java programming tools
Java developers often find ways to write Java code faster and make programming easier. At present, more and more efficient programming tools are emerging on the market. Therefore, the following lists a series of tools, including the efficient
-based: Use a different domain name for each virtual host, but the corresponding IP address is the same.2. Based on IP address: each virtual host uses a different domain name, and the corresponding IP address is not the same.3. Port-based: This approach does not use domain names, IP addresses to differentiate between different site content, but instead uses
How to make different browsers call different CSS stylesBecause of the degree of support for the standard, the same CSS style sheet is often rendered in different Web browsers. In the case of Microsoft Internet Explorer and Mozilla Firefox, the two browsers that currently have the highest market share, the former is significantly less supportive of standards than
I had a project several months ago and had a headache in displaying and executing JavaScript and CSS in different browsers. Today I searched the internet and summarized the information, this document is from the Internet and cannot be used to specify the source.
I. There are two methods to write CSS for different browsers:
1. Use the underscore (*) and underscore (_) to distinguish them, as shown below:
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.