[*] B0 : change the tooltip (CC014)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8499 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
a318f6e081
commit
90724761b0
2 files changed
+12
-4
No files matched your search
+1
-2
@@ -749,8 +749,7 @@ tr.deleted td {
|
|||||||
/* help boxes */
|
/* help boxes */
|
||||||
.hint {
|
.hint {
|
||||||
display: none;
|
display: none;
|
||||||
position: relative;
|
position: absolute;
|
||||||
left: 0px;
|
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
border: 1px solid #50B0EC;
|
border: 1px solid #50B0EC;
|
||||||
|
|||||||
+11
-2
@@ -402,8 +402,17 @@ if (helpboxes)
|
|||||||
{
|
{
|
||||||
if ($('input'))
|
if ($('input'))
|
||||||
{
|
{
|
||||||
$('input').focus(function() { $(this).parent().find('.hint:first').css('display', 'block'); });
|
//Display by rollover
|
||||||
$('input').blur(function() { $(this).parent().find('.hint:first').css('display', 'none'); });
|
$('input').mouseover(function() { $(this).parent().find('.hint:first').css('display', 'block'); });
|
||||||
|
$('input').mouseout(function() { $(this).parent().find('.hint:first').css('display', 'none'); });
|
||||||
|
|
||||||
|
//display when you press the tab key
|
||||||
|
$('input').keydown(function (e) {
|
||||||
|
if ( e.keyCode === 9 ){
|
||||||
|
$('input').focus(function() { $(this).parent().find('.hint:first').css('display', 'block'); });
|
||||||
|
$('input').blur(function() { $(this).parent().find('.hint:first').css('display', 'none'); });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user