New
#1
JavaScript help...
So I'm working on adding functions to my battery gadget, and one function I'm trying to add will bring the gadget to the front (make it appear above all other windows) once the battery gets down below 21% (I'll wind up adding a function too that will make it coincide with the user's setting for low battery level) and so I know the main functin will be.
if
(percent < 21)
and then the rest of the function
but I'm not sure what to use...
and code monkeys on here?
I'm not sure if I should use
onBlur='self.focus()'
or not...