Changeset 18908 for lang/javascript
- Timestamp:
- 09/06/08 02:11:14 (3 months ago)
- Files:
-
- 1 modified
-
lang/javascript/userscripts/poptip.user.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/userscripts/poptip.user.js
r18902 r18908 386 386 // adjust position 387 387 var targetDimension = getDimension(targetElement); 388 //FIXME389 388 if (targetDimension.offsetRight > targetDimension.offsetLeft) { 390 389 // Right … … 396 395 // Left 397 396 var dimension = getDimension(this); 398 if (dimension.width > targetDimension.offsetLeft) popupAreaObj.style.width = targetDimension.offsetLeft + 'px';399 popupAreaObj.style.left = targetDimension.left -dimension.width+ 'px';400 popupAreaObj.style.top = targetDimension.top;397 this.style.top = targetDimension.top; 398 if (dimension.width > targetDimension.offsetLeft) this.style.width = targetDimension.offsetLeft + 'px'; 399 this.style.left = targetDimension.left - this.offsetWidth + 'px'; 401 400 } 402 401
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)