Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

[jQuery] Moving elements in dom

$(function() {
    setInterval( function() {
        $('div:first').insertAfter($('div').eq(2));
        $('div').eq(1).insertBefore('div:first');
    }, 3000 );
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Moving #elements #dom
ADD COMMENT
Topic
Name
8+4 =