Loading ...
Sorry, an error occurred while loading the content.

Re: Tabview printing (partial solution)

Expand Messages
  • Caridy PatiƱo Mayea
    Hi Gino, That s great, I forgot that we can use this in the CSS for printing... Then we have just 2 problems: 1. Distributing the contents after the
    Message 1 of 5 , Jul 5, 2007
    View Source
    • 0 Attachment
      Hi Gino,

      That's great, I forgot that we can use this in the CSS for printing...

      Then we have just 2 problems:

      1. Distributing the contents after the corresponding tab title.
      2. A solution for dynamic tabs (how to deal with tabs that has been
      loaded yet).

      Some clue?

      Regards
      Caridy (caridy at gmail.com)
      http://bubbling.comarq.com/

      --- In ydn-javascript@yahoogroups.com, gino.lardon@... wrote:
      >
      > Hi Caridy
      >
      > <<
      > In this case, the element (a hidden TAB) has a inline style attribute
      > (<div style="display: none;">), and you will not be able to print the
      > content without use a javascript code to change the display value.
      > ...
      > pd: if you solve this problem with the actual tabview component, let
      > me know... ;-)
      > >>
      >
      > There is a way to overrule inline styles via an external stylesheet.
      > Add this to your print stylesheet:
      >
      > .yui-navset .yui-content div {display:block !important;}
      >
      >
      > I have already succesfully smoke tested this on IE6 and FF2 on WinXP
      and
      > Safari and FF2 on MacOS.
      >
      > Best regards
      > Gino Lardon
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.