http://www.hiya4kids.co.uk/girls.htm
This page shows the maphilighting in action. When I click Print
Preview, the large page images (showing the toys) disappears showing
just the super-imposed text.
If I rem out the $('.map').maphilight(); statement, and then print
preview, the images appear O
To be more constructive lets analyse what we're trying to do in the first
place. Based on the code posted am I right to assume that the maphilight()
method applied to $('.map') writes inline css / markup to highlight the map?
If so there are a few ways to remove these highlights for print. First
cr
In-line CSS modifications will remain. When you send the
window.print() command, the page is printed *as it is* at the moment,
including styling via Javascript. If something is affecting your print
output, it is happening before you press 'print'.
- ricardo
On Oct 20, 6:39 am, "Ca-Phun Ung" <[EM
On Mon, Oct 20, 2008 at 4:13 PM, iantresman <[EMAIL PROTECTED]> wrote:
>
> I'm sure my jQuery scripts are doing something, because I when I REM
> them out, my printouts are fine.
Could you post up a demo?
--
Ca-Phun Ung
+ http://yelotofu.com
+ css, django, hongkong, html, javascript, php
I'm sure my jQuery scripts are doing something, because I when I REM
them out, my printouts are fine.
On Oct 19, 7:15 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
> The media attribute is only for CSS files, not scripts... scripts
> never run when printing.
>
> On Oct 19, 9:25 am, iantresman <[EMAI
The media attribute is only for CSS files, not scripts... scripts
never run when printing.
On Oct 19, 9:25 am, iantresman <[EMAIL PROTECTED]> wrote:
> media="screen, projection">
>
> I wanted disable jQuery on printing, but added the media tag didn't
> work for me. Is there a proper way to do it
6 matches
Mail list logo