Данило Кубай's Library tagged → View Popular
15 Jul 09
idTabs
jQuery idTabs
Sean Catchpole
* idTabs is simple and easy to use.
* It's not overloaded with features, it gets to the point.
UI - jQuery JavaScript Library
This is the wiki overview for jQuery UI, jQuery's visual controls. jQuery UI features a wide range of core interaction plugins as well as many UI widgets.
-
This is the wiki overview for jQuery UI, jQuery's visual controls. jQuery UI features a wide range of core interaction plugins as well as many UI widgets.
[jQuery] Re: Center a Div
Vertically centering div in viewport with jqwery
-
I think you're mistaken about where the preloader will show up.
click on a "center" button, and see where the div goes
Take a look at the demo page I put together:
http://test.learningjquery.com/center.html -
// vertically center something in the viewport
return window.innerHeight - (($
(function($){
$.fn.vCenter = function(options) {
var pos = {
sTop : function() {
return window.pageYOffset || $.boxModel &&
document.documentElement.scrollTop || document.body.scrollTop;
},
wHeight : function() {
if ( $.browser.opera || ($.browser.safari && parseInt
($.browser.version) > 520) ) {
(document).height() >window.innerHeight) ? getScrollbarWidth() : 0);
} else if ( $.browser.safari ) {
return window.innerHeight;
} else {
return $.boxModel && document.documentElement.clientHeight
|| document.body.clientHeight;
}
}
};
return this.each(function(index) {
if (index == 0) {
var $this = $(this);
var elHeight = $this.height();
$this.css({
position: 'absolute',
marginTop: '0',
top: pos.sTop() + (pos.wHeight() / 2) - (elHeight / 2)
});
}
});
};
})(jQuery);
// center an element
$(document).ready(function() {
$('#foo').vCenter();
});
--Karl
_________________
Karl Swedbergwww.englishrules.comwww.learningjquery.com
jQEm - Interact with the base 'em' unit
jQEm is a plugin for the jQuery JavaScript library that detects changes to the computed value of 1em and triggers an event as appropriate.
07 Apr 08
jQuery Dimensions Plugin 1.1
-
The dimensions plugin extends jQuery with dimension centric methods.
-
Methods like width and height are extended by dimensions to enable you to get the width and height of both the window and the document. Methods like offset and position help you find the coordinates of an element on your page.
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in plugins
Related Lists on Diigo
-
WordPress Plugins
A list of useful wordpress ...
Items: 6 | Visits: 134
Created by: Suzannah Porter
-
Wordpress
Alles rund um Wordpress: Wi...
Items: 19 | Visits: 76
Created by: Marcel Zielinski
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
