View Full Version : HV menu script - transparent background
HV Menu
http://www.dynamicdrive.com/dynamicindex1/hvmenu/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
simonf
01-07-2005, 07:41 AM
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:cool:
Thats wonderful - thanks.
Anja123
12-29-2005, 01:10 AM
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
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.