Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 3 of 3
  1. #1
    GreenFriendly.com
    biggedon's Avatar
    Join Date
    Sep 2002
    Location
    96.net
    Posts
    13,257
    Blog Entries
    1
    Country

    United States
    DNF$
    59,380
    Bank
    0
    Total DNF$
    59,380
    Donate  

    need some help with a script for Nav bar

    Hi

    Here's the problem.

    i need this script to print with the background colors or background images included.

    currenly it only prints the words in the nav bar and drop down menu, but not the color.

    <html>
    <head>
    <style>
    body{font-family:arial;}
    table{font-size:80%;background:black}
    a{color:black;text-decoration:none;font:bold}
    a:hover{color:#606060}
    td.menu{background:lightblue}
    table.menu
    {
    font-size:100%;
    position:absolute;
    visibility:hidden;
    }
    </style>
    <script type="text/javascript">
    function showmenu(elmnt)
    {
    document.getElementById(elmnt).style.visibility="v isible"
    }
    function hidemenu(elmnt)
    {
    document.getElementById(elmnt).style.visibility="h idden"
    }
    </script>
    </head>

    <body>
    <h3>Drop down menu</h3>
    <table width="100%">
    <tr bgcolor="#FF8080">
    <td onmouseover="showmenu('tutorials')" onmouseout="hidemenu('tutorials')">
    <a href="/default.asp">Tutorials</a><br />
    <table class="menu" id="tutorials" width="120">
    <tr><td class="menu"><a href="/html/default.asp">HTML</a></td></tr>
    <tr><td class="menu"><a href="/xhtml/default.asp">XHTML</a></td></tr>
    <tr><td class="menu"><a href="/css/default.asp">CSS</a></td></tr>
    <tr><td class="menu"><a href="/xml/default.asp">XML</a></td></tr>
    <tr><td class="menu"><a href="/xsl/default.asp">XSL</a></td></tr>
    </table>
    </td>
    <td onmouseover="showmenu('scripting')" onmouseout="hidemenu('scripting')">
    <a href="/default.asp">Scripting</a><br />
    <table class="menu" id="scripting" width="120">
    <tr><td class="menu"><a href="/js/default.asp">JavaScript</a></td></tr>
    <tr><td class="menu"><a href="/vbscript/default.asp">VBScript</a></td></tr>
    <tr><td class="menu"><a href="default.asp">DHTML</a></td></tr>
    <tr><td class="menu"><a href="/asp/default.asp">ASP</a></td></tr>
    <tr><td class="menu"><a href="/ado/default.asp">ADO</a></td></tr>
    </table>
    </td>
    <td onmouseover="showmenu('validation')" onmouseout="hidemenu('validation')">
    <a href="/site/site_validate.asp">Validation</a><br />
    <table class="menu" id="validation" width="120">
    <tr><td class="menu"><a href="/site/site_validate.asp">Validate HTML</a></td></tr>
    <tr><td class="menu"><a href="/site/site_validate.asp">Validate XHTML</a></td></tr>
    <tr><td class="menu"><a href="/site/site_validate.asp">Validate CSS</a></td></tr>
    <tr><td class="menu"><a href="/site/site_validate.asp">Validate XML</a></td></tr>
    <tr><td class="menu"><a href="/site/site_validate.asp">Validate WML</a></td></tr>
    </table>
    </td>
    </tr>
    </table>
    <p>Mouse over these options to see the drop down menus</p>
    </body>

    </html>



    Thanks in advance!
    Need A SedoPro Account PM Me * nev.org * pmm.org * svc.net * ispoof.com * umm.org * sop.net * qfm.net * upyo.com * vioz.com * uce.org * wta.net * eoso.com * Coming Soon: Appraise.xxx

  2. #2
    DNF Addict
    jdk's Avatar
    Join Date
    Jul 2004
    Location
    Florida
    Posts
    7,082
    Country

    United States
    DNF$
    1,163
    Bank
    0
    Total DNF$
    1,163
    Donate  

    Re: need some help with a script for Nav bar

    To get the table cells colored backgrounds to print, click on the browser’s Tools menu. Select Internet Options, then click on the Advanced tab. Scroll down to find the Printing heading and check the box called Print Background Colors and Images. This setting affects both page backgrounds and table cell backgrounds.
    Last edited by jdk; 12-14-2005 at 08:01 PM.

  3. #3
    GreenFriendly.com
    biggedon's Avatar
    Join Date
    Sep 2002
    Location
    96.net
    Posts
    13,257
    Blog Entries
    1
    Country

    United States
    DNF$
    59,380
    Bank
    0
    Total DNF$
    59,380
    Donate  

    Re: need some help with a script for Nav bar

    Hi jdk

    That works just fine for my browser, but how can the script be changed so the background color or images will print for all visitors, without them having to make those changes? is that possible?

    really appreciate your assistance!
    Need A SedoPro Account PM Me * nev.org * pmm.org * svc.net * ispoof.com * umm.org * sop.net * qfm.net * upyo.com * vioz.com * uce.org * wta.net * eoso.com * Coming Soon: Appraise.xxx

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
  •  

Domain name forum recommended by Domaining.com