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: rounded corners on menu items
careyb
Junior Member

Posts: 3
Registered: 6/3/2004
Member Is Offline
posted on 6/3/2004 at 07:13 PM Reply With Quote
rounded corners on menu items


I'm trying (under duress) to get rounded corners on my menu items. Has anyone done this ? Preferably without using images.

I'm looking at http://www.fireandknowledge.org/archives/2004/05/22/rounded-corners-without-images-part-1
but I'm having trouble integrating it into the menus. Does anyone have any advice to offer?

Thanks
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 6/21/2004 at 04:04 AM Reply With Quote

use inner HTML feature: put table inside menu items with rounded graphics in left and right cells and put text in middle cell which can have either background of the same color as graphics elements or miltiplied background image.

Here is the example of the wrapper for Tigra Menu GOLD:

function wrap_blue (text) {
var res=[];
for (var i=0; i<3; i++)
res=['<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="img/blue',
(i?2:1),'_l.gif" width="8" height="23" border="0"></td><td background="img/blue',
(i?2:1),'_m.gif" style="font-face: tahoma, verdana, arial; font-size: 11px; font-weight: bold; color: #105D94" width="100%">',text,'</td><td><img src="img/blue',
(i?2:1),'_r.gif" width="8" height="23" border="0"></td></tr></table>'
].join('');
return res;
}

for free version you'll need to return one string instead of array of three. that was for graphical rollover effect.
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