- David -
This issue has come up before with IE and the
onAvailable method. If you want to use the
"onAvailable" method and are still getting this error
you could also try passing the id of the element that
is the next sibling of the root node of your menu to
the "onAvailable" method.
Here is an example:
Alternatively, you could just use a "load" event
handler for the page as demonstrated in this example:
I hope that helps you.
--- dmg99992000 <david@...> wrote:
> Ok, I'm probably doing something wrong ... but I
> can't figure out what
> it is.
> I've got an animated menu that works GREAT in
> firefox ... but IE (6 or
> 7) can't display it.
> IE will start to display the page ... and then
> display "Internet
> explorer cannot open the internet site ... Operation
> I've externalized the code to build my menu (from
> markup) into it's
> own JS file.
> An example can be found here:
> In this example, the code to build the menu is
> invoked in the <head>
> section. In the page I define a global variable
> that contains the
> menu's div name, and then reference that variable
> whenever the div
> name would be needed.
> The last line of my external JS file is:
> I did some experimentation and found that, if I move
> the code that
> builds the menu to the bottom of the page, it works
> correctly. But
> some of my pages can take a long time to build ...
> so I would rather
> have the menu built as soon as possible.
> Any suggestions?
> Yahoo! Groups Links
> (Yahoo! ID required)