Is there anyway to set the background and font color for a new window (not opening a new url). Seems like a simple question but I can't find the answer anywhere!
Thanks!
I am creating the page on the fly with:
var display = window.open('', 'NewWin');
I would like to control the bg color on that page. Is there a way to do this?
For some reason that's not working at all, after adding the code the new window is not opening at all. Anyone know why?
here is the code:
var display = window.open('', 'NewWin');
display.document.write("<html>"
display.document.write("<body bgcolor="#ffffcc">"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.