Today I am releasing a new, beta version of the Easy Tabs:
http://www.pathtosharepoint.com/sharepoint-user-toolkit/Pages/Easy-Tabs-Lite.aspx
For a live demo, go to the Path to SharePoint home page.
Why Lite?
I am maintaining two flavors of the Easy Tabs. This one is public, written in plain JavaScript. There’s another one written with jQuery, which allows to include some additional effects. The jQuery version is made available to the participants of the Easy Tabs online workshop.
Why a copyright?
As I explained in a previous post, original content published on the Web is copyrighted, even if the copyright notice is not displayed. It means that you are not supposed to reuse it without the author’s consent.
By including a license, I explicitly grant you the right to use the script without having to ask me first.
Why beta?
The new version has several new options, and testing all the variations on various browsers is time consuming. A beta version allows me to accelerate the release process and benefit from your input.
To report an issue, leave a comment below, or send an e-mail to Christophe@PathToSharePoint.com.
Will it work in SharePoint 2010?
No, version 4.0 is for SharePoint 2007 only. I am working on a SP 2010 compatible version.
No documentation?
The page is still under construction, and I’ll add more information in the weeks to come. I decided to publish it today to benefit from your feedback as soon as possible, both on the script itself and on the interface.
For information on the options, see the descriptions below and hover over the help icons on the form.
What’s new in v4.0?
Inline script
The script now runs in the flow of the page, instead of waiting for the page to be loaded. This avoids the flashing effect that some users reported.
To make the new script work, you’ll need to place it at the bottom of the Web Part zone.
Web Parts without a title
The previous version triggered an error if the zone contained a Web Part without title. The new version will simply ignore such Web Parts.
Multiple Easy Tabs in a page
The new script is “widgetized”, you can include several Easy Tabs in the same page without having to tweak the code.
Split option
If you check the Split option, the tabs will be distributed across two rows.
Expand all
This option will add to the tabs row an option to make all Web Parts visible.
Web Part headers
Choose to show the Web Part headers if you want to keep the title hyperlink and the Web Part edit menu on the screen.
Autoplay
With this option, the focus will automatically switch to the next tab after a certain amount of time. This can be useful to build a simple slide show for example.
Minified script
For better performance, the new script is compacted. Its size remains similar to the previous version, despite all the added features.
How to get the script?
Go to the Easy Tabs page, fill out the form, and click on the “Save to Disk” button. Once you have your script, you can add it to a SharePoint page via a Content Editor Web Part (preferred solution: upload the text file containing the script to a SharePoint library, then link to it from the CEWP).
Notes:
– if you don’t have Flash 10 installed, you won’t see the “Save to Disk” button. In this case, just copy and paste the code displayed in the text area.
– all the options are included in the script you download. You can later modify the variables directly in the script, without having to come back to the form.
– keep in mind that this is a beta version, for evaluation purposes.