Closed (fixed)
Project:
Teleport
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2008 at 00:37 UTC
Updated:
21 Mar 2008 at 23:01 UTC
I've never been a big fan of the JQuery show('slow') or hide('normal') -type functions. The problem is that they animate both the size (width/height) and opacity at the same time. And IMO the width/height animation looks goofy.
I've changed the teleport.js to use fadeIn() and fadeOut() in place of show/hide in the appear and vanish functions and I like it much better:
Drupal.Teleport.appear = function() {
$('#teleport').fadeIn("fast", Drupal.Teleport.focus);
};
Drupal.Teleport.vanish = function() {
$('#teleport').fadeOut("fast");
};Sorry this isn't a proper patch, but it's really just a two word change.
Comments
Comment #1
incidentist commentedThanks to jjeff for the patch!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.