Stump the Panel » Q&A on "Data View Web Parts" Workshops

Can I have more than one easy tabs in one page

(2 posts)

Tags:

  1. astatke
    Member

    I have two web part zones each with related web parts in each zone.

    My plan is to have more than one set of Easy tab in one page. One set of related web parts are found in one web part zone and another set of related web parts are avilable in another web part zone. My plan is to have two Easy tabs in one page so that related web parts in each zone can be handled by these two easy tabs.

    Can I do that? If so what changes do I have to make to the scripts?

    Thanks

    Posted 1 month ago #
  2. ihmunro
    Member

    Hi

    Yes you can, but you need to modify the code so that you dont end up with them being listed together. I am not sure which CEWP code you have, but open up the code in a CEWP and just check the first few lines:

    <script id="EasyTabsScript12345" type="text/javascript">

    /* Easy Tabs for Web Part pages - v 2.0
    Second row of tabs - For a second Web Part zone
    Christophe Humbert
    [email protected] */

    var TabCookie12345 = "TabCookie" + window.location.pathname + "12345";

    Notice in my case there is 12345 - and there are a lot in the code - somewhere like 64 of them.

    So go into notepad or SPD and do a search and replace on your number and change it to something else like 54321.

    Now both will play on the same page.

    Iain

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.