Yuav Ua Li Cas Kom Pop-up Duab

Cov txheej txheem:

Yuav Ua Li Cas Kom Pop-up Duab
Yuav Ua Li Cas Kom Pop-up Duab

Video: Yuav Ua Li Cas Kom Pop-up Duab

Video: Yuav Ua Li Cas Kom Pop-up Duab
Video: ntsuab vaj qhia pi ua lub chaw khwv nyiaj thib3 ua tag tau tag mus li cas part 4 2024, Kaum ib hlis
Anonim

Pop-up lossis pop-under windows yog ua thiab nrov dua hauv Is Taws Nem. Los yog, yooj yim dua, cov duab pop-up. Ntau tus tswv tsev xaib feem ntau yuav tsum tau ua lawv rau kev tshaj tawm, tab sis tsis yog txhua tus paub lub algorithm rau lawv cov kev tsim.

Yuav ua li cas kom pop-up duab
Yuav ua li cas kom pop-up duab

Nws yog qhov tsim nyog

  • - HTML editor;
  • - phau ntawv sau;
  • - hosting.

Cov Lus Qhia

Kauj ruam 1

Tsim lossis qhib lub vev xaib tshiab hauv HTML lossis cov ntawv kho. Koj tuaj yeem siv cov kev pab cuam nrov xws li Dreamweaver, Expression Web thiab lwm tus rau lub hom phiaj no. Yog tias koj nyuam qhuav noj koj thawj kauj ruam hauv HTML ntawm cov lus programming, siv "notepad" tsis tu ncua.

Kauj ruam 2

Khaws cov cai nram qab no nyob nruab nrab ntawm "lub taub hau" thiab "/ lub taub hau" cim npe:

.thumbnail {txoj hauj lwm: txheeb ze; z-Performance index: 0;}

.thumbnail: yuj {xim tom qab: pob tshab; z-Performance index: 50;}

.thumbnail ncua {/ * CSS rau cov duab loj * / txoj haujlwm: meej; xim tom qab: lub teeb ci; padding: 5px; sab laug: -1000px; ciam teb: 1px dashed grey; pom kev: nraim; xim: dub; kho kom zoo nkauj ntawv: tsis muaj;}

.thumbnail nrug img {/ * CSS rau cov duab loj * / ciam teb-dav: 0; padding: 2px;}

.thumbnail: yuj ncua {/ * CSS rau cov duab loj ntawm yuj * / pom kev: pom; saum: 0; laug: 65px; / * txoj hauj lwm qhov chaw uas cov duab loj yuav tsum tawm ntawm kab rov tav * /}

Kauj ruam 3

Kho cov kab rov tav thim rov qab ntawm cov duab nrov los ntawm kev hloov tus nqi ntawm kab kawg ntawm kab. Txheeb chaw nyob ntawm "lub cev" thiab "/ lub cev" cim npe qhov twg koj xav kom cov duab tshwm rau ntawm lub vev xaib. Tom qab ntawv luam thiab muab cov code nram qab no:

Piv txwv ntawm cov ntawv sau ua

Piv txwv li ntawm cov ntawv qhia"

Kauj ruam 4

Hloov "nplaub tshev / largepci1.jpg" nrog cov ntawv uas siv rau lub popup yees duab. Ua tib yam nrog lub thib ob block ntawm code. Hloov kab "Piv txwv ntawm kab ntawv" nyob rau hauv nws rau yam dab tsi yuav tsum tau sau nyob rau hauv lub pop-up duab. Kuj hloov qhov siab thiab dav qhov tseem ceeb hauv cov cai kom kho qhov loj me ntawm cov duab pop-up. Tsim cov lej ntxiv ntawm cov lej los ntxiv cov kab lus kos. Sau lwm tus cwj pwm, cim npe, thiab kab ntawv hauv HTML daim ntawv raws li xav tau. Khaws cov ntawv HTML thiab tom qab ntawd upload nws rau koj lub web server.

Pom zoo: