Recent Questions Treectrl Modifystyle
Q: I got the menu to display across frames, but it displays differently in Firefox & Mozillavs. Internet Explorer. Is that to be expected?
In The Mozilla-based browsers, the submenu butts right upunder the main menu – which is how I want it. In IE, it is about 10 pixels below.
Also, I can’t get the submenus to drop down directly under the main menus – they are offset by about 100 pixels to the right.
A: The problem is in a structure of your frameset.
Mozilla browsers can't determine absolute coordinates for a frame, sosubmenus drop down with an offset.
You should create the following frameset structure:
--|------------
   | menu
--|------------
   |
   | submenus
   |
Now a top row has 2 columns and all browsers can determine awidth of the 1st column in the second row.
Q: I have started using your menu and when testing in both IE-browsers the CPU jumps to 100% for at least 30 to 60sec.
Then the sub menu appears but also not as fast as in Firefox(no effects).
Now does my menu contains about 1476 item-lines, and I use the cross-frame modus.
Any ideas?
A: It is possible that the loading speed can be lower if the menu is very large. But it doesn't take so much time.
Yes, you can notice some delay in IE, but in over browsers it works better.
JavaScript Tree Menu works fast, but 1500 is a large value.
I tried to create large menus on my machine: P4 3GHz, 512RAM WinXP SP2
It takes:
- 1000 items ~ 10 sec
- 2000 items ~ 40 sec
You can try to use AJAX-like technology.
http://deluxe-menu.com/ajax-technology-menu-sample.html
Q: In Internet Explorer 7 , the menu with javascript was completely invinsible.
A: Try to set exact width for the menu, for example:
var menuWidth="500px";
Q: I am having a lot of trouble trying to get the menu to work properly. I want to make sure that I get it working before I make the licesning purchase.
The menu is to be CSS based but while I have the main menu somewhat in location, none of the settings are correct. Can you help?
A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
To get the value you should move .css style into style="POSITION: relative;" attribute.
Please, try to add your
css file -> inline css
Try to write so:
<DIV id=if-navbar style="POSITION: relative;">