JavaScript.CoolDev.Com Support Forums
Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com
| Author |
Message |
Luc Guest
|
Posted: Sat Sep 03, 2005 9:35 pm Post subject: Changing default state and demo4 problem |
|
|
In an old post (Fri Jun 11, 2004 10:17 pm), the default state was discussed. The suggestion then was to <<go to outlook.js and find first instance of the following string: "sho(0)". Then change zero to the zero-based index of the panel you want to see initially.>>
I just downloaded the free version 1.0.7 of CooljsOutlookbar, and can't find the string "sho(0)" in outlook.js. Is there a new solution for this version?
Also, in outlookbar_definition.js of demo4 there are 4 panels, the last one being "Misc". However, this panel doesn't appear when I run the demo. Am I doing something wrong?
Thanks for your suggestions. |
|
| Back to top |
|
 |
Victor_Chuiko Support Team
Joined: 12 Apr 2005 Posts: 145
|
Posted: Tue Oct 11, 2005 8:41 am Post subject: |
|
|
First of all, please, download the latest version - 1.1.7. You can get it here:
http://jscd-support.com
But you need to use 'defaultPanel' instead of 'sho(0)'. Like this:
| Code: | var OUTLOOKBAR_DEFINITION = {
format:{
target:'main',
defaultPanel:1,
... |
| Quote: | | Also, in outlookbar_definition.js of demo4 there are 4 panels, the last one being "Misc". However, this panel doesn't appear when I run the demo. Am I doing something wrong? |
There is a limit of 3 panels maximum for Free and Standard versions of COOLjsOutlookBar. |
|
| Back to top |
|
 |
|
|