(This article reproduced: http://csumissu.iteye.com/blog/1118790)
Jquery (window). Height () indicates the size of the currently visible area, while jquery (document). Height () indicates the height of the entire document.
Note that jquery (window). Height () changes as the
This is a very cool click to deform full-screen enlarged jquery modal window plugin. The modal window plug-in when the user clicks on a button, the button first transforms into a circle, and then zooms in from the small circle to the full screen, the effect is very cool.The animation effect at the end of the modal window
A jQuery-based image scenario tagging and pop-up window Effects
Today, we will share with you a jQuery-based image scenario annotation prompt pop-up window special effect. This instance is suitable for marking an object on an image. Click the pop-up details to describe it, compatible with 360, FireFox, Chrome, Safari,
Click on a button, pop-up a custom window, and can be arbitrarily dragged, jquery can also achieve this function, here is a good example, you can feel the We often see on the Web page, when clicked a button, pop-up a custom window, and can drag and drop arbitrarily, thus change its position nbsp; nbsp; use jquery to
Original: jquery--clone 360 pop-up window in the lower right cornerFirst send the browser, for everyone to see.To achieve this effect, follow the idea, the first step, write a good CSS layout, put the picture in the bottom right corner of the browser locationCSS code is very flexible, I write only a simple one, for reference only:The second step, to consider writing jqu
This article mainly introduces the implementation process of window in jquery custom plug-in development. For more information, see the example below, continue reading.
1. jquery. show. js
/** Developer: lzugis * development time: July 15, June 10, 2014 * Implementation function: click the mouse to display the p * version number: 1.0 */(function ($) {$. fn. s
Using jquery to get the value of an element in the parent window in IFRAME, we have to use the DOM method and jquery method to achieve this.
1. In the parent window, select all radio buttons in IFRAME.$ (Window. Frames ["iframe1" cmd.doc ument). Find ("input [@ type = 'Ra
Returns the document root element (HTMLHtmlElement)Document.doc umentElement. currentStyle
Unique IE Method to get element stylesDocument.doc umentElement. contains ()
Dedicated to IE, used to determine whether a document contains a specified node ElementDocument.doc umentElement. compareDocumentPosition ()
This method is supported by comparing the current node with the specified node's document location IE9.
See http://www.jb51.net/article/28281.htm for detailsDocument.doc umentElement. doScro
Most jquery instances or tutorials tell us to bind our jquery code to $ (document). Ready event. Although the $ (document). Ready event is OK in most cases, it is parsed in the order that the document is prepared, but objects such as pictures in the document are running when the object is being downloaded. So at some point, use $ (document). The Ready event does not necessarily achieve the results we expect
Code for Div window vibration effects based on jQuery-simple code, jquerydiv
This is a jQuery window vibration effect code. Click the mouse in the Div border and it starts to vibrate. Applicable to browsers: IE8, 360, FireFox, Chrome, Opera, aoyou, sogou, and windows of the world.
As follows:
The Code is as follows:
Had to use the DOM method and the jquery method to implement the way1. Manipulate all the radio buttons in the selected IFrame in the parent window$ (window.frames["iframe1"].document). Find ("input[@type = ' Radio ']"). attr ("Checked", "true");2. Action in the IFRAME Select all the radio buttons in the parent window$ (window.parent.document). Find ("input[@type
Based on the jquery Adaptive window size navigation menu. This is a responsive navigation menu effect that supports mobile navigation menu code. As follows:Online preview Source DownloadThe implemented code.HTML code:H1>Jquery/zepto Responsive Menu Pgwmenu DemoH1> Pclass= "Dowebok-explain">Please zoom out/Enlarge browser win
Compared to the browser's own alert, confirm, and capabilities, I prefer that everything is custom:First of all in the head tag (of course, like other places to look at) the introduction of plug-in style sheets and JS.-must first introduce jquery-introduced plugin JSThe next step is to invoke the method, first look at the beautiful effect:The above image effect is calledMethod of Use:Next details the effect of the call when the parameters are differen
Implementation of easy Ui + Jquery pop-up window
There are many pop-up windows for easy Ui
I just want to make it easy to implement.
First, reference the easy ui JS
Similarly, his style CSS files must be referenced.
The following is a DIV defined in the pop-up window.
Pop-up contentNote that the div style must be hidden.
Function openwindow (id, titl
The easy Ui has a variety of pop-up windowsI'm just going to come up with a feeling that I realized is handy.The easy UI JS referenced firstAs well as his style. css files are also referencedNow, let's play the window and define a div.It is important to note that the style of div is to be hiddenfunction Openwindow (id,titlename,vwidth,vheight) { $ (' # ' +id). Window ({ width:vwidth,
The function on the network already has this function, is realizes with the pure JS. However, it was found in the project that this function was not compatible with Firefox, and I rewrote this method.
Copy Code code as follows:
Default New Window Configuration
var windowdefaultconfig = new Object;
windowdefaultconfig[' directories ' = ' no ';
windowdefaultconfig[' location ' = ' no ';
windowdefaultconfig[' menubar ' = ' no ';
easy to use, the following actions:
1. Introduce jquery.js and jquery.messager.js files to the page.
2. Call the function in the message plug-in when the page is loaded, set the window size, display the effect, and display the contents.
The code is as follows
Copy Code
$ (function () {$.messager.lays (200, 200);$.messager.anim (' fade ', 1000);$.messager.show ("Hint info", "});
Cases
The code is as
Achieve horizontal centering through CSS tutorials:. classname{margin:0 Auto;width:200px;height:200px;}
2, through the CSS to achieve horizontal center and vertical Center
Creating a horizontally centered and vertically centered div through CSS is a hassle, and you have to know the size of another div in advance:. classname{width:300px;height:200px;Position:absolute;left:50%;top:50%;margin:-100px 0 0-150px;}
3, through jquery to achieve horizontal
The Ready () of jquery implements the Domcontentloaded event, the difference between domcontentloaded and the window Load event
Simply put, the ready () is triggered when the document is loaded, and the pictures and other resources may not be fully loaded, and load is triggered after all the resources have been loaded.
Look at the code for the ready function and it's all clear. The following code adds a c
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.