banner
This commit is contained in:
parent
4fb6f239bd
commit
e767981283
|
|
@ -76,14 +76,29 @@
|
|||
|
||||
$caption.after($controlplay);
|
||||
}, 500);
|
||||
|
||||
$('.ba-banner-widget-0 .w-ad-banner__slide a')
|
||||
.on('focus', function() {
|
||||
$('.ba-banner-widget-0 img').css('position', 'relative');
|
||||
})
|
||||
.on('blur', function() {
|
||||
$('.ba-banner-widget-0 img').css('position', '');
|
||||
});
|
||||
$('.ba-banner-widget-0 .w-ad-banner__slide a')
|
||||
.on('focus', function() {
|
||||
$('.ba-banner-widget-0 img').css({
|
||||
'height' : 'auto',
|
||||
'width' : '80%',
|
||||
'margin' : 'auto',
|
||||
'position' : 'relative',
|
||||
'display' : 'flex',
|
||||
'justify-content' : 'center',
|
||||
'margin-top' : '1em'
|
||||
});
|
||||
})
|
||||
.on('blur', function() {
|
||||
$('.ba-banner-widget-0 img').css({
|
||||
'height' : '',
|
||||
'width' : '',
|
||||
'margin' : '',
|
||||
'position' : '',
|
||||
'display' : '',
|
||||
'justify-content' : '',
|
||||
'margin-top' : ''
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style type="text/css">
|
||||
|
|
|
|||
Loading…
Reference in New Issue