document hasn't loaded?

window.addEvent('domready',function(){
// put your code here
});




On Sat, Feb 21, 2009 at 11:57 AM, f12 <[email protected]> wrote:

>
> I got this code:
>
>
>        $$('li.menuSlide').each(function(el, i){
>
>                var myElid = el.get('id');
>                var myLink = el.getElement('a');
>                var block = myLink.getNext();
>                var menuSliding = new Fx.Slide(block);
>
>                menuSliding.hide();
>
>                el.addEvent('click', function(el){
>                        new Event(el).stop();
>                        menuSliding.toggle();
>                });
>
>        });
> ////
>        alert('here');
>
>
>
> The problem is that everyhting begining on that alert('here'); line is
> not executed...
>
> I'm not understanding why... Could anyone please help me out on this!?
>
>
> Thanks in advance.

Reply via email to