Guest User

Untitled

a guest
May 28th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <script type="text/javascript" charset="utf-8">
  2. document.observe('dom:loaded', initShowWindow);
  3. function initShowWindow(e) {
  4. $('general_information_tab').observe('click', function (elt) { hideProfileInformationWindow });
  5. $('profile_information_tab').observe('click', function (elt) { hideGeneralInformationWindow });
  6. };
  7.  
  8. function hideProfileInformationWindow(e) {
  9. var element_id = e.element().id;
  10. console.log(this);
  11. id.hide();
  12. this.show();
  13. }
  14.  
  15. function hideGeneralInformationWindow(e) {
  16. console.log(this);
  17. var element_id = e.element().id;
  18. id.hide();
  19. this.show();
  20. }
  21. </script>
Add Comment
Please, Sign In to add comment