Advertisement
2_2002-2004 Controls/ Forms/ Graphics/ Menus #126903

collapsable menus elements

I wrote these menus using javascript behaviors encapsulated into 3 htc files creating a set of custom tags to make a collapsable menu that can accept images links and styles with ease. There is also an example of using filtering to create a gradient bar without the use of a bitmap. xmenu.htc: this is a block tag element that you put the elements that you want to appear in the menu into. xmenuctrl.htc: is a custom tag that has a two image display to show the state of the menu, one for expanding and one for collapsing the menu. xitem.htc: the last custom tag that is basically an anchor tag that has an attribute (windowstatus) to display a different message in brower windowstatus bar then the link. I have include three menus that I used on some of my webpages already with all the image files that go with them.. so enjoy maybe they will be a use to someone. check it out, please leave any comments or suggestions for improvement. Update: I have made some minor improvements as well as an Improvement to the xitem image handling. so far nobody has had any issues. Once again feel free to leave any comments suggestions and or complaints. NOTE: these will only work on IE 5.5 and and up or browsers supporting htc.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine