tiy Posted April 18, 2006 Report Share Posted April 18, 2006 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 More sharing options...
bubu Posted April 18, 2006 Report Share Posted April 18, 2006 Javaskripts. onmouseenter onmouseleave eventi + css (gdisplay=block/hide). Link to comment Share on other sites More sharing options...
tiy Posted April 18, 2006 Author Report Share Posted April 18, 2006 Varetu kadu vienkarshu piemeru, jo es JS neesmu specigs, skatijos source pie http://seawolfs.gamez.lv bet tur ta JS ir daudz un var redzet ka Ansis to pats nerakstija, man viss maz ta liekas. Link to comment Share on other sites More sharing options...
Stopp Posted April 18, 2006 Report Share Posted April 18, 2006 <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 More sharing options...
bubu Posted April 18, 2006 Report Share Posted April 18, 2006 Tur ir javaskripti, Stopp. Tikai laikam jālogojas iekšā un tad uz kartes uzbraucot leca visādi popupi ari infu. Link to comment Share on other sites More sharing options...
tiy Posted April 18, 2006 Author Report Share Posted April 18, 2006 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 More sharing options...
Stopp Posted April 18, 2006 Report Share Posted April 18, 2006 <div id="hmm" style="display: none;"> sorry, ātrumā nepamanīju. Link to comment Share on other sites More sharing options...
bubu Posted April 18, 2006 Report Share Posted April 18, 2006 Tāpēc, ka tev čota errori ir noteikti. Un man kristāla bumba vakaros pēc 22.00 vairs nestrādā. Link to comment Share on other sites More sharing options...
v3rb0 Posted April 18, 2006 Report Share Posted April 18, 2006 pēdiņas pareizi saliec. Link to comment Share on other sites More sharing options...
tiy Posted April 18, 2006 Author Report Share Posted April 18, 2006 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 More sharing options...
Stopp Posted April 18, 2006 Report Share Posted April 18, 2006 ah, jā. document.getElementById('hmm') abās vietās Link to comment Share on other sites More sharing options...
tiy Posted April 18, 2006 Author Report Share Posted April 18, 2006 (edited) 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 April 18, 2006 by tiy Link to comment Share on other sites More sharing options...
Stopp Posted April 18, 2006 Report Share Posted April 18, 2006 pēti šo failu. vienīgais, ko varu pateikt, ir, ka, uz bildes uzbraucot, tiek izsaukta tt funkcija. dziļāk pētīt netaisos :) Link to comment Share on other sites More sharing options...
Recommended Posts