Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // moving elements
- function moveElements() {
- if (imgLinksNodePopup && bodyNode && bodyNode[0].tagName) {
- for (i = 0, li = imgLinksNodePopup.length; i < li; ++i) {
- bodyNode[0].appendChild(imgLinksNodePopup[i]);
- }
- if (imgLinksNodePopup.length >= 1) {
- Dom.addClass(bodyNode, "popupBlock");
- setTimeout(function() {
- Dom.addClass(bodyNode, "animate");
- }, 500);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement