Welcome visitor
* Login
* Register
It is currently May 20th, 2019, 6:30 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  td content to objects
PostPosted: April 4th, 2009, 1:48 am 
User avatar

Posts: 34
hi,
i have a table, some cells are empty and some have information. can i use the empty cells to work as buttons and when they are clicked the others are shown?

heres an example of my table, on cell is empty and the other has a hidden picture
<table>
<tr>
<td></td><td><img src="pic.gif" style="display:none;"></td>
</tr>
</table>


thanks.


Top
 Profile  
 
  Re: td content to objects
PostPosted: April 4th, 2009, 1:51 am 
User avatar

Posts: 81
<table>
    <tr>
        <td onClick="document.getElementById('content').style.display='inline';"></td>
        <td><img src="pic.gif" id="content" style="display: none"></td>
    </tr>
</table>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron