Hal,
I never work with absolute positioning, so I don't know how pages are drawn out with it, but I thought of something...
I looked at the example at the site you linked to and they had their bars in a table. If you put your bar in a table you should be able to use the onclick event of the table cell.
Just did a quick test in VS, dropped a HTML table on the page and put in a asp image control. Looks like items in the table cells are actually in the cell so you can use the cell's onClick event. (Come to think of it, even if the object isn't in the cell in code, but "in" it visually, you could still use the cell's click handler. You'd just be using the cell as a mouse hit area.)
Shut off everything on the table to make it hidden if you need to (no borders, etc), then also add this into the cell's style attribute: "cursor:hand;" so you get the right mouse icon for a clickable area.
Let us know if that works.
Peter
------------------------------------------------------
Work smarter, not harder.
|