Pākuʻi AMP me ka slider carousel AMP

ʻO ka mea hana ʻo Accelerated Mobile ʻAoʻao (AMP) no ka hoʻokumu ʻana i nā ʻaoʻao Google AMP , nā plugina AMP a me ka mea hoʻohua tag AMPHTML i kākoʻo i ka hana automated o kahi carousel AMP.

Die AMP-Carousel-Slider werden automatisch aus allen Bildern erstellt, die sich im Artikeltext-Bereich befinden (im Bereich 'itemprop=articleBody').


Hoʻolaha

<amp-carousel>-Slider Integration


extension

Hoʻokumu ʻē ka Accelerated Mobile Pages Generator i kahi carousel AMP e hoʻohana ana i ka tag 'amp-carousel' inā aia he ʻoi aku ma mua o hoʻokahi kiʻi ʻatikala ma ka ʻatikala.

Hoʻololi ka carousel AMP i ke kiʻi ʻatikala maʻamau ma ka ʻaoʻao AMPHTML.

Inā hoʻokahi wale nō kiʻi a ʻaʻohe kiʻi paha ma ka ʻatikala, hūnā ʻia ka carousel AMP i mea e hoʻomaikaʻi ai i nā manawa hoʻouka pūnaewele, no ka mea i kēia hihia ʻaʻole pono e hoʻouka mua ʻia ka carousel JavaScript.

Ma kahi o ka carousel AMP, hōʻike wale ʻia ke kiʻi ʻatikala maʻalahi a waiho wale ʻia ka wahi.

Hāʻawi ʻia nā kiʻi i ka carousel AMP me kahi lepe. Lawe ʻia nā kūlana <img> tag 'alt =' a me 'title =' mai ka ʻaoʻao kumu i mau huaʻōlelo. Inā ʻaʻole i wehewehe ʻia kēia mau ʻano i ka ʻaoʻao kumu, hoʻohana ka mea hoʻoheheʻe i nā ʻaoʻao Mobile Accelerated i ka tag <Title> o ka ʻatikala.


Hoʻolaha