Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

[Added] JS nuIsVisible(), nuIsHidden()

Information about updates, news, Code Library
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

[Added] JS nuIsVisible(), nuIsHidden()

Unread post by admin »

The function nuIsVisible() returns true, if an object is visible and false, if it is invisible.

:arrow: Example:

Code: Select all

if (nuIsVisible('object_id')) alert('The object is visible');
Likewise, the function nuIsHidden() returns true, if an object is hidden and false, if it is visible.

:arrow: Example:

Code: Select all

if (nuIsHidden('object_id')) alert('The object is hidden');
Post Reply