CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 17th, 2003, 01:06 PM
Elsy Elsy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 5 Elsy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 11 sec
Reputation Power: 0
Question how to use CSS style hidden? block?

I would like to hide some rows in a table until a user clicks the expand view button and then minimize view should rehide the expanded data??

Thanx for your help.

Reply With Quote
  #2  
Old September 17th, 2003, 02:06 PM
Winters Winters is offline
Bad Coder
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jul 2003
Posts: 1,742 Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 10 h 57 m 14 sec
Reputation Power: 171
Code:
<html>
 <head>
  <style>tr#hide{display:none}</style>
  <script>
   function hide()
    {document.getElementById('hide').style.display = 'none'}
   function show()
    {document.getElementById('hide').style.display = 'block'}
  </script>
 </head>
 <body>

  <table>
   <tr><td onClick=show()>[show]</td></tr>
   <tr id=hide><td>Hidden</td></tr>
   <tr><td onClick=hide()>[hide]</td></tr>
  </table>

 </body>
</html>

Reply With Quote
  #3  
Old September 17th, 2003, 02:10 PM
khwang's Avatar
khwang khwang is offline
Über nübe
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Babylon 4
Posts: 240 khwang User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 27 sec
Reputation Power: 5
I got this link here:

collapse menu html

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > how to use CSS style hidden? block?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway