Author |
Topic  |
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 14 January 2003 : 12:02:20
|
did you set the height of the <tr> by any chance? In Netscape 7, it expands (although the menu item gets moved way to the right) and colapses, but when the text is being hidden, the row stays the same height. Then when you re-expand it, the height is added to the height already present. |
 |
|
DavidRhodes
Senior Member
   
United Kingdom
1222 Posts |
Posted - 14 January 2003 : 12:04:38
|
Not sure if it makes too much difference but the JavaScript should go between the HEAD tags. Also remember that if you use DIV tags, the menu won't stretch, it'll appear over the ones below. Try align="left" in the TD tags to sort out the text
 |
The UK MkIVs Forum |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 14 January 2003 : 12:06:22
|
Ya, I was thinking about height. I didn't set the height. Should I do that? Then do I need to reset the height in javascript for expanding and collapsing? |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 14 January 2003 : 12:12:12
|
I believe that if the contents of a row exeed the set height, the row will be forced to get higher. It might be worth trying although I'm absolutely no good at JavaScript and am just guessing here  |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 14 January 2003 : 12:36:50
|
You are using visible="hidden" are you not? I haven't looked at your code. this property reserves the space on the screen even if the content is hidden. The display property can be set to block or none and this does not reserve space. |
KatsKorner
Installation Help | Snitz Mods | Forum Hosting
|
 |
|
DavidRhodes
Senior Member
   
United Kingdom
1222 Posts |
Posted - 14 January 2003 : 12:37:58
|
ok, instead of style="display: none" try style="visibility: hidden" in the TR tags and change the JS appropriately ie display = visibility none = hidden block = visible
may work? what's 'block' btw?
|
The UK MkIVs Forum |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 14 January 2003 : 12:49:37
|
quote: Originally posted by DavidRhodes
ok, instead of style="display: none" try style="visibility: hidden" in the TR tags and change the JS appropriately ie display = visibility none = hidden block = visible
may work? what's 'block' btw?
It means the content is visible when it is set to 'block' |
KatsKorner
Installation Help | Snitz Mods | Forum Hosting
|
 |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 14 January 2003 : 12:51:01
|
quote: Originally posted by Nikkol
i just switched to using divs. seems to work fine. check it out.
You could also use <span></span> tags. They don't kick down a line after use like <div> does.
We actually had a similar problem the other day with this. I just haven't had time to type much!! |
KatsKorner
Installation Help | Snitz Mods | Forum Hosting
|
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Topic  |
|