I'm stumped.
I'm opening another browser window to display a print friendly page.  
For the "print" window,
I'm using JQuery to change the style sheet. 

I thought all I would have to do is use a css selector with the context 
of the "print" window.

What am I doing wrong?

Here's my code.
print_win = window.open(window.location).focus();
$("div#class1", print_win.document ).css("display","none");
$("div#class2", print_win.document).css("display","none");
...

this is kicked off from an onclick event from an anchor tag.

Using JQuery 1.0.3 with Drupal 4.7 via the jquery47 Drupal Module.


Thanks in Advance,
eric mckenna.

-- 
Eric Mckenna
Software Developer
Phase2 Technology
[EMAIL PROTECTED]

www.phase2technology.com
Web solutions that fit your business.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to