Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Tabs Help View modes: 
User avatar
Member
Member
oli.acev-yahoo - 4/23/2010 4:46:51 AM
   
Tabs Help
How I can to do tabbed link but to show news in same window like this

http://www.canadashistory.ca/

on the right in tabbed news, events, tweets

Please help

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 5/4/2010 5:34:09 AM
   
RE:Tabs Help
Hello,

Those tabs seem to be created using jQuery library. You can use e.g. Repeater webpart to generate particular HTML layout. Please see more details about their implementation here: http://flowplayer.org/tools/tabs.html

Best regards
Ondrej Vasil

User avatar
Member
Member
oliveracev-yahoo - 5/17/2010 1:54:47 AM
   
RE:Tabs Help
Can you help me and describe ме how to make this tab

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 6/8/2010 4:21:27 AM
   
RE:Tabs Help
Hello,

There is really step by step instructions on the site I pointed you at. Anyway, please read further to see what you can do to make the jQuery tabs menu work. Please take a look at this article: http://flowplayer.org/tools/demos/tabs/index.html and http://flowplayer.org/tools/demos/tabs/index.htm, it is a demo of the minimum tabs menu and I'll show you what steps need to be done in Kentico CMS.

1) Firstly, we'll prepare source files of Javascript and CSS stylesheet. Please download the Javascript .cs file: http://cdn.jquerytools.org/1.2.2/jquery.tools.min.js and save it to ~/CMSScripts/jQueryTabs/ folder.
Please also download CSS stylesheet .css: http://static.flowplayer.org/tools/css/tabs.css and save it to: ~/App_Themes/<your_site_CSS_stylesheet_codename>/. Additionally, please download the image used there: http://flowplayer.org/tools/img/tabs/blue.png and save it to the same location.

2) Please add the reference links to this Javascript and CSS stylesheet to the master page in: CMS Desk -> Content -> Root document -> Master page. It can look like this:

<script src="~/CMSScripts/jQueryTabs/jquery.tools.min.js"></script>

<link type="text/css" rel="stylesheet" href="~/App_Themes/CorporateSite/tabs.css" />


You will add also the Javascript from the example to enable the tabbing effect:

<script type="text/javascript">
// perform JavaScript after the document is scriptable.
$(function() {
// setup ul.tabs to work as tabs for each div directly under div.panes
$("ul.tabs").tabs("div.panes > div");
});
</script>


3) Now, you are ready to copy the HTML code:

<!-- the tabs -->
<ul class="tabs">
<li><a href="#">Tab 1</a></li>
<li><a href="#">Tab 2</a></li>
<li><a href="#">Tab 3</a></li>
</ul>

<!-- tab "panes" -->
<div class="panes">
<div>First tab content. Tab contents are called "panes"</div>
<div>Second tab content</div>
<div>Third tab content</div>
</div>



And add the 'Static HTML' webpart to the document (on Design tab) and insert code above to the 'Text' property in the 'Source' mode of the WYSIWYG editor. Save the webpart.

4) It should work fine like this.

x) Still, it is kind of static, therefore you can use the Repeater webpart to generate this layout for content tree items automatically. There will be used two Repeaters in this scenario. You will take advantage of the content before/after where you insert the enwrapping HTML code: <ul class="tabs"> / </ul> and <div class="panes"> / </div>, respectively. In first Repeater's transformation you can have code like this:

<li><a href="#"><%# Eval("Column1") %></a></li>

and in the second one:

<div><%# Eval("Column2") %></div>

Basically, it is up to you how you modify it. It is just an example. Hope you'll be able to achieve that.

Best regards
Ondrej Vasil

User avatar
Member
Member
oli.acev-yahoo - 6/9/2010 3:27:51 AM
   
RE:Tabs Help
Thank for your support

Work in both

User avatar
Member
Member
dbraun-pediatricweb - 12/3/2012 2:49:03 PM
   
RE:Tabs Help
Do you know if the content of each tab is searchable by Google?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/4/2012 5:59:08 AM
   
RE:Tabs Help
Hi,

This is fine. Since the content is available on the page when the page loads all search engines bots can find and index that content, so the answer is YES.

Best regards,
Martin Danko

User avatar
Member
Member
godavari - 9/26/2013 12:37:07 PM
   
RE:Tabs Help

Hi Ondrej,

None of the links for flowplayer are working:
http://flowplayer.org/tools/tabs.html
http://flowplayer.org/tools/demos/tabs/index.html
http://flowplayer.org/tools/demos/tabs/index.htm
http://flowplayer.org/tools/img/tabs/blue.png

This folder is not available:
~/CMSScripts/jQueryTabs/

Do you want to create it manually?
Can send details with working links and screen shots?
I am looking at tab pages to show up on left side.
Need to know what changes can be made.

Thanks,
godavari

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/26/2013 12:46:15 PM
   
RE:Tabs Help
godavari wrote:
Hi Ondrej,

None of the links for flowplayer are working:
http://flowplayer.org/tools/tabs.html
http://flowplayer.org/tools/demos/tabs/index.html
http://flowplayer.org/tools/demos/tabs/index.htm
http://flowplayer.org/tools/img/tabs/blue.png

This folder is not available:
~/CMSScripts/jQueryTabs/

Do you want to create it manually?
Can send details with working links and screen shots?
I am looking at tab pages to show up on left side.
Need to know what changes can be made.

Thanks,
godavari
godavari, what version of Kentico are you working on currently? You do realize this post is from 2010 and it appears the flowplayer.org site has been redone.

User avatar
Member
Member
godavari - 9/26/2013 2:35:10 PM
   
RE:Tabs Help

Using Kentico 7.
Is there any alternative soln?

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/26/2013 11:05:09 PM
   
RE:Tabs Help
godavari wrote:
Using Kentico 7.
Is there any alternative soln?
In version 7 you might check out the tabbed layout webpart.

User avatar
Member
Member
godavari - 9/27/2013 11:44:40 AM
   
RE:Tabs Help

In kentico 7, they don't have option for Left or right side tabs.
They have only Top, Top Rt, bottom or bottom rt.

User avatar
Member
Member
kentico_sandroj - 9/27/2013 4:57:51 PM
   
RE:Tabs Help
If the default Web part wouldn't work and you want to avoid customizing, you could use a jQuery solution for a vertical menu.

Best Regards,
Sandro