Results 1 to 4 of 4

Thread: HV menu script - transparent background

  1. #1
    Join Date
    Dec 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HV menu script - transparent background

    HV Menu
    http://www.dynamicdrive.com/dynamici...menu/index.htm

    Is there a way to make the background for the menu and sub-menu items transparent - ie to allow the background to show through?

    Thanks

    Sue

  2. #2
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Hi

    Yes... I did some rough changes and can make it transparent....

    var NoOffFirstLineMenus=5; // Number of first level items
    var LowBgColor=''; // Background color when mouse is not over
    var LowSubBgColor=''; // Background color when mouse is not over on subs
    var HighBgColor=''; // Background color when mouse is over
    var HighSubBgColor=''; // Background color when mouse is over on subs
    var FontLowColor='black'; // Font color when mouse is not over
    var FontSubLowColor='black'; // Font color subs when mouse is not over
    var FontHighColor='white'; // Font color when mouse is over
    var FontSubHighColor='white'; // Font color subs when mouse is over
    var BorderColor=''; // Border color
    var BorderSubColor='white'; // Border color for subs

    you will need to play with these settings to get the effect you desire.

    rgds,Simon
    Last edited by simonf; 01-07-2005 at 07:45 AM.

  3. #3
    Join Date
    Dec 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thats wonderful - thanks.

  4. #4
    Join Date
    Dec 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I tried to get the background of the menu transparent, but I'm not really familiar with JavaScript.
    I tried to set var LowBgColor=''transparent", but it didn't work, as well as leaving the "" empty or writing "none". I always got a black background. :-(

    How can I get the background transparent?

    Thanks in advance,
    Anja

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
  •