Scroll To Top

Enter a query to search our site. Note that you can use "*" and "?" as wildcards. Enclosing more than one word in double quotes ("CSS Layout") will search for the exact phrase.

PVII Knowledge Base

1. Select a product ...
2. Select category ...
3. Search the Knowledge Base...

Question #284

On pages with the Pop Menu Magic 2 (PMM2) system, particularly when using the Auto Center option and IE browsers, there is an occasional flash before the menu sets up or the page never fully loads. Is there a work around for this?

The Answer

Prepared Jan. 2010 by Gerry Jacobsen, PVII

The fast loading initializer in the Pop Menu Magic 2 (PMM2) system is designed to set up the menu before the browser actually renders the page. Depending on the page content and other scripts on the page there can be a delay before the system initializes or the status bar may indicate the page is not fully loaded and the system is non-functional. If this is an issue on your page then you can deploy this work around to assure that the system is being initialized as soon as possible in order to avoid any content flashing or loading delays:

1. In Code View locate the ending </body> tag in the page markup:

</body>
</html>

2. Make a new line directly above the ending </body> tag and Copy & Paste this code block into that new line:

<script type="text/javascript">
  P7_PMMinit();
</script>

so that it now looks like this:

<script type="text/javascript">
  P7_PMMinit();
</script>
</body>
</html>

3. Save the page.

That's it. The system will now initialize as soon as the browser receives the html markup, prior to the rendering of the page.

Note: If you have other PVII widgets or menus on the same page you can insert more than one initializer into the same JavaScript block. For example, if you also have a Horizontal Glider Magic system on the same page you can combine the initializer into the same code block, like this:

<script type="text/javascript">
  P7_initHGM();
  P7_PMMinit();
</script>
</body>
</html>

Back to the questions list