Hi
Need help on two issues please:
1.
-----------------------------------------
html file
........
.
.
..
<table id="tabs">
<tr><td>Apple</td> <td>Fruit</td></tr>
<tr><td>Audi</td> <td>Car</td></tr>
<tr><td>Ant</td> <td>Insect</td></tr>
</table>
.
.
.
.
<script>
$(document).ready(function(){
$('#tabs tr').mouseover(function(){
$(this).addClass('zebra'); }); //on mouseover on a tr the background color should change
});//ready
</scirpt>
Here is a simple table with id="tabs"
----------------------------------------
css file
.zebra{
background-color:green;
}
if i do #tabs td it works but not #tabs tr???
--------------------end of question 1-----------------
2'nd question
$('div').slideDown(1000); does not work , slideUp works but not slideDown ?
---------------end of question 2-------------
Many Thanks
Meeraa


Reply With Quote





Bookmarks