How to customize each and every tabs length according to the words within the tabs in a Tab set.
Is it possible to insert a field within a Tab set as one of the tab.For example if i need to use it as search field which is located at the top right of the page.
Tabs
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Use the TabSet Control's styling assistant to style it. I don't think a width is specified by default so each tab should be as wide as the content. You probably need to specify a little left and right padding and might need to add white-space:nowrap to the advanced style.
You insert a field value by entering &&fieldname into the tab's text. This works the same for all texts.
You insert a field value by entering &&fieldname into the tab's text. This works the same for all texts.
0 x
-
- Ebase User
- Posts: 14
- Joined: Wed Jul 29, 2015 12:53 pm
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
You can't insert an Ebase form field into a tab. But you can get an input field to appear by clicking the Contains Html checkbox in the tab text editor and then just adding the input field e.g. label:<input type='text'/>. But you would have to populate and process this yourself using Javascript.
0 x
-
- Ebase User
- Posts: 14
- Joined: Wed Jul 29, 2015 12:53 pm
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
With a Horizontal Menu Control, the second level items will automatically dropdown on hover.
With a Vertical Menu Control you can set property Levels before Dropdown to 1. The second level items will then appear to the right when you hover. There isn't anything that will make the whole menu expand vertically on hover.
With a Vertical Menu Control you can set property Levels before Dropdown to 1. The second level items will then appear to the right when you hover. There isn't anything that will make the whole menu expand vertically on hover.
0 x
-
- Ebase User
- Posts: 14
- Joined: Wed Jul 29, 2015 12:53 pm
I actual want to know how can I make a vertical menu appear for a "Tab" in "Tab set" when i hover over it .So the end result is in such a way that when I hover over the tab in the tab set I get a drop down menu and when i click the tab it should display the tab content as usual.Should I write a script for it , How can I do it.
0 x
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
It should be possible to do this but it's not something I've come across. Basically, you need to use a client Javascript framework (probably jQuery) to implement the hover behaviour that you want. You will need to be able to select the <li> html tags which represent each tab within the tabset (so you can apply the jQuery behaviour to them) - which doesn't look too easy. To do this, I would try adding a class to the tabset (Using Advanced Properties within the styling assistant), then using a CSS selector to identify all <li> tags within that class. You would need to experiment to get this to work.
0 x
Who is online
Users browsing this forum: No registered users and 14 guests