Frequently Asked Questions - FAQ
|
|
This is the place for the most important questions about FX menu. If you can't find the answer here, please do not hesitate to ask in the forum.
|
|
|
I have version 4.x! Blank space appears instead of my menus! The menus don't show up at all!
The menu loads different files for different browsers (fxdom.js, fxopera.js and fxnetscape.js) to improve the loading performance. All three js.-files have to be in the same directory where fxmenu.js, and input.js are. Make sure they are attached to the page with correct paths.
Example: The following tags have to be placed in the body of the page, not in the head. The order of the tags is very important.
<script language="javascript1.2" src="fxmenu.js"></script>
<script language="javascript1.2">
var addpath="";
if(OP5) dt.write("<sc"+"ript language=javascript1.2 src=fxopera.js><\/sc"+"ript>")
else if(NN4) dt.write("<sc"+"ript language=javascript1.2 src=fxnetscape.js><\/sc"+"ript>")
else dt.write("<sc"+"ript language=javascript1.2 src=fxdom.js><\/sc"+"ript>")
</script>
<script language="javascript1.2" src="input.js"></script>
|
|
|
I have version 3.x! Blank space appears instead of my menus! The menus don't show up at all!
In 99% the reason for menus not to show up at all is an incorrect value of the variable:
var jspath=''
In version 3.0.3 we tried to help you by adding an alert box with more information. (webmastercheck has to be true(1)).
The menu loads different files for different browsers (fx_ua1.js, fx_ua2.js and fx_ua3.js) to improve the loading performance. All three js.-files have to be in the same directory where fx_array.js, fx_swap.js and fx_menu.js are.
In var jspath you have to define the path relative from the page, where the menu should be displayed to your js directory.
Example #1: Directory for your js.-files is: javascript
<script language="javascript1.2">
var globpath='';
var jspath='javascript/';
function beforeBuildingMenu(){return;}
function afterBuildingMenu(){}
</script>
<script language="javascript1.2" src="javascript/fx_array.js"></script>
<script language="javascript1.2" src="javascript/fx_swap.js"></script>
<script language="javascript1.2" src="javascript/fx_menu.js"></script>
<!-- some body data -->
|
Example #2: Another example and additional information can be found at Page-integration
|
|
|
|
|
|
|
|
|
|
|
|
Will Search Engines scan my fx_array.js file?
No, you will need to have additional links for search engines.
Search engines are not clever enough to read JavaScript.
It is better to include a <NOSCRIPT> tag and include a table of links for both search engines and users without JavaScript support. This will enable all visitors to your site to still be able to navigate.
|
|
|
|
How can visitors, who have JavaScript switched off, navigate through my website?
Some users prefer to disable JavaScript for their web browsing.
Unfortunately many people still think JavaScript might contain viruses or allows hackers to attack their computer. With modern browsers JavaScript is safe.
Include a <NOSCRIPT> tag and include a table of links for both search engines and users without JavaScript support. This will enable all visitors to your site to still be able to navigate.
Deactivate JavaScript and refresh this page.
We use <NOSCRIPT> just to demonstrate this technique. It's clear that it's useless for website with just JavaScript content.
|
|
|
|
|
|