1) Script Title: Style Sheet Switcher (v1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...etswitcher.htm
3) Describe problem:
This script works great. However, I am trying to make a "printer friendly version" of a page using this script, but can't make it working. A "printer friendly version" of a page implies that a new (smaller) target window is opened (with the same page) and the new (print friendly) style is applied on it.
I tried the following, but that doesn't work (it just loads a blank window):
Is this a limitation of the script?Code:<a href="javascript:chooseStyle('printfriendlyversion', 60)" target="new window">[Printversion]</a>
Kind regards,
Jim



Reply With Quote

Bookmarks