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 

help needed

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsOutlookBar
Author Message
timjoein



Joined: 03 May 2005
Posts: 7

PostPosted: Wed May 04, 2005 10:04 am    Post subject: help needed Reply with quote

Hi ,
{text:"Records Management (V)", url:'',
items:[
{text:"Records - Document Information", image:'arrow', url:'2.html'},
{text:"Records - Revision Information", image:'arrow', url:'2.html'},
]
},

in the place of url i want to call a javascript function as url , can anybody help me how to do that

Cheers
Thimi
Back to top
Victor_Chuiko
Support Team


Joined: 12 Apr 2005
Posts: 145

PostPosted: Wed May 04, 2005 3:19 pm    Post subject: Reply with quote

So, here is you code:

Code:
panels:[
{text:"IndusConnect (Y)", url:'',
items:[
{code:"IndusConnect Triggers", format:{image:"images/image.gif", imgsize:[10,15], imgsize:[10,15]}, url:"javascript(f_flowAction('x', 'IFA_APPLY'))"}
]
}


As I see, you don't want the button to have an url. So than just don't give it url. And you write :url:'',. So, considering this, your code should look like following:

Code:
panels:[
{text:"IndusConnect (Y)",
items:[
{text:"IndusConnect Triggers", image:"images/image.gif", url:"javascript:void(f_flowAction('x', 'IFA_APPLY'))"}
]
}
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsOutlookBar All times are GMT
Page 1 of 1