| Re[3]: Menu Generation ¶ | |
| OK, after telling you your method is not a good idea, then I should probably try to give you a solution ;) What we need is some way of hiding the menu via JS. The problem is that your script will only run ONLOAD which is too late (the unstyled menu will already be displayed). There are 2 ways to take care of this: 1. You could insert an inline script (inside the body, just before the menu) which does something like: 2. If you want to keep scripts in the HEAD only to avoid changing all your pages html, then you can only access 1 element (the HTML tag). So I would add a class to it some way: Then add this to your css: You would try to do this as SOON AS POSSIBLE on the page so while the page and scripts are loading the menu gets hidden. Then onload you would remove the classname from the HTML element: I would go with method 2. | |
| Re[4]: Menu Generation ¶ | |
| Woops I wish you could edit message: | |
| last |
| Re[5]: Menu Generation ¶ | |
| Doh I give up ;) | |
| last |














