// CSS: padding modification for correct display of stock tab
This commit is contained in:
1 parent
ea5db2d23c
commit
9b50c9b3a1
1 file changed
+16
+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