Transparent Back?

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
yadin@angelfire.com
Beginner
Beginner
Posts: 7
Joined: Sun May 19, 2002 7:23 pm

Transparent Back?

Post by yadin@angelfire.com »

(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?
Moon
Beginner
Beginner
Posts: 1
Joined: Sun May 19, 2002 8:23 pm

Re: Transparent Back?

Post by Moon »

I'm working on it,

I'll let you know.

Andy
ton@verhagen.net
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by ton@verhagen.net »

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.
brian@trendmedia.com
Beginner
Beginner
Posts: 3
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by brian@trendmedia.com »

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
Martin@darth.dk
Beginner
Beginner
Posts: 1
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by Martin@darth.dk »

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
webmaster@janusfoundation
Beginner
Beginner
Posts: 3
Joined: Sun May 19, 2002 7:23 pm

Re: Transparent Back?

Post by webmaster@janusfoundation »

Hi there !

I've post my customized mmenu.js to chris...


If you need it too, just post me your mail-adress...

fr Bill
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Transparent Back?

Post by Andy »

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
Ewok@triad.rr.com
Beginner
Beginner
Posts: 1
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by Ewok@triad.rr.com »

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
gaffcam@mira.net
Beginner
Beginner
Posts: 1
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by gaffcam@mira.net »

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 :
cyberandi@uni.de
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by cyberandi@uni.de »

D'oh.... just tested the nav in Netscape 4.08... doesn't work. :(

Story of my life.

Chris
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Transparent Back?

Post by Andy »

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
gustav.hammerlindl@gmx.at
Beginner
Beginner
Posts: 1
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by gustav.hammerlindl@gmx.at »

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
sandrag@att.net.mx
Beginner
Beginner
Posts: 4
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by sandrag@att.net.mx »

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
cyberandi@uni.de
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by cyberandi@uni.de »

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.
sandrag@att.net.mx
Beginner
Beginner
Posts: 4
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by sandrag@att.net.mx »

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
amirdht@anavy.net
Beginner
Beginner
Posts: 1
Joined: Sun May 19, 2002 7:24 pm

Re: Transparent Back?

Post by amirdht@anavy.net »

Hi,

Would you mind sending me your edited file for making the background transparent?

Thanks!
Post Reply