Hi there, this is my first post on this forum. I hope somebody can help…
I am using style switcher to provide alternative accessible styles for my website one of which is a printer friendly version. I want to be able to have this printer friendly version pop up in a new window. I have tried using the following script:
<a href=”#” onClick=”myRef = window.open(”+self.location,’mywin’,
‘left=20,top=20,width=800,height=800,toolbar=1,resizable=1’);
myRef.focus(); setActiveStyleSheet(‘print’);return false; “>New Window </a>
…This indeed pops up the print version in a new window but it also changes the style of the main window. How can I have it so the print version is in the popup only and the main window keeps its default styling?
Thanks in advance,
Simon