Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Firefox issue
Junior Member

Posts: 3
Registered: 12/9/2010
Member Is Offline
posted on 12/9/2010 at 12:25 PM Reply With Quote
Firefox issue


First of all, thank you for your Tigra menu system.

I am having problems getting it to work in Firefox.

I have Firebug installed by the way.

I am having trouble with the following statements:

this.o_showtimer = setTimeout('A_MENUS['+ this.n_id +'].expand(' + n_id + ');',


this.o_hidetimer = setTimeout('A_MENUS['+ this.n_id +'].collapse();',


I tried placing the code for the first argument into separate functions and call these functions as the first argument to setTimeout like this:

this.o_showtimer = setTimeout( expandItem(this.n_id, n_id),

However, this didn't work.

Firebug produced the following error message: "useless setTimeout call (missing quotes around argument?)"

And there was no delay in the collapse.

I placed the argument in quotes (though recommended against here) like this:

this.o_showtimer = setTimeout( "expandItem(this.n_id, n_id)",

but this didn't work. It appeared that nothing was happening at all and throwing some console.log() messages into the code confirmed this.

I tried using an anonymous function call as recommended here and here like this:

this.o_showtimer = setTimeout( function() { expandItem(this.n_id, n_id); },

but this didn't work either. It produced undesirable results in IE (items not collapsing is the same manner as before) and nothing happening in Firefox (placing console.log() statements in expandItem and collapseItem functions confirmed that they weren't being called).

All help would be greatly appreciated.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004