BoltWire is a content management system developed by Dan Vis.


Popular Posts

Version 5.11 Released
May 26, 2016

Big Changes Coming Soon...
April 28, 2016

Catching Up
April 6, 2016

Other Sites

Here's some other sites by Dan Vis:

Alexa Echoes
Join my adventures developing for Amazons exciting new voice platform.

Firefly Spot
Personal rambling about new gadgets, technology news, and space travel.

FAST Missions
My ministry hub, with news and updates about our online school.

You can follow him at www.danvis.info.

Dropdown Menu

Extensions > Plugins > Dropdown Menu

Summary: A nifty little css/js drop down menu
Status: Stable, Version 4.19
Downloads: dropdown.php

Here's a cool script you can use to create drop down menus.


1. Download the php script to your shared plugins folder, then enable it in site.config as needed.

2. Cut and paste the following code to code.embed.dropdown. (This name is hardcoded in the php script). Feel free to modify the CSS, but be careful you don't change something that breaks the script.

<style type='text/css'><!--
#dd { margin: 0; padding: 5px; z-index: 30; }
#dd li { padding: 0px; list-style: none; float: left; font-weight: bold; }
#dd li a { display: block; text-decoration: none; padding: 5px 10px; font-weight: bold; color: white; margin-top: 6px; }
#dd li a:hover { background: #777; }
#dd div { position: absolute; visibility: hidden; background-color: #333; padding: 0px; }
#dd div a {     position: relative; margin-top: 5px; width: auto; white-space: nowrap; text-align: left; }
#dd div br {display: none;}

<script type='text/javascript'>
var timeout = 500;
var closetimer = 0;
var ddmenuitem = 0;
function mopen(id) {     
     if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
     ddmenuitem = document.getElementById(id);
     ddmenuitem.style.visibility = 'visible';
function mclose() {
     if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
function mclosetime() {
     closetimer = window.setTimeout(mclose, timeout);
function mcancelclosetime() {
     if(closetimer) {
          closetimer = null;
document.onclick = mclose;

Now, put some markup like the following on your site:

+ [[?Link1]]
+ [[?Link2]]

The lines that begin with + are the top level, visible links. Feel free to put anything you want in the divs between them, including other text, pictures, forms, tables, whatever. Kind of cool, hey?

You can even add text and pictures in the menu. Here's a more complex example:

+ [[?Text]]
<span style='padding:10px'>Click here...</span>
<span style=padding:10px>Or here...</span>
+ [[?Link2|Image]]
[^data-sword.jpg style='margin: 10px 5px 0px 5px'^]