I respect your work. This is an awesome SharePoint Template. When I downloaded the first version of it I had many problems using Folders in Document Librarys but now it makes my life a lot easier with SharePoint. Best SharePoint Tab Template.
Thx a lot
]]>I have added cookies into the code to address this. Try this new code out . You will need to be able to edit the Tab Page with SharePoint Designer. You will then need to replace the current to with the below code. This should do it.
$(function () { var tabContainers = $('div#tabs > .tabbedWindow'); var tabsX = get_cookie ( "tabs" ); if ( tabsX == null) { tabContainers.hide().filter('#tab-1').show(); } else { tabContainers.hide(); tabContainers.hide().filter(tabsX).show(); $('div#tabs ul.tabNavigation a').removeClass('ms-topnavselected selected'); $('[href=' + tabsX + ']').addClass('ms-topnavselected selected'); } $('div#tabs ul.tabNavigation a').click(function () { var tabSelected = $(this).attr('href'); tabContainers.hide(); tabContainers.filter(this.hash).show(); $('div#tabs ul.tabNavigation a').removeClass('ms-topnavselected selected'); $(this).addClass('ms-topnavselected selected'); set_cookie ( "tabs", tabSelected ); return false; }) }); function set_cookie ( name, value ) { var cookie_string = name + "=" + escape ( value ); document.cookie = cookie_string; } function get_cookie ( cookie_name ) { var results = document.cookie.match ( '(^|;) ?' + cookie_name + '=([^;]*)(;|$)' ); if ( results ) return ( unescape ( results[2] ) ); else return null; }]]>
This is a powerful template. I’m very fascinated.
You already describt it on your page that the end-user will be automatically navigated back to Tab1 when IE do a refresh. On my MOSS Environment I created a *aspx page using your “Tab Template” + “a Document Library inluding Folders”. Now every time when an end-user opens a Folder on Tab3 he will be throw back to Tab1. This is very cumbrous for him. Do you know a solution how I can tell IE to remeber the last Tab session?
I hope you can help me
]]>Just wondering if there a way to create the tabbed layered interface without using a document library but some other web part that can be easily inserted on other pages throughout the site?
Thanks
]]>I recommend that you go to Baris’s original post where he outlines how to add this to an existing webpage.
Here is the link: http://www.bariswanschers.com/blog/creating-tabbed-windows-sharepoint-jquery
Hope that helps.
]]>I have tried taking the code on the Tabs.aspx page and have tried numerous attempts to get this code onto an existing page as I dont want to start from scratch.
Any suggestions as to what code and where it should be placed would be appreciated.
Iain
]]>You do not need to make any changes for WSS. It will work the same in WSS or MOSS. The documentation site is setup in WSS using the tab page and can be found here:
http://www.bitsofsharepoint.com/ExamplePoint/Site/TabPage.aspx
Hope this helps.
]]>Thanks in advance for any help you can provide.
]]>No worries. Why don’t you send me an email with a picture of what is happening. Please send one in the standard view and the edit mode. [email protected]
]]>