If you go to the online demos, each page includes various code files. In the area that the content of these files is displayed the is a link in the upper right corner which reads "Show code in new window".
Click on this link and a new window does, in fact, open. Now, go to another of the files in the original page and click on the same link.
Disappointed? I was. Instead of now having 2 windows with different files displayed in them, the new window that was opened the first time I clicked on the link had its content replaced with the 2nd file.
A quick look at the scripts suggests that a window called 'codeViewer' is always used. Can you not just use '_blank'?
--
Stuart
Click on this link and a new window does, in fact, open. Now, go to another of the files in the original page and click on the same link.
Disappointed? I was. Instead of now having 2 windows with different files displayed in them, the new window that was opened the first time I clicked on the link had its content replaced with the 2nd file.
A quick look at the scripts suggests that a window called 'codeViewer' is always used. Can you not just use '_blank'?
--
Stuart