Help?
Help?
Hi all. I am working on a website for my fraternity and trying to get the horizontal menubar to work before applying for the free license. I am having a lot of problems trying to get the mouseover to work. I keep getting error messages linking to the _menuCloseDelay &
_menuOpenDelay. The error says the two are undefined. Also, in frontpage, the if/else statements are brown as well as the entire path for the menubar. There appears to be no formatting linking to the menu_data.js file. Any suggestions or ideas? Any help is appreciated.
Will
_menuOpenDelay. The error says the two are undefined. Also, in frontpage, the if/else statements are brown as well as the entire path for the menubar. There appears to be no formatting linking to the menu_data.js file. Any suggestions or ideas? Any help is appreciated.
Will
Requested URL
Here is a temporary URL I am using until the site is published:
http://www.angelfire.com/pa5/axpomegaphi5/
thanks!
http://www.angelfire.com/pa5/axpomegaphi5/
thanks!
Your _data file is pretty messed up. Some reading on proper syntax would be in order.
Should be (ALL instances)...
Should be...
No quotes around the style name.
Should be...
Note missing closing " and no space between items (e.g., Brothers; show...). Also, all aI statements should close as shown - ;"); .
Should be...
Should be...
Remove the trailing quote.
Also, move all the JS menu calls up to be the FIRST items after body.
A little less speed and a lot more care is suggested...
Code: Select all
with(main=new menuname("omegaphi")){
Code: Select all
with(milonic=new menuname("omegaphi")){
Code: Select all
style="menuStyle";
Code: Select all
style=menuStyle;
Code: Select all
aI("text=Undergraduate Brothers; showmenu=undergrad);
Code: Select all
aI("text=Undergraduate Brothers;showmenu=undergrad;");
Code: Select all
aI("text=National History;url=http://www.alphachirho.org/" target="_blank");
Code: Select all
aI("text=National History;url=http://www.alphachirho.org/;target=_blank;");
Code: Select all
style=menuStyle";
Code: Select all
style=menuStyle;
Also, move all the JS menu calls up to be the FIRST items after body.
A little less speed and a lot more care is suggested...
John
Those are not the ones I am having a problem with. Eventually I will creat pages for those. Right now as far as I can see I can't get under Omega Phi the Undergrads and Grads to appear. Did I make a mistake in the coding?
I really appreciate the help. I am sort of learning javascript "on the fly."
Will
I really appreciate the help. I am sort of learning javascript "on the fly."
Will
Hi Will,
The "undergrad" and "grads" submenus are not showing because of the following code at the top of your menu_data.js file:
These are numeric variables, not string variables. So, remove the double quotes that you have around the values (making the values numeric). Like so:
That should do it.
FYI: the reason the "omegaphi" submenu opened and the others didn't is because the top and left menu offsets only apply to submenus thath are opened from a vertical parent menu. If your main menu had been vertical, the omegaphi menu also would not have opened.
Cheers,
Kevin
The "undergrad" and "grads" submenus are not showing because of the following code at the top of your menu_data.js file:
Code: Select all
_subOffsetTop="10"
_subOffsetLeft="-10"
Code: Select all
_subOffsetTop=10
_subOffsetLeft=-10
FYI: the reason the "omegaphi" submenu opened and the others didn't is because the top and left menu offsets only apply to submenus thath are opened from a vertical parent menu. If your main menu had been vertical, the omegaphi menu also would not have opened.
Cheers,
Kevin
Hi,
You said you were new to the menu. You might take a look at the Beginners' Guide. It really is very basic, a pretty quick read with some examples for some basic things.
Ruth
You said you were new to the menu. You might take a look at the Beginners' Guide. It really is very basic, a pretty quick read with some examples for some basic things.
Ruth