werd Posted June 29, 2007 Report Share Posted June 29, 2007 TAtad man ir uztaisits tas vecais labais joks ka uzbraucot ar peli uz attiecigajiem linkiem vai textiem paradas tas vai tas un attiecigi ari onmouseout pazud! bet problema kuru neizprotu ir KAPEC uzreiz ka ielade lapu man paradas tas kam japaradas tikai tad kad notiek f-jas onmouseover darbiba(kjipa ta kad radas tad kad vell nevajag) HELP!HELP! P.S Varbut problema ir .js scripta ???????? Link to comment Share on other sites More sharing options...
cucumber Posted June 29, 2007 Report Share Posted June 29, 2007 Radi, kodeu, bet varbut ieksh class='' ir vaina. a:hover etc Link to comment Share on other sites More sharing options...
andrisp Posted June 29, 2007 Report Share Posted June 29, 2007 Uzliec visiem tiem linkiem kaut kādu klasi un iekš css norādi display: none. Link to comment Share on other sites More sharing options...
werd Posted June 29, 2007 Author Report Share Posted June 29, 2007 function hideall(){ for (count=1; count<4; count+=1) // set "count" to one more than the total images/links document.getElementById('box'+count).style.display='none'; } function showbox(box){ document.getElementById(box).style.display='block'; } Sitas ir.js un Sitads <div id="Main"> <a href="#" onmouseover="hideall();showbox('box1')">1</a> <br /> <a href="#" onmouseover="hideall();showbox('box2')">2</a> <br /> <a href="#" onmouseover="hideall();showbox('box3')">3</a> <div id="Content1"> <div id="box1"></div> <div id="box2"></div> <div id="box3">asgsgsg</div> </div> </div> Link to comment Share on other sites More sharing options...
xPtv45z Posted June 29, 2007 Report Share Posted June 29, 2007 <div id="Content1"> <div id="box1"></div> <div id="box2"></div> <div id="box3">asgsgsg</div> <script>hideall();</script> </div> Link to comment Share on other sites More sharing options...
werd Posted June 29, 2007 Author Report Share Posted June 29, 2007 Yo paldies viss strada ta ka vajag un bij vajadzigs tikai <script>hideall();</script> PAldies! Link to comment Share on other sites More sharing options...
werd Posted June 29, 2007 Author Report Share Posted June 29, 2007 vel par to pashu( ja jau saku)! Ka lai to visu dabu ieks <table id="shell" width="800" height="500" background="bla/jpg"> <table id="inner" blabla> ?????? visu laiku vins uztasisa shell un ZEM ta liek table inner bet vajag lai ir viss ieks shell bez f-jas onmouseover tas man darbojas ka ieliek onmouse.. neka! Link to comment Share on other sites More sharing options...
andrisp Posted June 29, 2007 Report Share Posted June 29, 2007 visu laiku vins uztasisa shell un ZEM ta liek table inner bet vajag lai ir viss ieks shell bez f-jas onmouseover tas man darbojas ka ieliek onmouse.. neka! Ak dies. Link to comment Share on other sites More sharing options...
werd Posted June 29, 2007 Author Report Share Posted June 29, 2007 <te bija mega-garš koda gabals> Lūdzu izmanto paste.php.lv Link to comment Share on other sites More sharing options...
Grey_Wolf Posted June 29, 2007 Report Share Posted June 29, 2007 (edited) phpjanis --> krutais topika nosaukums ..... <table id="inner" blabla> -- KAs tas par murgu? <table > <tr> <td onmouseover="alert('kaads uzbrauca ar peli')" onmouseout="alert('Paldies ka aizvaacies')"> KAs tas? <td> <tr> <table> Edited June 29, 2007 by Grey_Wolf Link to comment Share on other sites More sharing options...
Recommended Posts