top_offset issue, Mozilla version of "_isIE"

Hi

I am trying to set the top_offset for a context menu when used in firefox. I have seen the command for IE, for example var top_offset = (_isIE)?50:150; .

I was wondering if there is an firefox/mozilla alternative to “_isIE”?

Thanks
Scott

Hi,

yes, there is the solution for FireFox - _isFF