HTML Editor 2010 SE: CSS Menu...

User 2034657 Photo


Registered User
64 posts

Hi all,

I am new to using the CSS Menu Designer, and I have a few questions:
    Issue 1: When one creates a CSS menu, exactly what files are created or modfied by the Designer? I am aware that I need to initially create a new .mnu file when I save the menu, and a new .html file that contains the html code for the menu items. I also notice other files such as menu-menu.css, superfish-navbar.css, and superfish-vertical.css.

    Issue 2: When I make changes to a menu, must I upload all of the above-mentioned files? Is the upload process dependent upon what changes I make to the menu? If so, what are the dependencies?

    Issue 3: There appears to be two save processes using the Menu Designer. One process seems to save the .mnu file, and the other process seems to save the menu html code in the currently open file. This raises an interesting issue for me. Suppose I am changing the appearance or location of the menu using the Designer, but I am not changing any menu choices or links, etc. Does this mean that I only have to save the .mnu file, and not make any changes to the html file?

    Issue 4: When I make changes to a menu using the Designer, exactly which files to I need to upload to the file server? All the files? Some of the files? To play it safe, I have been uploading the entire website after making menu changes because I'm not sure what files I have affected by using the Designer. Uploading the entire website seems a bit Draconian to me, so I suppose there is a better solution to the uploading process.

    As you can see, I am not sure how the CSS Menu Designer works, and I would appreciate any counsel you can provide. Thanks, in advance.
John H.
________________________________
A good mind is like a sponge in water.
User 92156 Photo


Registered User
272 posts

I don't know much about the mechanics of CSS Menu Designer ( I'm posting this to make me look knowledgeable & important on these forums ;) ) but I think the sole function of the *.mnu file is to hold the data for use by by the program and it can be recalled any time you want to make changes.
I don't think you need to upload it, but I have it on the server as a handy backup in case I have a major computer crash.

Changes you make could be reflected in any/all of the files so I think you're doing the right thing by uploading everything.

Hopefully someone with more savvy than me will correct me or explain things in more detail.
User 364143 Photo


Guest
5,410 posts

The .mnu is the the program file used by the menu builder. It doesn't need to be uploaded. I agree with Zipper about uploading all the other web files the program generates for the menu.

You may not need to re-upload every single one every time a change is made but it's easier to ftp everything instead of trying to remember what does and doesn't need to be updated. They're small files and it only takes a second.
CoffeeCup... Yeah, they are the best!
User 2013659 Photo


Registered User
1 post

I'd like to semi-echo part of John's original question, but with a little more detail.

When I make a menu using the designer it creates many files. I have a good grasp on CSS and HTML, but I can't seem to understand Javascript enough to even follow what the comments within the code mean. As such I'd love a brief explanation of what function each of the following javascript files serves. They each were created by creating a vertical CSS menu with the CSS Menu Builder.

Javascript Files:
hoverIntent.js
jquery.bgifram.min.js
jquery-1.2.6.min.js
superfish.js
supersubs.js

In the past (years ago now) I built a pure CSS menu. For that I had to copy and paste in some Javascript (that I didn't understand) to make it play nice with non-standards based browsers (i.e. Internet Explorer). Is that why these files exist, and what versions of Internet Explorer still don't support pure CSS menus?

Thanks in advance for your help!
User 364143 Photo


Guest
5,410 posts

In the past (years ago now) I built a pure CSS menu. For that I had to copy and paste in some Javascript

Then it wasn't a pure CSS menu, it was DHTML. :)
CoffeeCup... Yeah, they are the best!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.