Hello, I am the administrator of the Wolfenstein WIki. I would like to create a template that would allow me to have clickable buttons or the like which would highlight portions of a map. However I have only limited powers as an administrator.
- I CAN access and edit a sitewide .js script
- I CAN create tables and divs and spans
- I CAN give these things IDs and class names.
- I can NOT give these things onclicks and onmouseovers
Basically, in extremely simple terms that ignore everything I do know how to do, imagine that I have a table (id "map") and two buttons (in class "clickmap", id "button1" and "button2"). I want to be able to click the first button and make the table X pixels wide. Then I want to click the second button and make the table Y pixels thin again. But I have no access to onclick or onmouseover or any of that, only to a sitewide JS script.
Could anyone make any suggestions about things I could put in my sitewide JS to make something like this work? I hope I'm not being too vague.