Line 253: | Line 253: | ||
} | } | ||
</style> | </style> | ||
+ | |||
+ | |||
+ | |||
+ | <script> | ||
+ | document.addEventListener("DOMContentLoaded", function(){ | ||
+ | var pd_button_tab1 = document.getElementById("pd_button_tab1"); | ||
+ | var pd_button_tab2 = document.getElementById("pd_button_tab2"); | ||
+ | var pd_button_tab3 = document.getElementById("pd_button_tab3"); | ||
+ | var pd_tab1 = document.getElementById("pd_tab1"); | ||
+ | var pd_tab2 = document.getElementById("pd_tab2"); | ||
+ | var pd_tab3 = document.getElementById("pd_tab3"); | ||
+ | pd_button_tab1.addEventListener("click", function(){ pd_tab1.style.display = "block"; pd_tab2.style.display = "none"; pd_tab3.style.display = "none"; }); | ||
+ | pd_button_tab2.addEventListener("click", function(){ pd_tab1.style.display = "none"; pd_tab2.style.display = "block"; pd_tab3.style.display = "none"; }); | ||
+ | pd_button_tab3.addEventListener("click", function(){ pd_tab1.style.display = "none"; pd_tab2.style.display = "none"; pd_tab3.style.display = "block"; }); | ||
+ | window.scrollTo(0, 600); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
</head> | </head> | ||
Revision as of 13:52, 13 October 2016