Hi everyone,
I am trying to make a select list where which is made up of 2 lists and
2 buttons, in which highlighting the option and clicking the Add/remove
button adds /removes it to/from the selection list. I tried looking for
some widgets but could not find any.
I even tried to make the widget by creating a dynLayer and setting its
HTML to the <selection tag and stuff like that.
The methods for adding and removing the elements are where I am stuck -
the metods addTems() removeItems() and so on that I am using are
prototype methods that I want to refer to with the onClick() method of
the buttons, but I could only do that by saying something like
top.listpanel.addItems(MyParameter1, MyParameter2),. Mind you this is
in the selectlist.js file.
this means that I have to initalize my selectlist with the standard name
listpanel or something like that. I would like to make a reference to
the method of the selectlist.js from within the setHTML layer of the
tag. I dont know what is it that I am doing wrong.
would really appreciate any help, and even better ... does anyone have
an already created selection List like the one that I was talking about
and would like sharing it with me??
Thanks in advance
Nikhil
|