The problem lay outside of DMB in the layerSwap routine (not indexed properly). The various and somewhat misleading errors being reported by IE led me on a wild goose chase. The error caught by xfx proved to be the key to correcting the situation. I'd like to know what software was being used to accurately detect the error.
Thanks much to all.
George
I would appreciate any help toward resolving a problem with my latest menu project.
There have been very few problems in the past, all due to my inexperience, but none unresolved on old sites developed with older editions of DMB, IE, and FF.
The problem on a new site is coincidental with upgrading to v4.15(de) and latest upgrades to IE and FF. Direct links work in both IE and FF, but known to be good commands calling javascript code do not.
In FF, there is no response to commands calling javascript code.
In IE:
1) Upon loading "http://abgsa.org/dmb.htm" (clone of home page with all but the menu and swapping code removed), the following error is triggered:
"Java Script Error
Description: Object expected
Source: http://abgsa.org/dmb.htm
Line: 11
[OK]"
Clicking "OK" clears the message.
2) Upon selecting any command link that executes javascript code "java script:sh0_swapLayers('layUC');" (w/o quotes), the following error is triggered:
"Java Script Error
Description: Object expected
Source: http://abgsa.org/dmb.htm
Line: 1232
[OK]"
There are only 192 lines of code in the file, including the non-optimized DMB code.
The "sh0_swapLayers('xxx')" code is currently very nicely working with DMB on several other sites I developed, including: http://dydrentals.com; http://garynaacp.org/home.asp; http://innaacp.org/home.asp (Home and Structure, thus far); http://www.bloomingtonbbpa.org/home.asp; and http://cjamcenter.org/home.asp.
Relevant files are attached: nmbcc.dmb, hRef.txt, nmbcc.txt (js)
Thank you in advance for any help provided.
Click to view attachmentClick to view attachmentClick to view attachment
