Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.addEventListener('DOMContentLoaded', hook);
- function hook() {
- document.elementById('logo_text').addEventListener('mouseover', mouseover);
- document.elementById('logo_text').addEventListener('mouseoff', mouseoff);
- }
- function mouseover() {
- document.elementById('logo_text').tween('height', '300px');
- }
- function mouseoff() {
- document.elementById('logo_text').tween('height', '0px');
- }
Add Comment
Please, Sign In to add comment