Skip to content
Snippets Groups Projects
Commit 41f8d8e6 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

hp3

parent b32a738f
No related branches found
No related tags found
No related merge requests found
......@@ -23,4 +23,12 @@
padding: 30px 20px;
border-radius: 20px;
margin-left: 60px;
}
.act-version, .reflect-version, .engage-version /*, .anticipate-version */{
display: none !important;
}
#g744{
display: block !important;
}
\ No newline at end of file
Source diff could not be displayed: it is too large. Options to address this: view the blob.
/* <a onClick={openElement({elementToOpen: "under-responsibility", classToHide: "understandingtab"})}> */
const HP4 = () => (
<svg
......
......@@ -55,7 +55,7 @@ export function HPIntegrated(){
</div>
</div>
<div className="col framecycletab" id="mendelow" style={{display: "none"}}>
<HP3new/>
</div>
<div className="col framecycletab" id="swot" style={{display: "none"}}>
......@@ -99,7 +99,9 @@ export function HPIntegrated(){
<div className="col framecycletab" id="thirdparty" style={{display: "none"}}>
none
</div>
<div className="col framecycletab" id="feedcycle" style={{display: "none"}}><HP4/> </div>
<div className="col framecycletab" id="feedcycle" style={{display: "none"}}>
<HP3new/>
</div>
<div className="col framecycletab" id="refcycle" style={{display: "none"}}>refcycle </div>
</Subesction>
<Subesction title="Timeline" id="Integrated Human Practices2">
......
export function openClasses({className, classtoHide}:{className: string, classtoHide: string}){
const showElementsByClass = (_event: React.MouseEvent<HTMLElement, MouseEvent>) => {
// Alle Elemente mit der angegebenen Klasse auswählen
const elements = document.getElementsByClassName(className);
const hide = document.getElementsByClassName(classtoHide);
for (let i = 0; i < hide.length; i++) {
hide[i].setAttribute('style', 'display: none;');
}
// Jedes Element durchgehen und den Display-Stil auf 'block' setzen
for (let i = 0; i < elements.length; i++) {
(elements[i] as HTMLElement).style.setProperty('display', 'block', 'important');
}
};
return showElementsByClass;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment