Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Expandable table rows

Reply
Thread Tools

Expandable table rows

 
 
chris
Guest
Posts: n/a
 
      08-07-2008
My ASP.NET 2 table has expandable rows that are expanded & contracted by
clicking on a 'show' / 'hide' link in the cell. In each row one cell
contains a table with two rows, one showing the contracted state and the
second showing the expanded state. JavaScript controls whether the expanded
or contracted row is visible. The expanded row contains some text as well as
a popup that is displayed when the user hovers over a link.

In IE7 then the expanded row works correctly but in IE6 then it works
correctly except for the fact that the expanded row height includes the
height of the popup. Can someone help me out as to what I'm doing wrong?

An example of the expanded state row cell is below:

Line 1 of some text<BR>
Line 2 of some text<BR>
<a href="" style="cursor:default;" onMouseOver="ShowPopup('HoverDiv');"
onMouseOut="HidePopup('HoverDiv');">
<U>Hover over this</U></a>
<div id="HoverDiv" style="visibility:hidden; position:fixed; top:0;
left:0;">
Line 1 of the popup<BR>
Line 2 of the popup<BR>
Line 3 of the popup<BR>
</div>


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
table.rows vs. table.getElementsByTagName (+ a regex question) eBob.com Javascript 5 05-20-2008 10:58 AM
Here is an example (start) of a gridview with expandable fields (not rows) Edwin Knoppert ASP .Net 0 11-29-2005 03:28 PM
script for moving rows up and down and traverse thru rows of HTML table Subba Rao via DotNetMonster.com ASP .Net 0 03-19-2005 06:46 AM
Table/table rows/table data tag question? Rio HTML 4 11-05-2004 08:11 AM
Help ASP; get last inserted value from one table, insert multiple rows in another table. PT ASP General 1 10-07-2004 07:27 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57