Jump to content
php.lv forumi

popup vai kas cits


tiy

Recommended Posts

Kads var palidzet, ka isti darbojas tas ficha, kad ar peli uzbrauc uz text vai bildes, izlec it ka popup's ar informaciju.

 

 

piem one.lv , kad uzbrauc uz foto un patur.

 

 

ps. mosh zin kads manuali

Link to comment
Share on other sites

<img onmouseover="document.getElementById("hmm").style.display='block';" onmouseout="document.getElementById("hmm").style.display='none';" src="bilde.jpg"/>

<div id="hmm">popup, tā saturs</div>

 

tas tā uz ātru roku. ps. neredzēju tanī tevis dotajā lapā nekādus javascriptus.

Link to comment
Share on other sites

Kapec man chota tas source neaizgaja?

 

<img onmouseover="document.getElementById("hmm").style.display='block';" onmouseout="document.getElementById("hmm").style.display='none';" src="bilde.jpg"/>

<div id="hmm">popup, tā saturs</div>

Link to comment
Share on other sites

Kur nav isti ar tam pedinam? Jo shitais man ar neiet!?

 

<img onmouseover="document.getElementById("hmm").style.display='block';" onmouseout="document.getElementById("hmm").style.display='none';" src="bilde.jpg"/>
<div id="hmm" style="background: #f1f1f9; display: none;"/>popup, ta saturs</div>

Link to comment
Share on other sites

Gala kods tagad iet, bet ir viens bet nesanak tas kas gribetos. Ka panak, lai tas paradas virsu imagem nevis kaut kur blakus . super piemers uzbraucot uz ikonas

 

<img onmouseover="document.getElementById('hmm').style.display='block';" onmouseout="document.getElementById('hmm').style.display='none';" src="bilde.jpg"/>
<div id="hmm" style="display: none;"><table border="1"><tr><td>text</td></tr></table></div>

Edited by tiy
Link to comment
Share on other sites

×
×
  • Create New...