Siv jQuery rau Cov Kua Mis Los Ua Ib Sab Ncaj Qha Web

jquery

JavaScript tsis yooj yim ntawm cov lus kawm. Ntau tus neeg tsim tawm lub vev xaib uas nkag siab cov qauv HTML tau raug hem los ntawm nws. Ib qho kev sib tw tshiab ntawm JavaScript qauv tau nyob ib ntus tam sim no thiab tab tom pib ntaus lub vev xaib nyob rau hauv kab.

Txhua tus browser niaj hnub muaj peev xwm khiav JavaScript tau zoo (qee qhov kev hloov kho tsis ntev los no rau Firefox muaj tiag sped txog lawv lub cav, ho). Kuv xav mas kom rub thiab siv Firefox - lub plugins ib leeg ua rau nws muaj nqis.

jQuery yog lub moj khaum JavaScript Kuv tau sim ntau dua thiab ntau dua nrog tsis ntev los no. Thaum kuv muab lub chaw rau tus pib tshiab, peb tsis muaj cov ntsiab lus txaus rau lub xaib tag nrho tab sis peb xav tau teeb tsa nplooj ntawv zoo uas piav qhia txog dab tsi tuaj. Thiab peb xav ua nws hauv ob peb feeb!

jQuery tsuas yog ua kom yuam kev.

Ua kev tshawb rau jQuery + zoo rau txhua yam, thiab koj tseem yuav pom tias cov neeg tsim tawm tau tsim cov kev daws teeb meem, hu ua plugins, uas npaj mus! Hauv qhov no, Kuv tau ua qhov kev tshawb nrhiav rau "jQuery carousel" thiab pom ib qho zoo heev, muaj txhij txhua jQuery carousel daws ntawm Dynamic Drive.

Ib qho zoo ntxiv txog jQuery yog tias nws yog code yog tam sim no hosted los ntawm GoogleCov. Raws li qhov tshwm sim, koj tsis tas yuav upload jQuery rau koj tus kheej server, tsis yog koj lub vev xaib nyeem ntawv yuav tsum rub nws txhua lub sijhawm. Yog tias lawv tau mus rau ib lub xaib nrog cov ntawv siv rau jQuery, nws tau cached cia rau siv nrog koj lub xaib!

Cias ntxiv cov code nyob rau hauv koj lub taub hau lossis koj tau tawm thiab khiav nrog jQuery:


Txhawm rau khiav lub carousel, Kuv tau muaj peev xwm mus upload thiab siv cov ntawv stepcarousel:


Tom qab ntawd, hloov cov nplooj ntawv tau yooj yim! Kuv muab kuv carousel li ib div hu ua mygallery thiab cov sawb ntawm Panels tsis pub dhau ib div hu ua sivCov. Kuv mam li ntxiv ib qho me me ntawm kev cai lub cim hauv kuv lub cev tag.

Koj tuaj yeem kho qhov kev txiav txim siab me ntsis. Qhov no kuv hloov kho tsab ntawv kom khiav nrawm thaum nplooj nrawm. Kuv tau hloov kho qhov nrawm thiab lub sijhawm uas txhua lub vaj huam sib luag tshwm, ntxiv rau cov nyees khawm kom manually tig cov laug sab thiab sab xis. Lwm qhov txias ntawm lub plugin no - thaum koj tau txais mus rau lub vaj huam sib luag kawg, nws rewinds rov qab mus rau thawj!

Yog tias koj ntshai tsam lub cajmeem lossis JavaScript ntshai heev, jQuery tej zaum yuav yog qhov kev daws rau koj. Feem ntau ntawm cov sij hawm, koj tsuas yog yuav tsum luam thiab muab cov ntawv xa cov ntawv xa mus, hloov kho ob peb nqis, teeb tsa nplooj ntawv kom raug ... thiab koj tau tawm thiab khiav.

3 Comments

  1. 1

    Kuv tab tom txhim kho kuv lub vev xaib thiab tseem tabtom npaj yuav pib lub asthiv no yog tias txhua yam mus zoo. Kuv tabtom siv jQuery rau qee qhov ntawm nws thiab tsis muaj kev tsis txaus siab txog tam sim no. Txhua yam zoo li tau muab tawm tias "web 2.0" zoo siab thiab cia siab tias nws tsuas yog qhuas lub vev xaib tiav.

Yuav ua li cas koj xav hais tias?

Qhov Web site no siv Akismet los txo cov kev pabcuam. Kawm li cas koj cov ntaub ntawv tawm tswv yim tiav.