Hi guys,
I'm trying to write a multi room chat script (I'm a huge IRC addict - BitchX) for a site. I've basically done all the 'server-side' coding and it's working fine. Now I'm trying to code the interface with 'tabbed windowing' (like the top navigation bar on this site).
Up to now, the only way to do it (at least I've found) would be to create a complex Frameset like this one:
| tab 1 | tab 2 | tab 3 | tab 4 | |
| | U |
| chat area | S |
| | E |
| | R |
| | S |
| input area and stuff | X |
with tabs being link buttons targetting frame 'chat area'.
The questions are:
- Does it make sense?
- Is there an easier way to do this?
- Is it possible to 'highlight' the button for active tab (it is possible to change room without clicking on the tab) and put it back to normal when changing room?
- Is it possible to highlight a button when another event happens (new message in a room, ...)
Thanks in advance for any help, hint, pointer or script 😉
Mike