1) Script Title:
Animated Collapsible DIV v2.4
2) Script URL (on DD):
Animated Collapsible DIV v2.4
3) Describe problem:
I was trying to make a personalized print button, but i seen that the divs from Animated Collapsible are not showing on prints...
What should i do?
This is the script i am using:
printme - the name of the principal divCode:<script type="text/javascript"> function printSelection(node){ var content=node.innerHTML var pwin=window.open('','print_content','width=100,height=100'); var elem=document.getElementById("printme").innerHTML; pwin.document.open(); pwin.document.write('<html><body onload="window.print()">'+elem+'</body></html>'); pwin.document.close(); setTimeout(function(){pwin.close();},1000); } </script>
printme is a table which contains all the toggled divs with the "display: none;" propriety...
i tried to print you page with Animated Collapsible DIV v2.4 and it's the same thing...doesn't sees the hidden divs...
This is the printing button:
Thanks for the help!!!!Code:<a href="" onclick="printSelection('elem');return false">print</a>



Reply With Quote

Bookmarks