Hi there, how would you solve this? I like click on tab and an arg should send to the url?
Cheers
Please elaborate, I don't understand the question.
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'); }); });
Comments
Comment #1
nedjoPlease elaborate, I don't understand the question.
Comment #2
moonray commentedHere's an example of how it works with a specific implementation.
Comment #3
moonray commented