104
rated 0 times
[
105]
[
1]
/ answers: 1 / hits: 24517
/ 11 Years ago, mon, january 20, 2014, 12:00:00
I would like to style my window.open,
I currently have some items on my webpage that open due to a certain class that is parsed, which there after opens the specified text in a new window.
I would like to change the font-size, font and padding etc.
Here is my javascript code.
<script type=text/javascript>
$(.Show a).click(function () {
var html = $(this).parent().next(div.show-dialog).html();
var my_window = window.open(, mywindow1, width=750,height=550);
$(my_window.document).find(body).html(html);
});
</script>
How do I parse css styles in javascript?
More From » html