In that case,
we have to check that all parents are visible,
this code should alert(false), but surprisingly in firefox I've got true,
the element has been wrapped in a div with style display:none
window.addEvent('domready', function () {
var div = document.getElement("div").set("reveal", {duration: 3000,
onComplete: function () {
alert(div.isVisible())
}
});
div.get('reveal').dissolve()
})
On Fri, Dec 4, 2009 at 10:30 PM, Aaron Newton <[email protected]> wrote:
> I think I disagree here. If an element has a height or a width, it can be
> affecting the page flow (even without a height or width it can, but it's far
> less likely that it is).
>
>
> On Thu, Dec 3, 2009 at 1:21 PM, Oskar Krawczyk
> <[email protected]>wrote:
>
>> Pull, modify (you edit the code using GitHub's web interface), push.
>>
>> ___
>>
>> Oskar Krawczyk
>> http://nouincolor.com
>>
>>
>>
>> On Thu, Dec 3, 2009 at 5:27 PM, Thierry bela nanga <[email protected]>wrote:
>>
>>>
>>> the current returned value is,
>>>
>>> return (w == 0 && h == 0) ? false : (w > 0 && h > 0) ? true :
>>> this.isDisplayed();
>>>
>>> and should be,
>>>
>>>
>>> return (w == 0 || h == 0) ? false : (w > 0 && h > 0) ? true :
>>> this.isDisplayed();
>>>
>>>
>>> --
>>> http://tbela99.blogspot.com/
>>>
>>> fax : (+33) 08 26 51 94 51
>>>
>>
>>
>
--
http://tbela99.blogspot.com/
fax : (+33) 08 26 51 94 51