Given an element, the function returns a boolean: true if the element is inside the sidebar, false if it is not.
Usage:
<script> if (!inSB(elem)) doSomething(); //run doSomething() if elem is not in the SideBar </script>
elem can either be an HTML element or a string id referencing an element.
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |