Enable full-screen image up/down, and enable full-screen image
A simple and small function can be encapsulated as a plug-in as needed, and some configuration parameters are added, such as the delay time, expansion time, expansion effect, callback function, container, and so on.
<! DOCTYPE html>
<Html>
<Head>
<Title> </title>
<Style>
Body {
Margin: 0;
Padding: 0;
}
. Wrap {
Overflow: hidden;
Position: fixed;
Z-index: 99999;
Width: 100%;
Top: 0;
Left: 0;
}
. Div {
Overflow: hidden;
Position: absolute;
Width: 100%;
}
. D {
Background: url(1.jpg) center no-repeat;
Height: 100%;
}
</Style>
</Head>
<Body>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<P> This is the website content. </p>
<Div class = "wrap">
<Div id = "d1" class = "div">
<Div class = "d"> </div>
</Div>
<Div id = "d2" class = "div">
<Div class = "d"> </div>
</Div>
</Div>
<Script src = "jquery-1.8.3.min.js"> </script>
<Script>
Var h = $ (window). height ();
Var h1 = h/2;
$ ('# D1, # d2'). height (h1 );
$ ('. Wrap,. D'). height (h );
Certificate ('{d2'}.css ('top', h1 );
$ ('# D2 .d'hangzhou.css ('margin-top',-h1 );
SetTimeout (function (){
$ ('# D1'). animate ({'top':-h/2}, 3000 );
$ ('# D2'). animate ({'top ': h}, 3000, function (){
$ ('. Wrapp'). remove ();
});
}, 2000); // open it after a certain period of time
</Script>
</Body>
</Html>
Why does win8 enable the image in full screen mode?
Upload the image to the "image" folder in the "library" folder and open it again.
Why do I see full screen images on my computer?
That's because you use an image viewer by default to view images.
Select the open mode on the image, and then select the WINDOWS Image and fax viewer !!