WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Printing TabPane content, Chris Beck, November 8, 2004
     Re:Printing TabPane content, Will, December 9, 2004

Subject: Re:Printing TabPane content From: Will Date: December 9, 2004
I've been working on the same problem and haven't come up with a solution. The best I've come up with is to use window.onbeforeprint(ie only) to modify the CSS to display all the tab-pages. It doesn't look 100% though.

Here is the code:

function window.onbeforeprint()
{
//disposeAllTabs();

var coll = document.all.tags("DIV");
if (coll!=null)
{
for (i=0; i<coll.length; i++) {
if (coll[i].className == "tab-page")
{
coll[i].style.display = "block";
}
}
}
}



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX