CharlieMike73
Programmer
Hi, I have a page listing a number of activity codes used by the employees to report their time worked. The page is intended to serve as a reference manual for how any given activity code is to be used and what work qualifies under that activity code. What I want to do is have the page load showing a button with the activity code number for it’s text and then the activity title to the side like below:
Then when you click on the | 123 | button, for example, the box expands and shows the detailed info for that activity and all the others remain collapsed.
Like so:
If you click on the button again it collapses. I found a script to handle the expand/collapse (scriptaculous) but I don’t know how to make the OnClick action change from expand to collapse and back again.
Can someone help me with this… I’m an Oracle DBA so web programming is not really something I know much about.
I can post the PL/SQL code if that would help, but it may just confuse would-be helpers as it’s not typical HTML, but I can post any HTML snippets you provide into the PL/SQL code.
Thanks in advance
Code:
| 123 | - SHIMMING
| 124 | - SEALING CRACKS
| 125 | - REPAIRING SURFACE
Like so:
Code:
| 123 | - SHIMMING
Includes all necessary labor, equipment, and materials used for placing asphalt mix, to restore distorted pavement surfaces to a desired shape, or to add strength. Includes costs for traffic control. Do not use for Hot Maintenance Mulch. See Activity 121.
| 124 | - SEALING CRACKS
| 125 | - REPAIRING SURFACE
Can someone help me with this… I’m an Oracle DBA so web programming is not really something I know much about.
I can post the PL/SQL code if that would help, but it may just confuse would-be helpers as it’s not typical HTML, but I can post any HTML snippets you provide into the PL/SQL code.
Thanks in advance