This article mainly introduces how to obtain the current webpage size and screen resolution by using JS. The method is simple but practical. For more information, see the following:
The Code is as follows:
Obtains the current object size and screen resolution.
Share a tool site http://screensiz.es is used to query the size, screen density, and resolution of mainstream mobile phones, tablets and displays, with this site we can know the resolution, density, better fit, benefits [collection]./** * -------------- * 欢迎转载 | 转载请注明 * -------------- * 如果对你有帮助,请点击|顶| * -------------- * 请保持谦逊 | 你会走的更远 * -------------- * @author zsl * @github https://github.com/yy13003263
The page can adapt to the screen size of the mobile phone. the picture in it cannot be edited by wealsh at 2014-03-2717: 53: 53 html nbsp; lt; meta nbsp; nameviewport nbsp; contentwidthdevice-width. the minim page can be adaptive to the screen size of the mobile phone. images in the page cannot be
This post was
On the Development Board real210, android2.3 of the application, the screen size of the Development Board is 7-inch and the resolution is 800*480. Now, I want to apply a new screen with a size of 9.7, the resolution is 1024*768. The modified FileKernel/ARCH/RAM/mach-s5pv210/mach-smdkc110.cDzhIn
# Ifdef config_fb_jx_lt
Change vitualbox screen size
1. Run fedora and select "device"-"Install enhancement"
2. A vboxadditional_xxx folder is mounted in fedora.
3. Run the vboxlinuxadditions. Run file in the folder.
4. After installation, you can switch between "control"-"" seamless mode "/" full screen "/" size mode.
Note that the shor
Note: The rounded effect of all iOS icons is generated by the system, and the icons given cannot be rounded.1. Desktop icon (app icon)
For IPhone6 Plus (@3x): 180 x
For IPhone 6/5S/5/4S/4 (@2x): x 120
2. System search box icon (Spotlight Search results icon)
For IPhone6 Plus (@3x): x 120
For IPHONE6/5S/5/4S/4 (@2x): x 80
3. System settings icon (Settings icon)
For IPhone6 Plus (@3x): x 87
For IPHONE6/5S/5/4S/4 (@2x): x 58
4. Boot image (launc
(1) resolution lists of common models are as follows:
Model width and height
Wxga800480x800
Wvga854480X854
Wxga720720x1280
Wqvga400240x400
Wsvga1024x600
Wvga800480x800
Qvga320x240
Wqvga432240x432
Hvga480x320
(2) Simulator Test-scale adjustment
Set"Screen size (in)"Smaller, the simulator also scales down. [The last length and width of the simulator is its original width and high r
1. Desktop icon (app icon)
For IPhone6 Plus (@3x): 180 x
For IPhone 6/5S/5/4S/4 (@2x): x 120
2. System search box icon (Spotlight Search results icon)
For IPhone6 Plus (@3x): x 120
For IPHONE6/5S/5/4S/4 (@2x): x 80
3. System settings icon (Settings icon)
For IPhone6 Plus (@3x): x 87
For IPHONE6/5S/5/4S/4 (@2x): x 58
4. Boot image (launch image)
For IPHOEN5S/5 (@2x): 640 x 1136
For IPHOEN4S/4 (@2x): 640 x 960Iphone6/iphone6 Plus r
Zoom in and zoom in on jQuery images, switch the focus graph in full screen mode, and change jquery size
The jQuery-Based Image zoom-in and zoom-in switching code is a full-screen banner image carousel switching effect. As follows:
Download Online Preview source code
Implementation code.
Html code:
Via: http://www.w2bc.com/article/jquery-big-to-small-change-foc
Official API:A structure describing general information on a display, such as its size, density, and font scaling.To access the Displaymetrics members, initialize a object like this:displaymetrics=newdisplaymetrics();Getwindowmanager(). Getdefaultdisplay(). Getmetrics(metrics); Application Examples:WindowManager WindowManager = (windowmanager) getsystemservice (Context.window_service);Displaymetrics displaymetrics = new Displaymetrics ();Window
1 Form Base classUsing system;using system.collections.generic;using system.componentmodel;using system.data;using System.Drawing; Using system.linq;using system.text;using system.windows.forms;using system.runtime.interopservices;using System.IO Using system.reflection;///C # WinForm automatically scaled based on screen size
have not Installed VMware Tools, right-click it and select install VMware Tools. Select install to download the VMware Tools installation package.
See: http://blog.csdn.net/sunboy_2050/article/details/5370878
Modify the Ubuntu screen size:
Press and modify it by yourself:
Add shortcuts to the sidebar:
Open Ubuntu Software Center and install Main Menu:
Open Main Menu:
Select "new item", "Name: Eclipse"
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.