
When I use the openstyle="up" option for a menu, and then call the popup function to show this menu, the menu appears down the location of the mouse or object and not up...
Can someone help me fixes this problem ?
Thanks !
The openstyle property has no effect on the popup() function, which is meant to work as you describe (see a description of popup() on this page.) popup() is generally meant to let you open a menu apart from any calling menu; e.g., open a menu at the current pointer location or at an image location.bill-gudule wrote:![]()
When I use the openstyle="up" option for a menu, and then call the popup function to show this menu,...
Code: Select all
aI("text=Item Text;showmenu=subMenuName;");
No Kevin I'm sorry but it does not help : it's not a sort of solution but a validation of my problem !kevin3442 wrote: The openstyle property has no effect on the popup() function, which is meant to work as you describe (see a description of popup() on this page.) popup() is generally meant to let you open a menu apart from any calling menu; e.g., open a menu at the current pointer location or at an image location.
Hope that helps,
Kevin
Code: Select all
onmouseover="
menuID=getMenuByName('m_1');
menuObj=gmobj('menu'+menuID);
mn_pos=gpos(menuObj);
im_pos=gpos(gmobj('img_ong_1'));
spos(menuObj,im_pos[0]-mn_pos[2]-10,MouseX);
menuDisplay(menuID,1);
"
onmouseout='popdown()'
Hi somorgujo,somorgujo wrote:Have you found a solution to this ????
Code: Select all
popup('Products', 1, -150, -10);
Code: Select all
with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("text=Product Purchasing Page;showmenu=Partners;url=http://milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://milonic.com/contact.php;");
aI("text=Newsletter Subscription;url=http://milonic.com/newsletter.php;");
aI("text=FAQ;url=http://milonic.com/menufaq.php;");
aI("text=Discussion Forum;url=http://milonic.com/forum/;");
aI("text=Software License Agreement;url=http://milonic.com/license.php;");
aI("text=Privacy Policy;url=http://milonic.com/privacy.php;");
}
with(milonic=new menuname("Partners")){
style=menuStyle;
openstyle="up";
aI("text=(aq) Web Hosting;url=http://www.a-q.co.uk/;status=(aq) Web Server Hosting & Services;");
aI("text=SMS 2 Email;url=http://www.sms2email.com/;");
aI("text=WebSmith;url=http://www.softidiom.com/;");
}