That's hard to answer with this lack of information.
Your code is throwing an error before the alert('') for sure.
If you could give us a link to this page.
Or maybe if you could see the javascript error console on your browser and
tell us.



Fábio Miranda Costa
Engenheiro de Computação
http://meiocodigo.com


On Sat, Feb 21, 2009 at 2:01 PM, nwhite <[email protected]> wrote:

> 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