• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/jquery/

Lines Matching defs:position

3 * Includes: core.js, widget.js, position.js, autocomplete.js, menu.js
29 // $.ui might exist from components with no dependencies, e.g., $.ui.position
58 var position = this.css( "position" ),
59 excludeStaticParent = position === "absolute",
63 if ( excludeStaticParent && parent.css( "position" ) === "static" ) {
69 return position === "fixed" || !scrollParent.length ? $( this[ 0 ].ownerDocument || document ) : scrollParent;
256 var elem = $( this[ 0 ] ), position, value;
258 // Ignore z-index if position is set to a value where z-index is ignored by the browser
261 position = elem.css( "position" );
262 if ( position === "absolute" || position === "relative" || position === "fixed" ) {
867 * http://api.jqueryui.com/position/
883 _position = $.fn.position;
926 $.position = {
932 div = $( "<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>" ),
959 width: hasOverflowY ? $.position.scrollbarWidth() : 0,
960 height: hasOverflowX ? $.position.scrollbarWidth() : 0
983 $.fn.position = function( options ) {
993 within = $.position.getWithinInfo( options.within ),
994 scrollInfo = $.position.getScrollInfo( within ),
1071 position = $.extend( {}, basePosition ),
1075 position.left -= elemWidth;
1077 position.left -= elemWidth / 2;
1081 position.top -= elemHeight;
1083 position.top -= elemHeight / 2;
1086 position.left += myOffset[ 0 ];
1087 position.top += myOffset[ 1 ];
1091 position.left = round( position.left );
1092 position.top = round( position.top );
1101 if ( $.ui.position[ collision[ i ] ] ) {
1102 $.ui.position[ collision[ i ] ][ dir ]( position, {
1122 var left = targetOffset.left - position.left,
1124 top = targetOffset.top - position.top,
1136 left: position.left,
1137 top: position.top,
1159 elem.offset( $.extend( position, { using: using } ) );
1163 $.ui.position = {
1165 left: function( position, data ) {
1169 collisionPosLeft = position.left - data.collisionPosition.marginLeft,
1178 newOverRight = position.left + overLeft + data.collisionWidth - outerWidth - withinOffset;
1179 position.left += overLeft - newOverRight;
1182 position.left = withinOffset;
1186 position.left = withinOffset + outerWidth - data.collisionWidth;
1188 position.left = withinOffset;
1193 position.left += overLeft;
1196 position.left -= overRight;
1197 // adjust based on position and margin
1199 position.left = max( position.left - collisionPosLeft, position.left );
1202 top: function( position, data ) {
1206 collisionPosTop = position.top - data.collisionPosition.marginTop,
1215 newOverBottom = position.top + overTop + data.collisionHeight - outerHeight - withinOffset;
1216 position.top += overTop - newOverBottom;
1219 position.top = withinOffset;
1223 position.top = withinOffset + outerHeight - data.collisionHeight;
1225 position.top = withinOffset;
1230 position.top += overTop;
1233 position.top -= overBottom;
1234 // adjust based on position and margin
1236 position.top = max( position.top - collisionPosTop, position.top );
1241 left: function( position, data ) {
1246 collisionPosLeft = position.left - data.collisionPosition.marginLeft,
1264 newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth - outerWidth - withinOffset;
1266 position.left += myOffset + atOffset + offset;
1269 newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset + atOffset + offset - offsetLeft;
1271 position.left += myOffset + atOffset + offset;
1275 top: function( position, data ) {
1280 collisionPosTop = position.top - data.collisionPosition.marginTop,
1298 newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset;
1300 position.top += myOffset + atOffset + offset;
1303 newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop;
1305 position.top += myOffset + atOffset + offset;
1312 $.ui.position.flip.left.apply( this, arguments );
1313 $.ui.position.fit.left.apply( this, arguments );
1316 $.ui.position.flip.top.apply( this, arguments );
1317 $.ui.position.fit.top.apply( this, arguments );
1340 position: "absolute",
1352 div.style.cssText = "position: absolute; left: 10.7432222px;";
1363 var position = $.ui.position;
1388 position: {
1782 // shift in the submenu position when mousing over the carat icon
1794 var position = $.extend({
1796 }, this.options.position );
1807 .position( position );
2017 position: {
2491 // size and position menu
2494 ul.position( $.extend({
2496 }, this.options.position ) );