File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1392,6 +1392,16 @@ javaxt.dhtml.utils = {
1392
1392
//** getHighestElements
1393
1393
//**************************************************************************
1394
1394
/** Returns an array of elements at the highest z-index in the document
1395
+ * @param obj DOM element. Optional. If given, will limit search within
1396
+ * the DOM element. Otherwise, searches the entire document (default).
1397
+ * @return A JSON object with the following:
1398
+ * <ul>
1399
+ * <li>zIndex: Number representing the highest z-index</li>
1400
+ * <li>elements: An array of DOM elements at the highest z-index</li>
1401
+ * <li>contains: Function that can be used to test whether a DOM object is
1402
+ * at the highest z-index
1403
+ * </li>
1404
+ * </ul>
1395
1405
*/
1396
1406
getHighestElements : function ( obj ) {
1397
1407
var arr = [ ] ;
You can’t perform that action at this time.
0 commit comments