On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote:
> I'm using a DHTML javascript menu (from DynamicDrive) that works fine in 
> Mozilla (shows no errors in the error console). The sample works fine in IE 
> but my revision (no


Thanks for all the suggestions.

I installed the debug bar that was recommended and, on the same site, saw 
.Jscript (I think that's the name) and installed it. Both seem very helpful 
additions to IE.

The latter program promptly highlighted the offending line of code. 
Unfortunately, I'm still mystified at why it's choking in IE but not Mozilla; 
seems both will go to the same code section..

I know this won't be helpful by itself, but:

function CntnrSetUp(Wdth,Hght,NoOff){
        var x=RcrsLvl==1?BorderColor:BorderSubColor;
        this.FrstMbr=null;
        this.OrgLeft=this.OrgTop=0;
        if(x)this.bgColor=x;
        if(Nav4){       this.visibility='hide';
                this.resizeTo(Wdth,Hght)}
        else{   if(x)this.style.backgroundColor=x;
                this.style.width=Wdth+P_X;
                this.style.height=Hght+P_X;
                this.style.fontFamily=FontFamily;
                this.style.fontWeight=FontBold?'bold':'normal';
                this.style.fontStyle=FontItalic?'italic':'normal';
                this.style.fontSize=FontSize+'pt';
                this.style.zIndex=RcrsLvl+Ztop}}

The script works fine off one page someone set up as a demo but crashes here on 
another page. The offending line(s) of code seem to be either, one or both of 
the ones in red, but I can't see where I've made a mistake in anything above 
this. When I did some investigation both Wdth and Hght returned integers. P_X 
is widely used in other parts of the script (= 'px').

But, this is far too involved a script for me to debug. At this point - barring 
an answer from the author - I'm trying a different script.

Thanks.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308740
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to