<EMBED SRC=filename SW1=buttonlist SW2=vertOrHorz SW3=soundState WIDTH=width HEIGHT=height>
shockbar.dcr on your server. For example:SRC="shockbar.dcr"
SW1="Home;index.html;Cool Stuff;cool.html;Macromedia;http://www.macromedia.com"
Tip:Want to have an email button? Use "mailto:name@host.com" as the link in your button list. A button to send email to Mark would look like this:
SW1="Email Mark;mailto:woodman@inkimage.com; ..."
"vert" for a vertical ShockBar, or "horz" for a horizontal one. (Horizontal is the default, so if you don't specify SW2, it will automatically be a horizontal ShockBar.)"soundon" for normal button sounds, or "soundoff" for no sounds. (Normal sound is the default, so if you don't specify SW3, it will automatically have sounds.)If you have a vertical ShockBar, the width will be 90, because it will only be one button wide.
If you have a horizontal ShockBar, remember that the buttons are "stacked" in two rows. Like so:
This means that the second button will appear underneath the first, the third button will appear to the right of the first, the fourth button will appear underneath the third, and so on.
A horizontal ShockBar with one or two buttons will therefore be 90 pixels wide. Three or four buttons will be 180 pixels wide. Five or six buttons will be 270 pixels wide. Seven or eight buttons will be 360 pixels wide. And nine or ten buttons will be 450 pixels wide.
If you have a vertical ShockBar, the height will be 24 x (the number of buttons you define). For example, a ShockBar with 7 buttons would have a height of 168 pixels. (24 x 7 = 168)
If you have a horizontal ShockBar, the height will be 24 pixels high for one button, and 28 pixels hight for two or more buttons. That is because a horizontal ShockBar never has more than two rows of buttons. (24 x 2 = 48)
<EMBED SRC="shockbar.dcr" SW1="Bauble Home;../index.htm;ShockBar Page;shockbar.htm;Macromedia;http://www.macromedia.com;Email Mark;mailto:woodman@inkimage.com" SW2="vert" SW3="soundon" WIDTH=90 HEIGHT=72>
Here is how it looks: