5 vertical examples
in this border!
Scroll down to see changes to size, color and spacing
BUTTONS open in new tab
The THREE sets of buttons are the same except for the the outset inset settings.
OUTSET/inset
INSET/outset
INSET/inset
This button opens a PDF file into the page body (works only WITH frames or IFRAMES). uses rollbutton1 settings
For one last example,
look below.
These are not buttons.
It's just a table with regular links in it! Mouseover only happens over the word!
|
Rollover Menu Buttons
NOTE: Samples on this page updated to Work fully in IE and FireFox!
Buttons that use no images, no javascript, cross-browser acceptable.
horizontal buttons:
|
|
|
I place them inside a table
For easier viewing, I made the cells
white so you can see the table behind
the buttons. Usually the table and
cells are transparent behind buttons.
|
This opens a pdf document in
THIS FRAME
press BACK arrow to
return to this page!
|
This button opens a MINI window.
It even has a miniature version of the button tied to close window on it!
|
Shows the button can be used alone
This button opens a NEW window
|
This button uses the same style settings as the buttons above. Any new buttons using that style just need the DIV section!
This button opens in same window
remember to press BACK arrow to return to this page!
|
GENERAL INSTRUCTION:
 If you have more than one set of buttons on a page like this one does, then rename the next version so they do not interfere with each other. Notice that in the scripts, the buttons are named rollbutton, rollbutton1, rollbutton2, rollbutton3, rollbutton4, rollbutton5, rollbutton6, rollbutton7
 Each group of buttons must have a Style setting section of code, then each button is added after that. Style settings are put into the page only 1 time no matter how many buttons are used or where they are placed. After you have put the Style code in, after that you only use DIV code sections!
 Change the Style codes at the beginning of the code to adjust the color of the button, size, space between buttons, etc. The button examples to the left show some of the adjustments you can do...just play with the codes until you find the right combination.
 The DIV style for the type of button you want is flexible. You can pick and choose which ever suits the need for that particular link. Several options are below.
 For each button, change the link, the rollover title, and the button name to your own
 These codes are placed into your webpage using Insert > HTML (or webgem in Trellix)
The following are the individual button codes:
For a regular button opening in the same window use this DIV:
<DIV id=rollbutton>
<DIV><A href="http://www.samisite.com" title="Samisite Home Page" onfocus="this.blur()" target="_top"><center>SAMISITE HOME PAGE</center></A></DIV>
</DIV
For a regular button opening into a mini popup window use this DIV:
You can adjust to have scrollbars or not by changing the code: 0= no, 1 = yes
<DIV id=rollbutton1>
<DIV><A href="javascript:void(0)"
ONCLICK="open('http://www.samisite.com/test-csb2nf/texts2.htm','miniwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=01,width=325,height=250')" title="One of my FAVORITE search portals" onfocus="this.blur()"><center>MINI</center></A> </DIV>
</DIV>
For a regular button opening into a new window use this DIV:
<DIV id=rollbutton1>
<DIV><A href="../CSB4_UserGuide_draft.pdf" title="CSB4 User Guide - Sample PDF Document" onfocus="this.blur()" target="_blank"><center>CSB4 User Guide</center></A></DIV>
</DIV>
----------------------------------------------
Special Note Using Frames:
For a regular button IN MIDDLE/PAGE BODY FRAME, opening into a the middle frame/page body use this DIV:
<DIV id=rollbutton1>
<DIV><A href="http://www.samisite.com/CSB4_UserGuide_draft.pdf" target="_self" title="CSB4 User Guide - Sample PDF Document" onfocus="this.blur()"><center>PDF</center></A> </DIV>
</DIV>
For a regular button IN TOP OR LEFT FRAME, opening into a the middle frame/page body use this DIV:
<DIV id=rollbutton1>
<DIV><A href="http://www.samisite.com/CSB4_UserGuide_draft.pdf" target="TRLX_Middle" title="CSB4 User Guide - Sample PDF Document" onfocus="this.blur()"><center>PDF</center></A> </DIV>
</DIV>
The same style code 1st horizontal button has been put into this page twice.
Since this page has frames, the style code for the middle and left border are treated separately.
So the code was inserted once in page body, and once in left border.
Code produces a gold button that says PDF
In both cases, the link opens in a Middle/Page Body of main window
----------------------------------------------
SAMPLE HORIZONTAL BUTTONS
1 opens in middle frame, 1 opens a mini window (side by side in separate cells of table)
 2 separate inserted HTML codes - ONE FOR EACH BUTTON
1ST BUTTON - USE STYLE CODES AND DIV
To capture the code, press Select All then COPY the contents.
Look at the code - the name of this set of buttons: rollbutton1.
2ND BUTTON - MINI - USE DIV ONLY
if you have more than 2 buttons, each extra button is just the DIV code for it.
choose any you want to use...I used the mini pop-up window button:
To capture the code, press Select All then COPY the contents.
Look at the code - the name of this set of buttons: rollbutton1.
|
3RD BUTTON - SamiSite Home USE STYLE CODES AND DIV
To capture the code, press Select All then COPY the contents.
Look at the code - the name of this set of buttons: rollbutton7.
|
SINGLE GRAY BUTTON USE STYLE CODES AND DIV
Opens in a new window
 1 inserted HTML code
To capture the code, press Select All then COPY the contents.
Look at the code - the name of this button: rollbutton2.
|
LEFT BORDER BUTTONS (1st set)
All open in a new window/tab
 1 inserted HTML code for the whole column of buttons
To capture the code, press Select All then COPY the contents.
Look at the code - the name of this button: rollbutton.
|
LEFT BORDER BUTTONS (2nd set)
All open in a new window/tab
 1 inserted HTML code for the whole column of buttons. Only show the style codes below. Same DIV as previous version of code.
Besides changing colors to purples, these buttons are thinner (height) and wider (width) with more spacing between (margin)
To capture the code, press Select All then COPY the contents.
Look at the code - the name of this button: rollbutton3.
|
LEFT BORDER BUTTONS (3rd & 4th & 5th Black set)
All open in a new window/tab
 1 inserted HTML code for the whole column of buttons, but only show the style codes below. Same DIV as previous version of code.
Besides changing colors to black and white, the second version of these buttons are opposite the first set! They start inset and pop out on rollover! The last version shows buttons that are inset and stay inset on rollover.
border:2px outset #D3D3D3; OR
border:2px inset #D3D3D3;
To capture the code, press Select All then COPY the contents.
Look at the code - the name of this button: rollbutton4.
|
LEFT BORDER- ROLLOVER TABLE (NON- BUTTONS)
Rollover link - changes color (to fuschia pink), but no background color change
STEP 1:
Use Insert > HTML to place this code on your page to remove underlines from all links. Since this site is published with frames, and the code to change the links is placed in the left border only, the rollover effect NO UNDERLINE is only in the left border!
To turn off underline too as shown in the green table example and other left border links:
<STYLE>
<!--
A:link, A:visited, A:active
{ text-decoration: none }
A:hover
{ color: #CC0066; text-decoration: none }
U {text-decoration: none}
-->
</STYLE>
STEP 2:
Build a table. Place links in the table as usual.
On rollover, the links will change color because of the inserted style code.
(NOTE: CSB4 has built-in rollover settings, but it will automatically change the color background and the font! See KW's site for example. All his links on the home page have a YELLOW background when rolled over. In order to use this in CSB4 all your frames must have the same setting.
This example/test page was made with CSB4, but did not use the built-in capabilities. Using the Style code intead allowed the links in this area to stay maroon with an underline, while the border links turn green!)
|
|