A previous video I showed how to do some of the hiding and showing a sliding of text.
And one of the things we did was a toggle and being get too far into how that works were some of the
different options are for that.
So I when I explore titles a little bit more here.
Real quick so with my document I get my standards starting a query line up there.
I don't want to do is do what I always do with a dollar sign and the parentheses in the code and want
to say toggle ME TIME ON ME area so grab the string within their title me and what I want to do is click.
I want to explore some different ideas or different things that they can do with that.
So within their minds they function open and close the parentheses open and close a curly bracket and
within time give me so many clicks that can create a function that's going to say I shouldn't target
our
text box and we will say give me the property of toggle and within then we can say how fast we want
it to happen say within four seconds and how do we want to toggle this key try swinging.
Or you can try something kind of fun like that to say swing and then see if you've got the closing tag
right there or the closing curly bracket the closing parentheses.
You need to make sure we have a closing so might call in there.
So this should be about what your document looks like now.
All right.
So talk to me.
Click had a function that says make the text box toggle speed of four seconds and swing and again toggling
is one button that will allow it to both open and close the text or whatever it is that you're trying
to hide and reveal here.
So it may come down here and say toggle menu was the name of the idea that created for this one.
So just keep a toggle as that text box is what I'm hiding and showing up here which is going to edit
right there.
So let's go ahead and save that document and come back to my files and find time I'll drop them onto
a browser.
All right so you got all this text that title.
So it's not working let's see here what did I do.
What did they do.
Heidi Eco's text ECOs toggle me up right there Tuggle me do not have the power sign before it's a safe
bet.
Now come back to my document refresh it click on toggle you can see that that that is the swing option
within Jake Query.
So if I click it again you will see that the text kind of swings out and fades at the same time.