Hi there,
how would you solve this?
I like click on tab and an arg should send to the url?

Cheers

Comments

nedjo’s picture

Status: Active » Postponed (maintainer needs more info)

Please elaborate, I don't understand the question.

moonray’s picture

Here's an example of how it works with a specific implementation.


  
  /**
   * Make sure the cck fieldset tabs create a useable url when clicked on.
   */
  $('.drupal-tabs.tabs-processed', context)
    .find('> ul li a')
    .each(function () {
      $(this).click(function() {
        var index = window.location.href.indexOf('#');
        var url   = (index != -1 ? window.location.href.substr(0, index) : window.location.href);
        var hash  = (index != -1 ? window.location.href.substr(index + 1) : '');
        
        window.location.href = url + $(this).attr('href');
      });
    });
moonray’s picture

Status: Postponed (maintainer needs more info) » Needs work