When selected the login block cycles through expand - collapse depending on the number of times the refresh button has been used. If i used the refresh button 10 times then the block expands - collapses 10 plus a few times ... if 15 times then 15 plus a few.

See attachment for picture of the login block.

Code for the script controlling the block follows:


/*--- top tab panel ---*/
Drupal.behaviors.forDrupalTabPanel = function(context) {
  // top panel tab effect
  $('.toppanel-tab').click(function() {
    $('.toppanel-container').slideToggle();
  });

  // top panel close button
  $('.close-button').click(function() {
    $('.toppanel-tab').trigger('click');
  });
};
CommentFileSizeAuthor
Picture1.jpg19.77 KBrkodrupal
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mqanneh’s picture

Issue summary: View changes
Status: Active » Closed (outdated)