Results 1 to 4 of 4

Thread: Changes to Ajax Tabs Content script

  1. #1
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Changes to Ajax Tabs Content script

    1) Script Title:
    Ajax Tabs Content script
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...tent/index.htm
    3) Describe problem:
    Hello,
    I want to do changes in "Ajax Tabs Content script".
    please look at this picture:

    please a professional coder help me to do "Right To Left" tabs of this code.

    Thank you! I am grateful!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    To right align the tabs, just find this line in the CSS file:

    Code:
    text-align: right; /*set to left, center, or right to align the menu as desired*/
    A value of "right" like above should do it.

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    You can have the tabs in the right most cornet by adjusting the

    Code:
    margin-left
    property of the

    Code:
    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".

  4. #4
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Actually, just setting the text-align property to "right" as I've mentioned should suffice.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •