I have my own blog website:
Essentially, what I am aiming for is
When a user clicks on the search button, a floating semi-transparent textarea window should appear inside the designated rectangle area (as shown in the image, that red orange rectangle). If the user clicks on search again, the textarea should disappear.
How do I accomplish this?
Here's what I have so far:
on my webpage
<input type="radio" id="radio3" name="radios" value="search">
<label for="radio3">Search</label>
in my script
if($(this).attr("id") == "radio3"){
}
I understand that I need to fill something in the empty brackets above to show or hide the textarea.
As a beginner in html5, how can I achieve this?