Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript" charset="utf-8">
- document.observe('dom:loaded', initShowWindow);
- function initShowWindow(e) {
- $('general_information_tab').observe('click', function (elt) { hideProfileInformationWindow });
- $('profile_information_tab').observe('click', function (elt) { hideGeneralInformationWindow });
- };
- function hideProfileInformationWindow(e) {
- var element_id = e.element().id;
- console.log(this);
- id.hide();
- this.show();
- }
- function hideGeneralInformationWindow(e) {
- console.log(this);
- var element_id = e.element().id;
- id.hide();
- this.show();
- }
- </script>
Add Comment
Please, Sign In to add comment