jquery-tabtree.js -> options -> defaultSelected with no effect
--------------------------------------------------------------

                 Key: MGNLSTK-829
                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-829
             Project: Magnolia Standard Templating Kit
          Issue Type: Bug
          Components: themepop
    Affects Versions: 1.4.6
         Environment: Firefox 7.0.1, IE 8, ...
            Reporter: Dan Glanzmann
            Assignee: Philipp Bärfuss
            Priority: Major


we need to select a specific tab at page load.

to do this we tried the initialization option: defaultSelected
and set this to 1 ore 2 instead of 0 with no effects...

Test 1:

/templating-kit/themes/pop/js/init-behaviour.js :
...
  function createTabs(){

    $('ol.text-box-toc, ol.toc-box-toc')
      .each(function(){
        $(this)
          .tabtree(
            {activeButtonClass: 'on',
             defaultSelected: 2}
          )
          .tabChangeAddon();
      });
  }

Test 2:

/templating-kit/js/all/jquery-tabtree.js :
...
  $.widget('ui.tabtree', {
    options: {
...
      defaultSelected: 2,
...
    },


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to