brossyg
08-03-2009, 10:36 PM
1) Script Title: Any Link Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
3) Describe problem:
I have an AnyLinkMenu that works perfectly in IE7, except for one thing. If the address link in the menu item is a certain file name, the font in the menu item does not conform to the CSS specs.
The full array is:
var anylinkmenu3={divclass:'anylinkmenu', inlinestyle:'', linktarget:''}
anylinkmenu3.items=[
["Stewardship Sermons", "stwsermons.htm"],
["Personal Financial Stewardship", "moneymatters.htm"],
["Youth Stewardship", "youthstw.htm"],
["Stewardship Sourcebook", "CoresponsabilidadSpanish.htm"] //no comma following last entry!
]
There are four items in the menu and all menu item labels should be 8 pt red ... and they are except for the first menu item label, which is the default font (blue 10 pt) with this link file name address:
["Stewardship Sermons", "stwsermons.htm"],
If I change the link file name address to anything else...like:
["Stewardship Sermons", "stwsermonsa.htm"],
then the label is 8pt red the way it should be...
This happens regardless of the order I put the items in...the one with this file name is always the default font...not the CSS font. Also, there is no other instance of stwsermons.htm on the page, nor in the menucontents.js (although I can't see why that would matter...I checked anyway).
It also does this with one other link file name address in another menu array, but none of the others are affected.
I have tried for hours to figure this out, but I can not figure out why it does this...HELP!!!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
3) Describe problem:
I have an AnyLinkMenu that works perfectly in IE7, except for one thing. If the address link in the menu item is a certain file name, the font in the menu item does not conform to the CSS specs.
The full array is:
var anylinkmenu3={divclass:'anylinkmenu', inlinestyle:'', linktarget:''}
anylinkmenu3.items=[
["Stewardship Sermons", "stwsermons.htm"],
["Personal Financial Stewardship", "moneymatters.htm"],
["Youth Stewardship", "youthstw.htm"],
["Stewardship Sourcebook", "CoresponsabilidadSpanish.htm"] //no comma following last entry!
]
There are four items in the menu and all menu item labels should be 8 pt red ... and they are except for the first menu item label, which is the default font (blue 10 pt) with this link file name address:
["Stewardship Sermons", "stwsermons.htm"],
If I change the link file name address to anything else...like:
["Stewardship Sermons", "stwsermonsa.htm"],
then the label is 8pt red the way it should be...
This happens regardless of the order I put the items in...the one with this file name is always the default font...not the CSS font. Also, there is no other instance of stwsermons.htm on the page, nor in the menucontents.js (although I can't see why that would matter...I checked anyway).
It also does this with one other link file name address in another menu array, but none of the others are affected.
I have tried for hours to figure this out, but I can not figure out why it does this...HELP!!!