Search the Community
Showing results for tags 'off'.
-
Hello friends!. This is my first time to learn Js. I'm confused to get this codes. See the attached image. I've seen there an image called pic_bulboff.gif in img html tag, that I marked with red color. Unfortunately, I didn't find any HTML tag with pic_bulbon.gif back there in this Tryit Editor , (I marked by green) Even how is it possible to show this image {pic_bulbon.gif) there by clicking on the " Turn on the light" button? Thanks in advance.
-
I want to know, if is there any way to javascript change (switch) between two values (1 and 0) in a Checkbox, A code without resulting in a fixed value, its function becomes only toggle value. For example, I need put this in a Property: if (thisComp.layer("Logo").transform.opacity==100) "My Checkbox" (switch) else 0; After Effects Expression
- 8 replies
-
- Javascript Checkbox
- after
-
(and 8 more)
Tagged with:
-
Hey everyone! Happy new year! So I have been working with this toggle function:variable == '' ? '' : ''In simple variable is what your toggling, then you have a parameter and if (if = ?) the second parameter is false (which you want it to be) it will do else (else = the third parameter.Now it works 99% of the time and I am having trouble when I use the img element.This is my code, any help? HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">