<script>
function nWin() {
var w = window.open();
var html = $(".drag-right-2").html();
$(w.document.body).html(html);
$(w.document.body).addClass('html-content');
}
$(".live").click(nWin);
</script>
here is my code it work properly but i want same domain in redirect page because of css issue. it started from body element so css is not working...