JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error with tree_nodes.js

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree
Author Message
WRStrong



Joined: 05 Nov 2004
Posts: 1

PostPosted: Fri Nov 05, 2004 6:45 pm    Post subject: Error with tree_nodes.js Reply with quote

I have the format correct (according to the examples...)

like...

['Chat', 'chat/index.php3', '_body'],

(It should open the chat/index.php3 file in the frame titled, "body".)

It keeps opening it in a new window.

I have only 2 frames. One on left which is called, "contents" which has the site logo, the tree menu and a hit counter. The other on the right is where all links are to open called "body". Where is the error?

Thanks,

B.
Back to top
Torquemada



Joined: 14 Sep 2004
Posts: 11

PostPosted: Sun Nov 07, 2004 12:19 am    Post subject: Reply with quote

I don't think you need the underscore before the frame name, so it should be:

['Chat', 'chat/index.php3', 'body'],
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Wed Nov 17, 2004 7:54 pm    Post subject: Reply with quote

Yes, exactly: remove the underscore. Only special frame names have undersocre: _blank, _self, _top, ...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree All times are GMT
Page 1 of 1