用js 实现走马灯效果,横向的怎么实现?纵向的又是怎么实现的?<!DOCTYPE html PUBLIC "-W3CDtd XHTML 1.0 TransitionalEN" "http:www.w3.orgtrxhtml1Dtdxht2023-03-04JavaScript170