PDA

View Full Version : Help needed with Microsoft Outlook Bar downloaded from Dynamic Drive



KavithaKrishnan
10-20-2006, 07:59 AM
1) Script Title:
Menu and Navigation --> Microsoft Outlook Bar IE5

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/outbar/index.htm

3) Describe problem:
I implemented the Microsoft Outlook Bar in my .NET application.

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.