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 

Status bar

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



Joined: 27 Sep 2002
Posts: 8
Location: Cardiff,Wales-UK

PostPosted: Thu Nov 18, 2004 4:41 pm    Post subject: Status bar Reply with quote

How can I control the status bar window message of a link.

I am using

// Title: COOLjsTree PRO
// Version: 2.2.1

is this possible ?

I need to be able to control mouseover i guess
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Thu Nov 18, 2004 4:45 pm    Post subject: Reply with quote

You need latest version of COOLjsMenu Professional (2.1.6 or higher, AFAIK). It has "status" and "alt" fields:
Code:
{code:'My item', alt:'Tooltip text', status:'Status bar text', ...

Ask at jssupport@cooldev.com.

Oops... Sorry, wrong forum. Anyhow, you need latest version of the script - COOLjsTree Professional 2.5.x.
Back to top
sjdeere



Joined: 27 Sep 2002
Posts: 8
Location: Cardiff,Wales-UK

PostPosted: Fri Nov 19, 2004 9:21 am    Post subject: whats the latest version? Reply with quote

I have just purchased COOLjsTree Pro with the proBuilder .

I downloaded the .zip file and extracted looked at the folder in there called js and at the top of those it says

// Title: COOLjsTreePRO
// URL: http://javascript.cooldev.com/scripts/cooltreepro/
// Version: 2.3.1

so my question is how do I get the latest version or have I got it.
I should do I bought it yesterday. or have I got the wrong one or something ..I ordered ...Professional (with builder) USD 64

so this should be latest version and I should be able to control my status links yeah.

Also just tried with my new version 2.3.1

['Jobs', 'jobs/jobs.asp', 'mainFrame', status:'jobsmessage',],

not working..menu disappers totally

I tried thsi as well:

[{id:45, code:'javascript:newwinhire()', alt:'Tooltip text', status:'Jobs Status bar text'},'Jobs', null, null,],

'javascript:newwinhire()' is a fuction i have on my page to sete the status bar,
nothing..just behaves as normal
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Tue Nov 23, 2004 2:38 am    Post subject: Reply with quote

2.3.1 is the latest stable version. Latest unstable, unrelease version is 2.5.5.

On every stable release all our customers receive update newsletter. And if you want to get latest unstable release (preview, beta, or whatever), then send your request to jssupport@cooldev.com (and don't forget to include your Ref.No.).
Quote:
not working..menu disappers totally

The following code will work with 2.3.2 and above:
Code:
$.image_onmouseover = $.button_onmouseover = $.caption_onmouseover = function (_node) {
   window.status = newwinhire();
   return true;
}
Back to top
sjdeere



Joined: 27 Sep 2002
Posts: 8
Location: Cardiff,Wales-UK

PostPosted: Tue Nov 23, 2004 9:52 am    Post subject: status Reply with quote

Is there an example anywhere as this is not working

where does the code go?

I replaced
[{id:999},'Jobs', 'jobs/jobs.asp', 'mainFrame',],

with your code no luck

do I have to use images or something?
It would be great you someone could give 1 example using and image and one example using just a text link.
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Tue Nov 23, 2004 11:58 am    Post subject: Reply with quote

Code:
<script type="text/javascript">
var tree1 = new COOLjsTreePRO(...);
tree1.image_onmouseover = tree1.button_onmouseover = tree1.caption_onmouseover = function (_node) {
   window.status = newwinhire();
   return true;
}
tree1.init();
</script>

This will work with 2.3.2 and above, so if you don't have that version then ask at jssupport@cooldev.com.
Back to top
sjdeere



Joined: 27 Sep 2002
Posts: 8
Location: Cardiff,Wales-UK

PostPosted: Mon Nov 29, 2004 3:41 pm    Post subject: status bar and + and - on parent node only? Reply with quote

you have lost me

firstly I thought you were talking about the tree1_nodees.js file

but now it looks like this javascript need to be put into the head of my document yeah?

you have really confused me I'm sorry to say

what do I specify in the tree1_nodees.js

[{id:002},'<img src="http://www.days.co.uk/development/mainmenu/buttonset1/aboutus.gif" width="150" height="20" border="0">', 'javascript:ChangeImages()', '_self',
['Introduction','aboutus/aboutus.asp', 'mainFrame', ],
['Welcome Message','aboutus/aboutus.asp', 'mainFrame', ],
['Company History','aboutus/history.asp', 'mainFrame', ],
['Contact Us','aboutus/contact.asp', 'mainFrame', ],

],

and since you suddenly started mentioning <img s> which is not what I had set up I thought I may as well make mine images as well

the thing is as well as having control over the status bar I also only want the parent nots to have + and - signs

How can the image be changed after a user clicks the node

ie [{id:002},'<img src="http://www.days.co.uk/development/mainmenu/buttonset1/aboutus.gif" width="150" height="20" border="0">', null, null,


sample at

http://www.days.co.uk/development/frame_leftmenu.asp
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Tue Dec 21, 2004 1:02 pm    Post subject: Reply with quote

Please, send me your source files, and I'll modify them by myself.

BTW, your tree looks very nice. Can we use similar design in our samples? Of course, we will not use your code - only the design idea.
Back to top
sjdeere



Joined: 27 Sep 2002
Posts: 8
Location: Cardiff,Wales-UK

PostPosted: Tue Dec 21, 2004 2:29 pm    Post subject: Reply with quote

Yes you can use whatever you want. will send you the source files.
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Thu Jan 06, 2005 11:07 am    Post subject: Reply with quote

Quote:
Yes you can use whatever you want.

Thank you.
Quote:
will send you the source files.

I can't find any e-mails related to this post in my mailbox...
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