Let There Be Interactivity

I’ve been working on adding more interactive elements to my film noir multimedia web comic, Murder is Suicide. The first of these elements is a lamp switch button sitting on top of the Chapter 1 title page graphic.

Previously the graphic was static, but with the addition of this element and some javascript in the background, the viewer can press the button, which makes a clicking sound, and it swaps out the image of the darkened desk silhouette with the original version of the lamp-illuminated desk with the file folder on top that bears the title of the chapter: Death and Drowning.

The button also turns off the lamp and the button graphic changes to reflect the on or off state of the lamp. You can see the larger full version on the Murder is Suicide website.

Chapter 1: Death and Drowning
lightbulb switch