osCmax v2.5 User Manual
Results 1 to 4 of 4

print.css hide dhtml menu

This is a discussion on print.css hide dhtml menu within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi - I'm working on creating a print.css to print pages from 1-800flags.com. I've hidden everything except for the dhtml ...

      
  1. #1
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default print.css hide dhtml menu

    Hi -

    I'm working on creating a print.css to print pages from 1-800flags.com. I've hidden everything except for the dhtml categories menu. How do I hide the menu?

    Thanks,
    Barb


    Here is the html code around the menu:

    td class="boxText">
    <table>
    <tbody>
    <tr>
    <td>
    <div id="MenuBar" style="position: relative; width: 115px; height: 330px;"/>
    </td>
    </tr>
    </tbody>
    </table>
    </td>


    Here is my print.css file:

    .doNotPrintThis {
    display: none
    }

    body {
    color: black;
    background: white;
    font-size: 7pt;
    }

    .toplinks {
    display: none;
    }

    TR.headerNavigation {
    display: none;
    }

    #MenuBar {
    position:absolute;
    display: none;
    }

  2. #2
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default Re: print.css hide dhtml menu

    I saw this line in the categories_dhtml.php file, but I'm unsure about how I can change it so it won't display when printing the page.

    $tabletext ="<table><tr><td><div id='MenuBar' style='position:relative; width: " . LEFT_LINK_WIDTH . "; height: " . ($number_top_levels*LEFT_LINK_HEIGHT) . ";'>&nbsp;</div></td></tr></table>";

  3. #3
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default Re: print.css hide dhtml menu

    I'm still looking for a solution to this. If anyone has any suggestions I would be very greatful.

    Thanks,
    Barb

  4. #4
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default Re: print.css hide dhtml menu

    I found the solution here in the 06-22-2005 post -- HV Menu Printing [Archive] - Dynamic Drive Forums

    From the oscmax standpoint, the MbrSetUp function is in the catalogincludesmenu_animation.js file.

    Barb

Similar Threads

  1. Hide Parent Category and Display only Child or Sub Category in a DHTML menu
    By michael_s in forum New osCommerce Contributions
    Replies: 1
    Last Post: 01-15-2009, 06:45 AM
  2. Dhtml menu and SEO
    By bkpie in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-04-2007, 04:04 PM
  3. Dhtml Menu does not display.
    By Walter in forum osCMax v2 Features Discussion
    Replies: 8
    Last Post: 02-21-2007, 08:09 AM
  4. cool menu vs dhtml menu
    By Lara Croft in forum osCMax v2 Features Discussion
    Replies: 3
    Last Post: 01-17-2007, 11:38 AM
  5. dhtml menu
    By kjh in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 08-01-2005, 05:26 AM

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
  •