Changeset 6450
- Timestamp:
- Apr 22, 2014, 9:59:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/include/scripts/main-2.js
r6449 r6450 1977 1977 @param pointerClass Optional, if not given the function will automatically decide if 1978 1978 the pointer is above or below the notification. Accept values: pointer-above, pointer-below, pointer-left 1979 */ 1980 forms.showNotification = function(element, message, subclass, pointerClass) 1979 @param pointerAlign 'left' or 'right', if not specified auto-select depending on location on page 1980 */ 1981 forms.showNotification = function(element, message, subclass, pointerClass, pointerAlign) 1981 1982 { 1982 1983 element = Doc.element(element); … … 2031 2032 if (!pointerPos) 2032 2033 { 2033 if (pos.left > winPos.width / 2 )2034 if (pos.left > winPos.width / 2 && pointerAlign != 'left') 2034 2035 { 2035 2036 // If we are on the right side of the window,
Note: See TracChangeset
for help on using the changeset viewer.