PDA

View Full Version : Changes to Ajax Tabs Content script



farzin
07-13-2007, 05:43 AM
1) Script Title:
Ajax Tabs Content script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm
3) Describe problem:
Hello,
I want to do changes in "Ajax Tabs Content script".
please look at this picture:
http://i7.tinypic.com/549fhp2.jpg
please a professional coder help me to do "Right To Left" tabs of this code.

Thank you! I am grateful!

ddadmin
07-13-2007, 07:26 AM
To right align the tabs, just find this line in the CSS file:


text-align: right; /*set to left, center, or right to align the menu as desired*/

A value of "right" like above should do it.

codeexploiter
07-13-2007, 07:36 AM
You can have the tabs in the right most cornet by adjusting the


margin-left property of the


shadetabs class in the ajaxtabs.css file

For example: If you consdier the demo page in the ajaxtabs.zip file in the CSS file, you can find a class called "shadetabs" by default the "margin-left" property has a value of "0px", if you want the tabs from left to right most corner you need to adjust the "margin-left" property from "0px" to "192px".

ddadmin
07-14-2007, 12:02 AM
Actually, just setting the text-align property to "right" as I've mentioned should suffice.