$(document).ready(function() {
jQuery.fn.center = function () {
this.css("position","absolute");
this.css("top", ( $(window).height() - this.height() ) / 2+$(window).scrollTop() + "px");
this.css("left", ( $(window).width() - this.width() ) / 2+$(window).scrollLeft() + "px");
return this;
}
$("#id").center();
});
引自:
25 个 jQuery 使用技巧(jQuery tips, tricks & solutions)
分享到:
相关推荐
taxi settlement center system of Xi’an metropolitan union card, is the essential bridge which connects taxi operating company to the central liquidation system .it is responsible for processing ...
半单李代数的包络代数的中心,李立斌,夏利猛, 设$sg$是有限维复单李代数且$U=U_q(sg)$是其Jantzen意义下的量子包络代数, 其中$q$是generic的. 在本文中, 我们证明了任意量子群$U_q(sg)$的中心
The NASA AVIRIS (Airborne Visible/Infrared Imaging Spectrometer) instrument acquired data over the Kennedy Space Center (KSC), Florida, on March 23, 1996. AVIRIS acquires data in 224 bands of 10 nm ...
Th Art of the Data Center
The NASA AVIRIS (Airborne Visible/Infrared Imaging Spectrometer) instrument acquired data over the Kennedy Space Center (KSC), Florida, on March 23, 1996. AVIRIS acquires data in 224 bands of 10 nm ...
数据中心的研究综述,包括了最近几年的最新研究成果... The survey presents an overview of the ongoing research in the broad domain of DCNs and highlights the challenges faced by the DCN research community.
Starting with an introduction to PowerShell, this quick reference guide will enable you to get the most out of the latest Microsoft PowerShell techniques to manage the suite of System Center products....
nsdi论文 Sharing the data center Network
I settled for making a big background image set to center and setting the background form color to the same color as the sky. More testing on multiple resolutions would show how well this worked....
IO Consolidation in the Data Center
1 Cost-Effective Management Practices for the Data Center 2 The Outsourcing Alternative 3 Downsizing Computer Resources: Pianning, Implementation, 4 Fine Tuning the Help Desk: Goals and Objectives 5 ...
Complete theory and practice for the CCNA Data Center Technologies exam CCNA Data Center, Introducing Cisco Data Center Technologies Study Guide is your comprehensive study guide for exam 640-916. ...
Moving on from the basics, the later recipes demonstrate how you can create System Center Configuration Manager reports using the report builder tool and System Center Operations and Virtual Machine ...
When holding registers or status coils are viewed, you can double click on a number in order to write a value to the slave. Can write a single register. Simple write multiple coils to a slave. Screen...
The book starts with an introduction to Microsoft Azure and how it differs from Office 365—Microsoft’s ‘other’ cloud. You'll also get a useful overview of the services available. Part II then ...
system includes an electric hand grinder mounted on a CNC machining center, a force sensor to measure the normal grinding force, and a force control sub-system to adjust the grinding depth. The CNC ...
Power Center online help
I/O Consolidation in the Data Center is the only complete, up-to-date guide to FCoE. FCoE innovators Silvano Gai and Claudio DeSanti (chair of the T11 FCoE standards working group) systematically ...
SNIA DSI (Data Storage Innovation Conference) 2015 WayneLam_Flash_Cache_in_the_Data_Center
Cisco - Build the Best Data Center Facility for Your Business.chm