HTML Snippet - Section that occupies same space but appears based on what is pressed.
Hi, I am fairly new when it comes to working with HTML script. And I know javascript isn't something that works within a HTML Snippet (at least as far as my own experiences go anyway). Something that I need to script in, is a section that appears and disappears depending on what is pressed. Currently I am using a table to achieve this to some extent.
- <table>
- <th>
- <table>
- <th>
- <details>
- <summary>
- <span>
- <i class="fa fa-bell></i>
- </span>
- </summary>
- <center>
- <table>
- <tr>
- <th>
- <div>
- <a href="#">
- <span> Report Button </span>
- </a>
- </div>
- </th>
- </tr>
- </table>
- </center>
- </details>
- </th>
- </table>
- </th>
- </table>
lines 14-20 are repeated after each other for however number of notification buttons we want.
Between the details here is what we set for the dropdown section. and summary is what stays visible, What
What we want is for this to is have a secondary button on the right side of the screen (the existing one is on the left) but this button show a different dropdown, but the dropdown section occupy the same space as the previous. So for example, if I click icon 1, the existing section shows, if I click icon 2 the new section shows. But always in the same spot. In the end the page will look something like this.
How would I go about getting the section to share a space with the other button.
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.