PK }eU=Y: ,: va-sticky-mega-menu-dd.cccomp PK |eU^ = = component.json=:{"UUID":"ff6b67c7-1293-4ee0-87ee-12812643cda5","additional_states":{"Container":{"outofview":{"character":".","name":"Out of View","value":"outofview"}},"Link Container":{"outofview":{"character":".","name":"Out of View","value":"outofview"}},"Paragraph":{"outofview":{"character":".","name":"Out of View","value":"outofview"}},"Text Link":{"outofview":{"character":".","name":"Out of View","value":"outofview"}}},"appBuildInfo":"RSD 5.0.3521","appId":"RSD","appVersion":3521,"buildNumber":5973,"component_resources":{"classes":10,"file_sizes_values":[260914,0,0],"file_type_values":[1,0,0],"html_elements":0,"ids":4,"links_external":0,"links_internal":6,"local_files":"1 (local size 254,80 kB)","styled_breakpoints":"600px"},"description":"Your component description","element_name":"Container","framework":"vanillacss","html":"
This is a Group 1 item with accompanying blurb
This is a Group 1 item with accompanying blurb
This is a Group 1 item with accompanying blurb
This is a Group 1 item with accompanying blurb
This is a Group 1 item with accompanying blurb
This is a Group 1 item with accompanying blurb
This is a Group 1 item with accompanying blurb
This is a Group 1 item with accompanying blurb
This is a Group 1 item with accompanying blurb
This is a Group 2 item with accompanying blurb
This is a Group 2 item with accompanying blurb
This is a Group 2 item with accompanying blurb
This is a Group 2 item with accompanying blurb
This is a Group 2 item with accompanying blurb
This is a Group 3 item with accompanying blurb
This is a Group 3 item with accompanying blurb
This is a Group 3 item with accompanying blurb
This is a Group 3 item with accompanying blurb
This is a Group 3 item with accompanying blurb
This is a Group 3 item with accompanying blurb
This is a Group 3 item with accompanying blurb
This is a Group 3 item with accompanying blurb
The text-link elements have z-index:1.
The onclick custom attribute value for rest-of-screen container and text-link elements is
document.getElementById(\"gp-1\").style.height = \"0px\";
document.getElementById(\"gp-2\").style.height = \"0px\";
document.getElementById(\"gp-3\").style.height = \"0px\";
One can therefore do this for just one text-link element, and duplicate for however many buttons one wants, and then for each group button change the onclick custom attribute for that id from \"0px\" to \"auto\".
To prevent group buttons jumping to the top of their own page, I made all their hrefs end in #! - the browser finds no such id to go to, and stays where it was on the page.
The box-holder containers have ids gp-1, gp-2, and gp-3 respectively
The box-holder class has overflow:hidden, a solid colour background, and z-index:1