Jump to content
php.lv forumi

need help!


werd

Recommended Posts

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

Radi, kodeu, bet varbut ieksh class='' ir vaina. a:hover etc

Link to comment
Share on other sites

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

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

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 by Grey_Wolf
Link to comment
Share on other sites

×
×
  • Create New...