I'm using the plug-in of the bxslider, but I'd like to know how to use it because there seems to be some parts of the tutorial that don't show how to use it.
http://bxslider.com
In the sample at the top of the above site, if you mouse over the left and right arrows, the arrow itself does not work, but if you mouse over the arrow when you are using it, something like an animation that moves up and down.I want to get rid of this movement, and I want to get rid of the round gray background of the arrow image.
$( document).ready(function(){
$('.bxslider').bxSlider({
mode: 'fade',
captions —true,
auto —true,
pause —5500,
speed —800,
mode: 'horizontal',
pager —true,
prevText: '<',
nextText: '>'
});
});
The reason why the arrows are animated is probably because the height of the images is not uniform.
It seems that adaptiveHeight
should be specified as false
if you want to fix the arrow position regardless of the height of the image height.
http://bxslider.com/examples/slideshow-adaptive-height
adaptiveHeight:false
As for the background of the arrow image, the gray part of images/controlls.png
is transparent with image editing software, or prevText
, nextText
to change the text you want to display like a prevSelector
text.
http://bxslider.com/examples/custom-next-prev-selectors
If you want the text to be displayed in the image, CSS will position the parent element with relative
, text display element with absolute
, and so on.
577 PHP ssh2_scp_send fails to send files as intended
606 Uncaught (inpromise) Error on Electron: An object could not be cloned
884 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
567 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.