Hi,
I implemented the Microsoft Outlook Bar, which i downloaded from Dynamic Drive, in my .NET application.
I have attached here the javascript code.
It has the outlook.js file which contains this part:
function b_addButton(img, label, action)
{
this.img[this.img.length]=img;
this.lbl[this.lbl.length]=label;
this.act[this.act.length]=action;
this.sta[this.sta.length]=0;
return this
}
In the outlook.aspx file, we have the following code:
<script language=javascript >
var o = new createOutlookBar
('Bar',0,0,screenSize.width,screenSize.height,'#9F9FFF','white') // OutlookBar
var p
//create first panel
p = new createPanel('a','FMEA System');
p.addButton('../img/policy.jpg','Policy','parent.main.location="../policy.aspx"');
p.addButton('../img/find.jpg','Search','parent.main.location="../search.aspx"');
</script>
Problem : While i am trying to find the name and id of each of the images used in the panel, they are null.![]()
1. How to give the name or id for each images used in the panel??![]()
Kindly help me!!
Thanks.
Kavitha.



Reply With Quote

Bookmarks