Knowledge Base support case for AllWebMenus,  abstracted and stripped of all user’s private info.


Initial Email From:
Mike
Initial Email Subject: Server side rounded corners
Support Case Month: November 2012

Hi

I am looking at the server side manual to find out how to specify rounded corners and not finding it. sorry if I am missing it, but is it possible ?

thanks
cheers .. Mike

Reply From: Likno Customer Support

Dear Mike,

This is indeed possible, but not yet documented (we will correct this in our next release).

Still, you can see how this can be done if you compile a server-side menu with rounded items and copy the code from there.

For an item style for example, you can do this:

its10=new ItemStyle("name=menu_itemstyle10;textfont0=Tahoma, Arial, Helvetica, sans-serif;textfont1=Tahoma, Arial, Helvetica, sans-serif;textfont2=Tahoma, Arial, Helvetica,sans-serif;textsize0=11px;textsize1=11px;textsize2=11px;
color0=#000066 ;color1=#000066;color2=#000066;padding0=3px 8px 3px 8px;
padding1=3px 8px 3px 8px;padding2=3px 8px 3px  8px;bgcolor0=#D2D9FF;
bgcolor1=#C2CBFC;bgcolor2=#C2CBFC;*radius0=4px / 4px;radius1=4px / 4px;radius2=4px / 4px;*align0=left;align1=left;align2=left;cursor=hand");

Accordingly, you can change the same style like this:

its10.radius0="23px / 23px";
its10.radius1="23px / 23px";
its10.radius2="23px / 23px";

or shorthand if you want the same values for all states:

its10.radius0= its10.radius1= its10.radius2="23px / 23px";

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: Likno Customer Support

Dear Mike,

The easiest way to find how to do anything server-side related, is to create the style you want in AllWebMenus, compile it and look at the compiled file.

Try something like this:

mystyle2.radius0= "7px 7px 0px 0px / 7px 7px 0px 0px";

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Tags: , , , , , , , , , , , , , ,