ASP Expanding Tree

已关闭 已发布的 Jan 6, 2004 货到付款
已关闭 货到付款

I need an ASP function in VBScript to produce a navigable 'tree' (client side) within IE5.0 or higher.

It should be written in VBScript to generate standard DHTML client-side. Re-freshing of the page will not be accepted.

Population of the tree will be via passed arrays containing the information.

## Deliverables

1) Complete and fully-functional ASP Code with sample Page to demonstrate functionality.

2) Full Documentation of all sub-functions and key structures of the code.

3) Exclusive and complete copyrights to all work purchased.

4) NO USE of third party tools, ActiveX or DLL's - Pure ASP VBScript only.

Design of code should be as follows:-

The objPath would be a String of 1 to 30 characters and the tree would be arranged based on this path; i.e.

00

01

011

01112

02

023

0231

024

In this scenario 01112 is the child of 011 which is the child of 01 which is the child of 0. 0231 is the child of 023 which is (along with 024) the children of 02 which of course is the child of 0

(I can't show it expanded here as the forum reformats this message, but hopefully you get the idea)

The tree of course would not show the 'objPath' value, but replace it with the icon (as passed in the array), and show a +/- expand/hide icon next to each branch.

As the mouse moves over a row, it's class should be changed according to the passed parameter (in order to highlight the row by changing th background colour)

The expansion/hide MUST be handled client-side as the initial retrival of data would take some time (it will be queried from a SQL server prior to placing in the array)

The format of the table created must use style-sheets

The function would be passed the following information:-

IconArray(objType[0-???], state [0-1)

objType would be integer type (index to the Icon array) and state would be 0=Closed, 1=Open.

ObjectList(uid,objType,objPath,ShortDesc,col1,col2,col3,col4,col5,hlink)

uid = UniqueID for this object

objType = IconArray Type

objPath=path (as show above)

ShortDesc= Name to place next to Icon

Col1-5 = Next 5 Columns

hlink=Hyperlink (to pop-up within a toolbar-less window)

<%

InsertMyTree IconArray, ObjectsArray, Title, popupWidth, popupHeight, hlightRowClass

%>I would expect it to be called as follows:-

ShowTree (ObjList,IconList,HighlightClass,PopupWidth,PopupHeight,Title,PopupMode [0=single click, 1=doubleclick])

The resultant table should be self contained and not require any header information. The layout of the table should adjust itself to fit into all the available space of where it is written (ie. it could be in a table cell or 100% of the page width)

## Platform

Windows 2000/XP IIS3 and higher for a target browser of IE5.0 or higher.

ASP 工程 MySQL PHP 软件构架 软件测试 用户接口 / IA Visual Basic 网络主机 网站管理 网站测试

项目ID: #3060161

关于项目

3个方案 远程项目 活跃的Jan 21, 2004

有3名威客正在参与此工作的竞标,均价$64/小时

pushpat

See private message.

$63.75 USD 在7天内
(30条评论)
5.2
robxvw

See private message.

$63.75 USD 在7天内
(18条评论)
4.4
vw228784vw

See private message.

$63.75 USD 在7天内
(13条评论)
4.1