[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - How to align the menu to the right
Advertisement

How to align the menu to the right

Moderators: Calcifer, slothy

How to align the menu to the right

Postby bakaith » Fri Feb 10, 2006 8:42 pm

bakaith
 
Posts: 3
Joined: Fri Feb 10, 2006 8:36 pm

Postby Batalf » Fri Feb 10, 2006 8:46 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby bakaith » Fri Feb 10, 2006 9:11 pm

bakaith
 
Posts: 3
Joined: Fri Feb 10, 2006 8:36 pm

Postby bakaith » Wed Feb 15, 2006 9:05 pm

bakaith
 
Posts: 3
Joined: Fri Feb 10, 2006 8:36 pm

Postby Batalf » Wed Feb 15, 2006 9:59 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby yoni » Sat Mar 11, 2006 11:12 pm

Hi,

Same question for the XP tabs with a twist.

I also need to right align the tabs, so I changed the value of the startPos variable. It works great for static tab names. However, my tab names are dynamic.

so this:
___________________________________menu 1 | menu 2 | menu 3___
becomes this:
___________________menu 1' | menu 2' | menu 3'__________________

Is there a way to calculate at run time the total widths of the tab names?
If so, I can set the startPos to total_width - tab_names_width and the problem is solved.

Any ideas?
yoni
 
Posts: 7
Joined: Wed Mar 08, 2006 10:35 pm


Return to Menu script questions

Who is online

Users browsing this forum: No registered users and 2 guests

cron