1 00:00:05,220 --> 00:00:11,670 A previous video I showed how to do some of the hiding and showing a sliding of text. 2 00:00:11,890 --> 00:00:17,410 And one of the things we did was a toggle and being get too far into how that works were some of the 3 00:00:17,420 --> 00:00:19,340 different options are for that. 4 00:00:19,540 --> 00:00:21,880 So I when I explore titles a little bit more here. 5 00:00:23,180 --> 00:00:31,230 Real quick so with my document I get my standards starting a query line up there. 6 00:00:31,380 --> 00:00:38,690 I don't want to do is do what I always do with a dollar sign and the parentheses in the code and want 7 00:00:38,690 --> 00:00:49,810 to say toggle ME TIME ON ME area so grab the string within their title me and what I want to do is click. 8 00:00:49,970 --> 00:00:54,020 I want to explore some different ideas or different things that they can do with that. 9 00:00:54,020 --> 00:01:01,540 So within their minds they function open and close the parentheses open and close a curly bracket and 10 00:01:01,700 --> 00:01:07,400 within time give me so many clicks that can create a function that's going to say I shouldn't target 11 00:01:08,870 --> 00:01:09,440 our 12 00:01:12,530 --> 00:01:22,760 text box and we will say give me the property of toggle and within then we can say how fast we want 13 00:01:22,760 --> 00:01:31,280 it to happen say within four seconds and how do we want to toggle this key try swinging. 14 00:01:31,460 --> 00:01:39,170 Or you can try something kind of fun like that to say swing and then see if you've got the closing tag 15 00:01:39,170 --> 00:01:42,680 right there or the closing curly bracket the closing parentheses. 16 00:01:42,820 --> 00:01:46,130 You need to make sure we have a closing so might call in there. 17 00:01:46,310 --> 00:01:49,340 So this should be about what your document looks like now. 18 00:01:49,780 --> 00:01:50,070 All right. 19 00:01:50,090 --> 00:01:50,750 So talk to me. 20 00:01:50,750 --> 00:01:58,190 Click had a function that says make the text box toggle speed of four seconds and swing and again toggling 21 00:01:58,190 --> 00:02:03,320 is one button that will allow it to both open and close the text or whatever it is that you're trying 22 00:02:03,320 --> 00:02:05,540 to hide and reveal here. 23 00:02:05,660 --> 00:02:11,270 So it may come down here and say toggle menu was the name of the idea that created for this one. 24 00:02:11,570 --> 00:02:18,510 So just keep a toggle as that text box is what I'm hiding and showing up here which is going to edit 25 00:02:18,510 --> 00:02:19,390 right there. 26 00:02:19,700 --> 00:02:26,730 So let's go ahead and save that document and come back to my files and find time I'll drop them onto 27 00:02:26,750 --> 00:02:27,950 a browser. 28 00:02:27,950 --> 00:02:30,420 All right so you got all this text that title. 29 00:02:30,530 --> 00:02:32,480 So it's not working let's see here what did I do. 30 00:02:32,480 --> 00:02:33,710 What did they do. 31 00:02:33,960 --> 00:02:41,320 Heidi Eco's text ECOs toggle me up right there Tuggle me do not have the power sign before it's a safe 32 00:02:41,320 --> 00:02:41,600 bet. 33 00:02:41,600 --> 00:02:50,550 Now come back to my document refresh it click on toggle you can see that that that is the swing option 34 00:02:50,550 --> 00:02:51,330 within Jake Query. 35 00:02:51,330 --> 00:02:57,780 So if I click it again you will see that the text kind of swings out and fades at the same time.