Cannot adjust appearance delay

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Code: Select all

aI("text=Text in item; showmenu=level1;openonclick=1;"); 
Ruth
gourmand_r
Advanced
Advanced
Posts: 14
Joined: Fri Oct 28, 2005 6:22 am

Post by gourmand_r »

Tried without success. Don't know what is wrong. Please give me mail to send address of my page.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I messed up the one posted at the other topic. webmaster [at] poems2u [dot] com. :oops:

Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

First, you want to put a drawMenus(); just before the //end top menu

Code: Select all

 }
   drawMenus();
//end top menu
</SCRIPT>
These are the aI strings with the showmenu and openonclick from your viewsource, and I also see the same thing when I downloaed the page.

Code: Select all

aI("text=Ïåðñîíàëüíûå ñòîÿíêè; showmenu=level1; openonclick=1; ");
aI("text=Îáùåå ìåñòî; showmenu=level2; openonclick=1; ");
aI("text=Ïåñíÿêè; showmenu=level3; openonclick=1; ");
aI("text=Êëóá Ëèëà; showmenu=level4; openonclick=1; ");
aI("text=Êîíêóðñû; showmenu=level5; openonclick=1; ");
aI("text=Ññûëêè; showmenu=level6; openonclick=1; ");
aI("text=Îá ýòîì ñàéòå.; showmenu=level7; openonclick=1; ");
aI("text=ÐÃÓ; showmenu=level8; openonclick=1; ");
Note that there seems to be a space between the end of the text item semi-colon and the showmenu, and also a space between the showmenu semi-colon and the openonclick, and another before the last " of the string. That seems to be causing the problem.

I added the drawmenus() at the end of the submenus and removed the spaces from the 1st aI string for the showmenu=level1 and it opened on click with no problem.

Ruth
gourmand_r
Advanced
Advanced
Posts: 14
Joined: Fri Oct 28, 2005 6:22 am

Post by gourmand_r »

Ok, I just removed spaces from aI string

Code: Select all

aI("text=Ïåðñîíàëüíûå ñòîÿíêè;showmenu=level1;openonclick=1;");
now all works well. Thanx for help.

But I didnt' get idea about place of drawMenus(). What's wrong there?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Placing the menu in a table requires that you leave the drawMenus(); in the menu data file with the submenus and that you also add another drawMenus(); to the main menu that is in the table. You end up with two drawMenus();

I know you have the menus on the page, but I think you still need to have the drawMenus() at the end of the submenu script block as well as at the end of the main menu script block.

Ruth
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

Is it not possible for you to give us a demo ofr what is happening.

It's extreemly difficult, sometimes impossible, for us to give you an answer as we cannot really see the problem. Once we see the problem, we should be able to help a little more.

-- Andy
Post Reply