I would use a css selector similar to this from a jquery widget.
$('link[href$="my-app.css"]')
If you return the result, it means that there is a link element that has a href ending in "my-app.css"
Then use this function to check for a specific css property on the element you are in. I would suggest something specific for you styles, such as the width of the container, and not something like -9999 zindex
var getStyle = function(el, styleProp) { var x = !!el.nodeType ? el : document.getElementById(el); if (x.currentStyle) var y = x.currentStyle[styleProp]; else if (window.getComputedStyle) var y = document.defaultView.getComputedStyle(x, null).getPropertyValue(styleProp); return y; }
Like this
getStyle($('#stats-container')[0], "width")
or
getStyle("stats-container", "width")
Matthew.Lothian Dec 20 '13 at 1:29 2013-12-20 01:29
source share