Iplagi ye-AMP ngesilayidi seAMP

I-Accelerated Mobile Pages (AMP) umvelisi wokwenza amaphepha e-AMP kaGoogle , iiplagi ze-AMP kunye ne- AMPHTML ithegi yejenereyitha zixhasa ukudalwa okuzenzekelayo kwe-AMP carousel.

Izilayida ze-carousel ze-AMP zenziwe ngokuzenzekelayo kuyo yonke imifanekiso ekwindawo yokubhaliweyo yenqaku (kwi 'itemprop = articleBody' indawo ).


Isibhengezo

<amp-carousel> -Ukudityaniswa kweSlider


extension

Ukukhawulezisa uMenzi wamaphepha eselfowuni kwenza ngokuzenzekelayo i-AMP carousel isebenzisa ithegi ye-amp amp carousel ukuba kukho umfanekiso ongaphezulu kwesinye kwinqaku lencwadi!

I-carousel ye-AMP ithatha indawo yomfanekiso wenqaku eliqhelekileyo kwiphepha le-AMPHTML.

Ukuba kukho umfanekiso omnye kuphela okanye akukho mfanekiso kwaphela kwinqaku, i-AMP carousel ifihliwe ukuze kuphuculwe amaxesha okulayisha iwebhusayithi, kuba kule meko i-AMP carousel JavaScript akufuneki ilayishwe kuqala.

Endaweni ye-carousel ye-AMP, kuphela ngumfanekiso wenqaku olulula oboniswayo okanye indawo ehlala ingenanto.

Imifanekiso ekwicarousel ye-AMP ine-caption. <img> iimpawu zethegi 'alt=' kunye ne 'title=' ezisuka kwiphepha lokuqala zisetyenziswa njengokubhaliweyo. Ukuba ezi mpawu azichazwanga kwiphepha lokuqala, i-Accelerated Mobile Pages generator isebenzisa inqaku elithi <Isihloko> ithegi.


Isibhengezo