I have a website with a tab view that is controlled via javascript. With JS disabled, the tabs align vertically under each other. In document.ready a function is called that rearanges the tabs to be over each other so you have to click on the tab header to display the content.
When I call window.print the elements are not shown like they would be without javascript but are over each other what is suboptimal for a paper version of the website.
Is there another way or do I have to rearrange the items back to what they would look like without JS prior to calling window.print ?
EDIT: In general it works like this:
$(document).ready(function()
{
$('.btn1').click(function()
{
$('.tile2').css('display', 'none');
$('.tile1').css('display', 'block');
});
$('.btn2').click(function()
{
$('.tile1').css('display', 'none');
$('.tile2').css('display', 'block');
});
$('.tile2').css('display', 'none');
});