Jump to content

what is the purpose of the function?


Guest pv.koteswararao
 Share

Recommended Posts

Guest pv.koteswararao

Hi friends,please tell me any one, what is the purpose of the folowling function codeif (window.showhide == null){window.showhide = function (obj, bShow) { if (obj == null) return; if (bShow) { var y = getScrollY(); if (y != 0) obj.style.top = y; obj.style.visibility = "visible"; obj.style.display = "block"; } else { obj.style.visibility = "hidden"; obj.style.display = "none"; } }}Thanks in adavanse,koti.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...