Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addVideo(id, img) {
- var ul = document.getElementById('videoList');
- var li = document.createElement('li');
- li.setAttribute('class', 'span3');
- var html = "<div class='thumbnail border-radius-top'><div class='bg-thumbnail-img'><a class='overlay' href='detail.html'><img src='" + img + "'></a><img class='border-radius-top' src='assets/img/project/pj3.jpg'></div><h5><a href='detail.html'>Lorem ipsum dolor sit </a></h5></div><div class='box border-radius-bottom'><p><span class='title_torrent pull-left'>Hentai</span><span class='number-view pull-right'><i class='icon-white icon-eye-open'></i>1,444,898</span></p></div>";
- li.appendChild(document.write(html));
- ul.appendChild(li);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement