If you are using the bjmenu.cfm code, I think that the JS error is because
the dhtml dropdown menu is looking for a child of the menu and since there
are no children of some of the top level navigation it has an error.

To quickly get around this, I added an else statement where it creates a
blank, invisible div if there was no submenu.

------

<cfif qNav2.recordcount gt 0>

<div id="#replace(qNav.objectName," ","_","all")#Menu" class="menu"

onmouseover="menuMouseover(event)">

....

<cfelse>

<!--- blank filler div so the js doesn't throw up --->

<div id="#replace(qNav.objectName," ","_","all")#Menu" class="menu"

style="background-color: transparent; border: 0px;"> </div> </cfif>





"Michael @ Four Eyes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>   http://www.handb.com   (Ignore the JS error, I have not idea why that is
> happening just yet)
>
>
> Henderson and Bodwell is one the US's largest environmental engineering
> firms.  This site has rotating project, client extranet, facts, news,
> events, and a bunch of other stuff.  Click refresh on the home page.  The
> client has some nice shots up there.
>
> --
> Regards,
> Michael J. Sammut
> ________________________________________________
> F O U R  E Y E S  P R O D U C T I O N S
>
> think | plan | create :: web site design & development :: NYC
>
> E. [EMAIL PROTECTED] | T: 718.254.9557 ext. 101 | F: 718.254.0399
>
> W. http://www.foureyes.com
>
>
>
>



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to