You could try 'try/catching' the code:
replace your menu.absolutize(); with:
try {
menu.absolutize();
} catch(e) { alert(e); }
What does the error message tell you?
On Tue, Jun 1, 2010 at 11:12 AM, Ran Berenfeld <[email protected]>wrote:
> Hello
>
> I'm trying Prototype 1.7 RC 2 and I have a problem
> this is the code that is running :
>
> $$("li.horizontal").each( function(elem) {
> elem.observe("mouseover", subMenuShow);
> var menu = $(elem.id + "Menu");
> alert(menu);
> alert("1");
> menu.absolutize();
> alert("2");
>
> In chrome it works, however in IE 7.0 I see the alert("1") but I fail to
> see the alert("2")
> can you please tell me what is the problem ?
>
> Thanks
> Ran
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<prototype-scriptaculous%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.