Transparent Back?
-
- Beginner
- Posts: 7
- Joined: Sun May 19, 2002 7:23 pm
Transparent Back?
(reposted submission from the past)
Is there a way to have no Off Back Color so that the menu is transparent and the page background would show instead?
Is there a way to have no Off Back Color so that the menu is transparent and the page background would show instead?
Re: Transparent Back?
I'm working on it,
I'll let you know.
Andy
I'll let you know.
Andy
-
- Beginner
- Posts: 2
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
It works fine with mine !
I have just modified a fiew thing in mmenu.js :
1 - kill all # linked with color definition : (not with urls links!)
2 - use "transparent" as color where needed
3 - add a # to all hexa colors in menu_arrays.js
That's all !
Andy ! I suggest you to include this in your next release, it's very simple but efficient, it also allows the use of named colors... if you want !
fr Bill.
I have just modified a fiew thing in mmenu.js :
1 - kill all # linked with color definition : (not with urls links!)
2 - use "transparent" as color where needed
3 - add a # to all hexa colors in menu_arrays.js
That's all !
Andy ! I suggest you to include this in your next release, it's very simple but efficient, it also allows the use of named colors... if you want !
fr Bill.
-
- Beginner
- Posts: 3
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
fr Bill,
Ummm... I'm a lover not a coder... could you explain that in layman's terms? One look at the mmenu.js and I start trembling and curl up in the fetal position.
Thanks!
Chris
Ummm... I'm a lover not a coder... could you explain that in layman's terms? One look at the mmenu.js and I start trembling and curl up in the fetal position.
Thanks!
Chris
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
And well you should if you're not a coder I can grasp the basics of javascript but I'm not all that savy and the mmenu strikes terror and confusion in me as well. If you are brave enough to try this however, and I do suggest you make a backup copy in case all hell breaks loose, it's not to terrible.
Search the file for any # signs. When you find one see if it is used with a color definition like arg.style.backgroundColor="#" and replace it with "transparent". Then make sure all your color variables in your array file have a # in front of them ("#66ffff", not "66ffff",).
With any luck you won't kill the code and by Bill's testimony it will work. I haven't tested this myself, and as Andy says he's working on it and I think we're looking at the next release for implementation if you want to skip it for now.
Cheers!
Yadin
Search the file for any # signs. When you find one see if it is used with a color definition like arg.style.backgroundColor="#" and replace it with "transparent". Then make sure all your color variables in your array file have a # in front of them ("#66ffff", not "66ffff",).
With any luck you won't kill the code and by Bill's testimony it will work. I haven't tested this myself, and as Andy says he's working on it and I think we're looking at the next release for implementation if you want to skip it for now.
Cheers!
Yadin
-
- Beginner
- Posts: 3
- Joined: Sun May 19, 2002 7:23 pm
Re: Transparent Back?
Hi there !
I've post my customized mmenu.js to chris...
If you need it too, just post me your mail-adress...
fr Bill
I've post my customized mmenu.js to chris...
If you need it too, just post me your mail-adress...
fr Bill
Re: Transparent Back?
What about having an image as a background? And is there any way to make the links underlined? Finally, would it be possible to make it so that the menu appears on the page wherever I put <script src="menu_array.js">? This way, if I edit my page, I don't have to go into menu_array.js to reposition the menu by guessing how many pixels down it should be....
Mitch
Portland, USA
Mitch
Portland, USA
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
Thanks a lot! I had started to make the changes myself, but something wasn't quite kosher and it wasn't working. I added the code, tweaked it a little and it's working like a dream!
Thanks for taking the time to help me out fr Bill...
Chris
Thanks for taking the time to help me out fr Bill...
Chris
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
Hi Mitch !
Of course there is a way to do what you need ! This menu tool is full of lovely functions and behaviors...
Thanks to Andy )
Well you can link the menu to a simple anchor, for example :
Of course there is a way to do what you need ! This menu tool is full of lovely functions and behaviors...
Thanks to Andy )
Well you can link the menu to a simple anchor, for example :
-
- Beginner
- Posts: 2
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
D'oh.... just tested the nav in Netscape 4.08... doesn't work.
Story of my life.
Chris
Story of my life.
Chris
Re: Transparent Back?
Does this work with the newest version of the menu, 3.3.18? There aren't that many "#" symbols and the only one that seems related to color is the function cHexColor. I've tried to replace that with the word transparent as outlined above, but the menu quits working. I'd appreciate any help. I'd like just the main menu transparent but not the pulldowns. The reason is that the main menu is on top of a graphic with a gradient and it would be great to see the gradient through the menu.
Dion
Dion
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
Actually one simple way of doing this should be to set the effect in the menu array to one that has transparency. That is something like
;Alpha(opacity=80); in the effect string.
Cheers!
Yadin
;Alpha(opacity=80); in the effect string.
Cheers!
Yadin
-
- Beginner
- Posts: 4
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
Thanks, that works, but it also has the rather undesirable effect of making the text opaque as well. Essentially, my nice "bright" text takes on some of the dimmer background and doesn't stand out like I would like. I also cannot be sure that all of my viewers will be using IE 5.5 . Is there any other way?
Dion
Dion
-
- Beginner
- Posts: 2
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
Other than hacking out the mmenu.js in some way there is currently no way of doing this. It is on the list for future enhancements.
-
- Beginner
- Posts: 4
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
I made transparent back by putting "" for the on/off background in the style it works for ie 5 pc but the mac is displaying a big green box right across the page. (behind the menu)
http://www.ibizalaguia.com//htdocs/index_az_e.html
can anyone else see this with a Mac coz Yadin can't and my client can on 3 machines (mac ie 5)
would appreciate if anyone caould have a look..or if anyone has idea how to acheive this.
cheers
peter
http://www.ibizalaguia.com//htdocs/index_az_e.html
can anyone else see this with a Mac coz Yadin can't and my client can on 3 machines (mac ie 5)
would appreciate if anyone caould have a look..or if anyone has idea how to acheive this.
cheers
peter
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:24 pm
Re: Transparent Back?
Hi,
Would you mind sending me your edited file for making the background transparent?
Thanks!
Would you mind sending me your edited file for making the background transparent?
Thanks!