IE6 problem finding YAHOO in YUI application

S

stacey1112000

I have a page that uses the YUI tree view that links to specific
fields in a displayed document.
It works fine in Firefox (of course :cool: and IE7, but clicking on the
nodes in IE6 does not work.
If I try and open the link in a new window, I get

Error: 'YAHOO" is undefined
Code: 0
URL: javascript:YAHOO.widget.TreeView.getNode('toc',3).toggle()

Any ideas?
 
E

Evertjan.

wrote on 27 aug 2008 in comp.lang.javascript:
I have a page that uses the YUI tree view that links to specific
fields in a displayed document.
It works fine in Firefox (of course :cool: and IE7, but clicking on the
nodes in IE6 does not work.
If I try and open the link in a new window, I get

Error: 'YAHOO" is undefined
Code: 0
URL: javascript:YAHOO.widget.TreeView.getNode('toc',3).toggle()

Any ideas?

Simple: Define YAHOO.

Warning: The fruit of the YUI tree could be poisonous!
 
D

David Karr

I have a page that uses the YUI tree view that links to specific
fields in a displayed document.
It works fine in Firefox (of course :cool: and IE7, but clicking on the
nodes in IE6 does not work.
If I try and open the link in a new window, I get

Error: 'YAHOO" is undefined
Code: 0
URL: javascript:YAHOO.widget.TreeView.getNode('toc',3).toggle()

Any ideas?

Post questions about this to the YAHOO YUI mailing list (in YAHOO!
Groups), and show enough detail of your code for someone to get a clue
to what's wrong.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top