Hi there, hope someone can give me some help with that prob.

How can I add a fragment to url, if the tabset is loading (..onload)?
How to manage an onload function?

How can I get the the id of a clicked tab?

I have this code
<code>
// Process custom tabs.
  $('.drupal-tabs:not(.tabs-processed)', context)
    .addClass('tabs-processed')
    .each(function () {
      if ($(this).is('.tabs-navigation')) {
        Drupal.tabsNavigation(this);
      }
    })
    .find('> ul')
    .tabs({
      cookie: {  expires: 0},
      selectedClass: 'active',
      fx: fx,
      select: function(event, ui){
     // var url = jQuery.url.segment(0) + '/' + $('.active').attr
('nid'); // get the nid of the active elem. - but not of the current
    //  window.location = url;  // change url on click - works!
      return true;
                }
    })

</code>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to