Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: HV Menu Printing

  1. #1
    Join Date
    Sep 2004
    Location
    New York
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy HV Menu Printing

    HV Menu

    I don't want the HV Menu to show when the page is printing. I have set up a hideprint.css and have linked it properly to the page that I have the menu on, but i can't get the menu to not show up. I am using the following code in my hideprint.css. Help



    <!-- styles for turning off things for print-->
    .noprint {
    display:block; }
    .printonly{
    display:none; }
    [at] media print {
    .printonly {
    display:block; }
    .noprint {
    display:none; }
    }
    .hvmenu/exmplmenu_var.js {
    position:absolute;
    display:none;
    }
    .hvmenu/menu_com.js {
    position:absolute;
    display:none;
    }
    Last edited by jbirdsall; 09-30-2004 at 11:30 AM. Reason: Added URL

  2. #2
    Join Date
    Sep 2004
    Location
    New York
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You mean there is no one out there who can help me with this problem???

  3. #3
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Have patience, i'm working on it

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  4. #4
    Join Date
    Sep 2004
    Location
    New York
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sorry it just felt like no one was out there for me.

  5. #5
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The HV menu doesn't support this way of hiding <DIV></DIV> areas.

    This explains how to hide <DIV></DIV> areas, and when applied to the menu it doesn't work. I suggest trying out some of DD's other menus if this really is an issue.
    http://www.killersites.com/articles/..._Nov3_2003.htm

    Sorry I can't help: CSS Style sheet's aren't exactly my strong point, but I'm pretty sure now that it's incompatible.
    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  6. #6
    Join Date
    Sep 2004
    Location
    New York
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanx for the attempt

  7. #7
    Join Date
    Oct 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Solution??

    Having the same problem.
    Did you manage to find a solution jbirdsall ?

  8. #8
    Join Date
    Sep 2004
    Location
    New York
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No I haven't. I am just living with it for now, but it really bugs me.

  9. #9
    Join Date
    Jun 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Worship me

    muahahahaha, sorry, I just figured out how to hide the HVMenu when printing, thought a devilish laugh was in order.

    Okay, you all wanted to know. Well, start off by creating a class definition in your print style sheet like so:

    .menuItem { visibilty: hidden; display: none; }

    REPEAT this should be defined in a stylesheet that is called like this in the head:

    HTML Code:
    <link rel="STYLESHEET" media="print" href="/common/print.css" type="text/css" />
    notice media="print", means this style sheet will be used only when printing.

    Okay, now in the menu_com.js file scroll down to the 'MbrSetUp' function. After the variable declarations type in:

    this.className = "menuItem";

    This effectivly assigns every element of the HV menu a class name 'menuItem', which when printed will not be visible.

    For the final test open your page up and do a print preview and worship the ground I walk on.

  10. #10
    Join Date
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    <worshiping the ground you walk on>

    Thanks for solving my problem before I had it, and for posting it here so I could fix my problem with virtually no work and no waiting!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •