Hi there,
I am totally new to Sharepoint design and I am having trouble creating tabs on my site. I tried to follow directions from Hillbilly Tabs but I could not get it to work.
I have a table with 1 row and 6 columns and I am wondering if I can make those cells each a tab of their own. Or how I would go about creating 6 tab that I could add mostly links on each tab.
I uploaded the attached js file as sharepoint.js to my site items. Added a content editor and pointed it to the url of the .js file by right clicking on it and choosing copy link. I get an error that says the url cannot be directed to the site contact administrator.
There has to be an easier way to make tabs. Any helpwould be greatly appreciated.
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.1.min.js"></script><script type="text/javascript" src="//code.jquery.com/ui/1.11.2/jquery-ui.min.js"></script> <script type="text/javascript" src="//cdn.jsdelivr.net/jquery.cookie/1.4.1/jquery.cookie.min.js"></script> <script type="text/javascript" src="//www.markrackley.net/scripts/jquery.HillbillyTabs.2013.js"></script> <link type="text/css" rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/start/jquery-ui.css" /> <div id="tabsContainer"></div><script type="text/javascript">
jQuery(document).ready(function($) {
//Put 2 web parts in 2 different tabs
// var webPartTitles = ["Web Part Title 1","Web Part Title 2"];
// HillbillyTabs(webPartTitles);
//Create a Tab with Two Web Parts, and a second tab with one Web Part
// var webPartTitles = ["Tab Title;#Web Part Title 1;#Web Part Title 2","Web Part Title 3"];
// HillbillyTabs(webPartTitles);
//Put all web parts (that have visible titles) in current zone into tabs
HillbillyTabs();
});
</script>