Moderator: Neosoft Support
Is there an easy way to hide / show objects?
BeginJS
$('#PushButton22').hide();
EndJS
and other attributes for an object?
Gaev are we able to change opacity (style) properties for objects as yet?
BeginJS
$('#PushButton22').css({ opacity: 0.3 });
EndJS
BeginJS
$('#PushButton22').fadeTo( "slow" , 0.3);
EndJS
SetAttribute "PushButton22" "opacity" "0.4"
document.getElementById("objectId").style.opacity="0.5"
It seems confusing but we are just using JQuery, NeoAppBuilder or pure JavaScript sintax.
Of course the easier but more limited right now is NeoAppBuilder approach.
GoSub "HideObject" "abcd"
GoSub "FadeObject" "pqrs" "0.3" "slow"
or
gkHideObject("abcd");
gkFadeObject("pqrs","0.3","slow");
I've just tried the Javascript method below for containers which isn't liking it..
BeginJS
$('#container').Hide();
EndJS
BeginJS
$('#myDiv').hide();
EndJS
Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
SetAttribute "Paragraph3" "-moz-user-select" "none"
SetAttribute "Paragraph3" "-webkit-user-select" "none"
SetAttribute "Paragraph3" "-ms-user-select" "none"
.unselectable {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
Return to General NeoAppBuilder Discussion
Users browsing this forum: No registered users and 2 guests