// CSS: padding modification for correct display of stock tab
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9380 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+16
@@ -416,6 +416,22 @@ if (helpboxes)
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if ($('select'))
|
||||||
|
{
|
||||||
|
//Display by rollover
|
||||||
|
$('select').mouseover(function() {
|
||||||
|
$(this).parent().find('.hint:first').css('display', 'block');
|
||||||
|
});
|
||||||
|
$('select').mouseout(function() { $(this).parent().find('.hint:first').css('display', 'none'); });
|
||||||
|
|
||||||
|
//display when you press the tab key
|
||||||
|
$('select').keydown(function (e) {
|
||||||
|
if ( e.keyCode === 9 ){
|
||||||
|
$('select').focus(function() { $(this).parent().find('.hint:first').css('display', 'block'); });
|
||||||
|
$('select').blur(function() { $(this).parent().find('.hint:first').css('display', 'none'); });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user