[Prototype-core] Re: Hide / show bug

2007-11-25 Thread DK
On Nov 23, 4:18 pm, Mislav Marohnić [EMAIL PROTECTED] wrote: [...] If CSS is hiding it, you must show it by explicitly setting style.display to block. 'block' if it should be a block, 'inline' if it should be an inline element, bixy, You better not think about other choices and listen

[Prototype-core] Re: Hide / show bug

2007-11-23 Thread Mislav Marohnić
Bixy, They don't work if you've hidden the element in the CSS stylesheet. Element.show() only works when the element is by default visible, but was also hidden with JavaScript. That is good practice to follow - if you're going to show it with JavaScript, make sure you hide it with JavaScript and