Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

[Added] JS nuIsVisible(), nuIsHidden()

Information about updates, news, Code Library
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

[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