vertical tab

Discussions about Forms Designer for SharePoint 2010.
Locked
lucbft
Posts: 4
Joined: Mon Feb 15, 2016

15 Feb 2016

Hello,

could you paste the code to switch an existing tab by a vertical tab.

Thank's a lot.

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

16 Feb 2016

Are you trying to change the orientation of the tab control dynamically? You know that you can just change it in Forms Designer by selecting Orientation: Left? (See screenshot)

Image

Otherwise, if you do need to change it dynamically, let us know and we'll provide some code.

lucbft
Posts: 4
Joined: Mon Feb 15, 2016

16 Feb 2016

Hello Rostislav,

Sorry, I didn't find it before.

Could you tell me how can I reduce the size of the tab names ?

As you can see, The width is a little bit to wide.

thanks

lucbft
Posts: 4
Joined: Mon Feb 15, 2016

16 Feb 2016

I'd like to show you the screenshot but the result of my post doesn't display the png. sorry.

The result is the width of the tabs is 4 times bigger than the name of the tab.

Thank's

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

16 Feb 2016

You can paste the following code into the CSS editor (the CSS button in Forms Designer):

Code: Select all

.ui-tabs > ul {
	width: 50px;
}

.ui-tabs > ul > li{
	width: 50px !important;
}

lucbft
Posts: 4
Joined: Mon Feb 15, 2016

19 Feb 2016

Perfect,

Thanks a lot.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests