Raeschen's button layout

From Vulpine Hollow
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
For an easier to read version click here http://pastebin.com/sxnUe4cG
 
For an easier to read version click here http://pastebin.com/sxnUe4cG
  
<html>
+
<pre>
<!-- HTML generated using hilite.me --><div style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><pre style="margin: 0; line-height: 125%"><span style="color: #888888">&lt;!-- START OF BUTTONS --&gt;</span>
+
<!-- START OF BUTTONS -->
<span style="color: #888888">&lt;!-- COLORS OF BUTTONS ARE SHOWN. WIDTH, BACKGROUND-COLOR, BORDER COLOR, AND JUST &#39;COLOR&#39; (FOR TEXT COLOR IN BUTTON) ARE ALL EDITABLE. THEY USE HEX CODES. GOOGLE IT. --&gt;</span>
+
<!-- COLORS OF BUTTONS ARE SHOWN. WIDTH, BACKGROUND-COLOR, BORDER COLOR, AND JUST 'COLOR' (FOR TEXT COLOR IN BUTTON) ARE ALL EDITABLE. THEY USE HEX CODES. GOOGLE IT. -->
 
+
<span style="color: #888888">&lt;!-- TO USE THIS CODE, YOU MUST DISABLE AUTO-FORMATTING. THIS MEANS YOU WILL HAVE TO CREATE NEW PARAGRAPHS/LINES WITH A SERIES OF &lt;BR&gt; TAGS INSTEAD OF SIMPLY PRESSING RETURN/ENTER. EACH &lt;BR&gt; TAG IS ONE PRESS OF &#39;RETURN&#39; --&gt;</span>
+
<!-- TO USE THIS CODE, YOU MUST DISABLE AUTO-FORMATTING. THIS MEANS YOU WILL HAVE TO CREATE NEW PARAGRAPHS/LINES WITH A SERIES OF <BR> TAGS INSTEAD OF SIMPLY PRESSING RETURN/ENTER. EACH <BR> TAG IS ONE PRESS OF 'RETURN' -->
 
+
 
+
<span style="color: #888888">&lt;!-- YOU CAN HAVE AN INVISIBLE TABLE FOR THE BUTTONS IF YOU WANT. CHANGE BORDER=&quot;1&quot; TO BORDER=&quot;0&quot; --&gt;</span>
+
<!-- YOU CAN HAVE AN INVISIBLE TABLE FOR THE BUTTONS IF YOU WANT. CHANGE BORDER="1" TO BORDER="0" -->
 
+
     <span style="color: #007700">&lt;table</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;1000&quot;</span> <span style="color: #0000CC">border=</span><span style="background-color: #fff0f0">&quot;1&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span><span style="color: #007700">&gt;</span>
+
     <table width="1000" border="1" align="center">
       <span style="color: #007700">&lt;tr&gt;</span>
+
       <tr>
     
+
   
     
+
   
         <span style="color: #007700">&lt;td</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;250&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span> <span style="color: #0000CC">bgcolor=</span><span style="background-color: #fff0f0">&quot;#000000&quot;</span><span style="color: #007700">&gt;</span>
+
         <td width="250" align="center" bgcolor="#000000">
       
+
     
         <span style="color: #888888">&lt;!-- Button 1 --&gt;</span>
+
         <!-- Button 1 -->
       
+
     
 
+
<span style="color: #007700">&lt;button</span> <span style="color: #0000CC">title=</span><span style="background-color: #fff0f0">&quot;Button1&quot;</span> <span style="color: #0000CC">type=</span><span style="background-color: #fff0f0">&quot;button&quot;</span> <span style="color: #0000CC">style=</span><span style="background-color: #fff0f0">&quot;font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;&quot;</span><span style="color: #0000CC">onClick=</span><span style="background-color: #fff0f0">&quot;</span>
+
<button title="Button1" type="button" style="font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;"onClick="
 
+
{document.getElementById('button2') .style.display='none'}
 
+
{document.getElementById('button3') .style.display='none'}
<span style="background-color: #fff0f0">{document.getElementById(&#39;button2&#39;) .style.display=&#39;none&#39;}</span>
+
{document.getElementById('button4') .style.display='none'}
<span style="background-color: #fff0f0">{document.getElementById(&#39;button3&#39;) .style.display=&#39;none&#39;}</span>
+
{document.getElementById('default') .style.display='none'}
<span style="background-color: #fff0f0">{document.getElementById(&#39;button4&#39;) .style.display=&#39;none&#39;}</span>
+
if(document.getElementById('button1') .style.display=='none') {document.getElementById('button1') .style.display=''}
<span style="background-color: #fff0f0">{document.getElementById(&#39;default&#39;) .style.display=&#39;none&#39;}</span>
+
else{{document.getElementById('button1') .style.display='none'}{document.getElementById('default') .style.display=''}}">
 
+
 
+
<!-- Name of button 1 -->
<span style="background-color: #fff0f0">if(document.getElementById(&#39;button1&#39;) .style.display==&#39;none&#39;) {document.getElementById(&#39;button1&#39;) .style.display=&#39;&#39;}</span>
+
<b><u>- Button 1; -</u></b>
 
+
<span style="background-color: #fff0f0">else{{document.getElementById(&#39;button1&#39;) .style.display=&#39;none&#39;}{document.getElementById(&#39;default&#39;) .style.display=&#39;&#39;}}&quot;</span><span style="color: #007700">&gt;</span>
+
 
+
</button>
<span style="color: #888888">&lt;!-- Name of button 1 --&gt;</span>
+
<span style="color: #007700">&lt;b&gt;&lt;u&gt;</span>- Button 1; -<span style="color: #007700">&lt;/u&gt;&lt;/b&gt;</span>  
+
</td>
 
+
 
+
<span style="color: #007700">&lt;/button&gt;</span>
+
 
+
<span style="color: #007700">&lt;/td&gt;</span>
+
         <td width="250" align="center" bgcolor="#000000">
 
+
     
 
+
         <!-- Button 2 -->
 
+
     
 
+
         <span style="color: #007700">&lt;td</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;250&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span> <span style="color: #0000CC">bgcolor=</span><span style="background-color: #fff0f0">&quot;#000000&quot;</span><span style="color: #007700">&gt;</span>
+
<button title="Button2" type="button" style="font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;"onClick="
       
+
{document.getElementById('button1') .style.display='none'}
         <span style="color: #888888">&lt;!-- Button 2 --&gt;</span>
+
{document.getElementById('button3') .style.display='none'}
       
+
{document.getElementById('button4') .style.display='none'}
 
+
{document.getElementById('default') .style.display='none'}
<span style="color: #007700">&lt;button</span> <span style="color: #0000CC">title=</span><span style="background-color: #fff0f0">&quot;Button2&quot;</span> <span style="color: #0000CC">type=</span><span style="background-color: #fff0f0">&quot;button&quot;</span> <span style="color: #0000CC">style=</span><span style="background-color: #fff0f0">&quot;font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;&quot;</span><span style="color: #0000CC">onClick=</span><span style="background-color: #fff0f0">&quot;</span>
+
if(document.getElementById('button2') .style.display=='none') {document.getElementById('button2') .style.display=''}
 
+
else{{document.getElementById('button2') .style.display='none'}{document.getElementById('default') .style.display=''}}">
 
+
<span style="background-color: #fff0f0">{document.getElementById(&#39;button1&#39;) .style.display=&#39;none&#39;}</span>
+
<!-- Name of button 2 -->
<span style="background-color: #fff0f0">{document.getElementById(&#39;button3&#39;) .style.display=&#39;none&#39;}</span>
+
<b><u>- Button 2; -</u></b>
<span style="background-color: #fff0f0">{document.getElementById(&#39;button4&#39;) .style.display=&#39;none&#39;}</span>
+
<span style="background-color: #fff0f0">{document.getElementById(&#39;default&#39;) .style.display=&#39;none&#39;}</span>
+
 
+
</button>
 
+
<span style="background-color: #fff0f0">if(document.getElementById(&#39;button2&#39;) .style.display==&#39;none&#39;) {document.getElementById(&#39;button2&#39;) .style.display=&#39;&#39;}</span>
+
</td>
 
+
<span style="background-color: #fff0f0">else{{document.getElementById(&#39;button2&#39;) .style.display=&#39;none&#39;}{document.getElementById(&#39;default&#39;) .style.display=&#39;&#39;}}&quot;</span><span style="color: #007700">&gt;</span>
+
 
+
<span style="color: #888888">&lt;!-- Name of button 2 --&gt;</span>
+
         <td width="250" align="center" bgcolor="#000000">
<span style="color: #007700">&lt;b&gt;&lt;u&gt;</span>- Button 2; -<span style="color: #007700">&lt;/u&gt;&lt;/b&gt;</span>  
+
     
 
+
         <!-- Button 3 -->
 
+
     
<span style="color: #007700">&lt;/button&gt;</span>
+
 
+
<button title="Button3" type="button" style="font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;"onClick="
<span style="color: #007700">&lt;/td&gt;</span>
+
{document.getElementById('button2') .style.display='none'}
 
+
{document.getElementById('button1') .style.display='none'}
 
+
{document.getElementById('button4') .style.display='none'}
 
+
{document.getElementById('default') .style.display='none'}
         <span style="color: #007700">&lt;td</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;250&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span> <span style="color: #0000CC">bgcolor=</span><span style="background-color: #fff0f0">&quot;#000000&quot;</span><span style="color: #007700">&gt;</span>
+
if(document.getElementById('button3') .style.display=='none') {document.getElementById('button3') .style.display=''}
       
+
else{{document.getElementById('button3') .style.display='none'}{document.getElementById('default') .style.display=''}}">
         <span style="color: #888888">&lt;!-- Button 3 --&gt;</span>
+
       
+
<!-- Name of button 3 -->
 
+
<b><u>- Button 3; -</u></b>
<span style="color: #007700">&lt;button</span> <span style="color: #0000CC">title=</span><span style="background-color: #fff0f0">&quot;Button3&quot;</span> <span style="color: #0000CC">type=</span><span style="background-color: #fff0f0">&quot;button&quot;</span> <span style="color: #0000CC">style=</span><span style="background-color: #fff0f0">&quot;font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;&quot;</span><span style="color: #0000CC">onClick=</span><span style="background-color: #fff0f0">&quot;</span>
+
 
+
 
+
</button>
<span style="background-color: #fff0f0">{document.getElementById(&#39;button2&#39;) .style.display=&#39;none&#39;}</span>
+
<span style="background-color: #fff0f0">{document.getElementById(&#39;button1&#39;) .style.display=&#39;none&#39;}</span>
+
</td>
<span style="background-color: #fff0f0">{document.getElementById(&#39;button4&#39;) .style.display=&#39;none&#39;}</span>
+
<span style="background-color: #fff0f0">{document.getElementById(&#39;default&#39;) .style.display=&#39;none&#39;}</span>
+
 
+
 
+
<span style="background-color: #fff0f0">if(document.getElementById(&#39;button3&#39;) .style.display==&#39;none&#39;) {document.getElementById(&#39;button3&#39;) .style.display=&#39;&#39;}</span>
+
         <td width="250" align="center" bgcolor="#000000">
 
+
     
<span style="background-color: #fff0f0">else{{document.getElementById(&#39;button3&#39;) .style.display=&#39;none&#39;}{document.getElementById(&#39;default&#39;) .style.display=&#39;&#39;}}&quot;</span><span style="color: #007700">&gt;</span>
+
         <!-- Button 4 -->
 
+
     
<span style="color: #888888">&lt;!-- Name of button 3 --&gt;</span>
+
<span style="color: #007700">&lt;b&gt;&lt;u&gt;</span>- Button 3; -<span style="color: #007700">&lt;/u&gt;&lt;/b&gt;</span>  
+
<button title="Button4" type="button" style="font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;"onClick="
 
+
{document.getElementById('button2') .style.display='none'}
 
+
{document.getElementById('button3') .style.display='none'}
<span style="color: #007700">&lt;/button&gt;</span>
+
{document.getElementById('button1') .style.display='none'}
 
+
{document.getElementById('default') .style.display='none'}
<span style="color: #007700">&lt;/td&gt;</span>
+
if(document.getElementById('button4') .style.display=='none') {document.getElementById('button4') .style.display=''}
 
+
else{{document.getElementById('button4') .style.display='none'}{document.getElementById('default') .style.display=''}}">
 
+
 
+
<!-- Name of button 4 -->
 
+
<b><u>- Button 4; -</u></b>
         <span style="color: #007700">&lt;td</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;250&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span> <span style="color: #0000CC">bgcolor=</span><span style="background-color: #fff0f0">&quot;#000000&quot;</span><span style="color: #007700">&gt;</span>
+
       
+
         <span style="color: #888888">&lt;!-- Button 4 --&gt;</span>
+
</button>
       
+
 
+
</td>
<span style="color: #007700">&lt;button</span> <span style="color: #0000CC">title=</span><span style="background-color: #fff0f0">&quot;Button4&quot;</span> <span style="color: #0000CC">type=</span><span style="background-color: #fff0f0">&quot;button&quot;</span> <span style="color: #0000CC">style=</span><span style="background-color: #fff0f0">&quot;font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;&quot;</span><span style="color: #0000CC">onClick=</span><span style="background-color: #fff0f0">&quot;</span>
+
</tr>
 
+
</table>
 
+
<span style="background-color: #fff0f0">{document.getElementById(&#39;button2&#39;) .style.display=&#39;none&#39;}</span>
+
<span style="background-color: #fff0f0">{document.getElementById(&#39;button3&#39;) .style.display=&#39;none&#39;}</span>
+
<!-- HERE ARE THE CONTENT OF THE BUTTONS. WHEN YOU PRESS A BUTTON, THE CORRESPONDING DATA WILL SHOW IN THE DIV TAG WITH THE APPROPRIATE ID. FEEL FREE TO MAKE A TABLE WITH A BORDER, USE FONT TAGS FOR FONT COLOR, BOLD, ITALIC, UNDERLINE. USE <BR> FOR LINE BREAKS. YOU CAN CHANGE THE BGCOLOR OF THE TABLE TOO. -->
<span style="background-color: #fff0f0">{document.getElementById(&#39;button1&#39;) .style.display=&#39;none&#39;}</span>
+
<span style="background-color: #fff0f0">{document.getElementById(&#39;default&#39;) .style.display=&#39;none&#39;}</span>
+
 
+
<div id="default" style="display:inherit">
 
+
<!-- CONTENT OF DEFAULT. THIS SHOWS BY DEFAULT WHEN PAGE IS OPENED. PRESSING A BUTTON A SECOND TIME WILL CLOSE IT AND RE-SHOW DEFAULT -->
<span style="background-color: #fff0f0">if(document.getElementById(&#39;button4&#39;) .style.display==&#39;none&#39;) {document.getElementById(&#39;button4&#39;) .style.display=&#39;&#39;}</span>
+
     <table width="400" border="1" align="center">
 
+
       <tr>
<span style="background-color: #fff0f0">else{{document.getElementById(&#39;button4&#39;) .style.display=&#39;none&#39;}{document.getElementById(&#39;default&#39;) .style.display=&#39;&#39;}}&quot;</span><span style="color: #007700">&gt;</span>
+
       <td width="400" align="center" bgcolor="#ffffff">
 
+
       <br /><br />
<span style="color: #888888">&lt;!-- Name of button 4 --&gt;</span>
+
   
<span style="color: #007700">&lt;b&gt;&lt;u&gt;</span>- Button 4; -<span style="color: #007700">&lt;/u&gt;&lt;/b&gt;</span>  
+
 
+
 
+
<span style="color: #007700">&lt;/button&gt;</span>
+
 
+
<span style="color: #007700">&lt;/td&gt;</span>
+
<span style="color: #007700">&lt;/tr&gt;</span>
+
<span style="color: #007700">&lt;/table&gt;</span>
+
 
+
 
+
<span style="color: #888888">&lt;!-- HERE ARE THE CONTENT OF THE BUTTONS. WHEN YOU PRESS A BUTTON, THE CORRESPONDING DATA WILL SHOW IN THE DIV TAG WITH THE APPROPRIATE ID. FEEL FREE TO MAKE A TABLE WITH A BORDER, USE FONT TAGS FOR FONT COLOR, BOLD, ITALIC, UNDERLINE. USE &lt;BR&gt; FOR LINE BREAKS. YOU CAN CHANGE THE BGCOLOR OF THE TABLE TOO. --&gt;</span>
+
 
+
 
+
<span style="color: #007700">&lt;div</span> <span style="color: #0000CC">id=</span><span style="background-color: #fff0f0">&quot;default&quot;</span> <span style="color: #0000CC">style=</span><span style="background-color: #fff0f0">&quot;display:inherit&quot;</span><span style="color: #007700">&gt;</span>
+
<span style="color: #888888">&lt;!-- CONTENT OF DEFAULT. THIS SHOWS BY DEFAULT WHEN PAGE IS OPENED. PRESSING A BUTTON A SECOND TIME WILL CLOSE IT AND RE-SHOW DEFAULT --&gt;</span>
+
     <span style="color: #007700">&lt;table</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">border=</span><span style="background-color: #fff0f0">&quot;1&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span><span style="color: #007700">&gt;</span>
+
       <span style="color: #007700">&lt;tr&gt;</span>
+
       <span style="color: #007700">&lt;td</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span> <span style="color: #0000CC">bgcolor=</span><span style="background-color: #fff0f0">&quot;#ffffff&quot;</span><span style="color: #007700">&gt;</span>
+
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
     
+
 
       Default content. Put stuff here.
 
       Default content. Put stuff here.
     
+
   
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
       <br /><br />
       <span style="color: #007700">&lt;/td&gt;</span>
+
       </td>
       <span style="color: #007700">&lt;/tr&gt;</span>
+
       </tr>
       <span style="color: #007700">&lt;/table&gt;</span>
+
       </table>
<span style="color: #007700">&lt;/div&gt;</span>
+
</div>
 
+
 
+
<span style="color: #007700">&lt;div</span> <span style="color: #0000CC">id=</span><span style="background-color: #fff0f0">&quot;button1&quot;</span> <span style="color: #0000CC">style=</span><span style="background-color: #fff0f0">&quot;display:none&quot;</span><span style="color: #007700">&gt;</span>
+
<div id="button1" style="display:none">
<span style="color: #888888">&lt;!-- CONTENT OF BUTTON 1 --&gt;</span>
+
<!-- CONTENT OF BUTTON 1 -->
     <span style="color: #007700">&lt;table</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">border=</span><span style="background-color: #fff0f0">&quot;1&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span><span style="color: #007700">&gt;</span>
+
     <table width="400" border="1" align="center">
       <span style="color: #007700">&lt;tr&gt;</span>
+
       <tr>
       <span style="color: #007700">&lt;td</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span> <span style="color: #0000CC">bgcolor=</span><span style="background-color: #fff0f0">&quot;#ffffff&quot;</span><span style="color: #007700">&gt;</span>
+
       <td width="400" align="center" bgcolor="#ffffff">
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
       <br /><br />
     
+
   
 
       Button 1 content. Put stuff here.
 
       Button 1 content. Put stuff here.
     
+
   
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
       <br /><br />
       <span style="color: #007700">&lt;/td&gt;</span>
+
       </td>
       <span style="color: #007700">&lt;/tr&gt;</span>
+
       </tr>
       <span style="color: #007700">&lt;/table&gt;</span>
+
       </table>
<span style="color: #007700">&lt;/div&gt;</span>
+
</div>
 
+
<span style="color: #007700">&lt;div</span> <span style="color: #0000CC">id=</span><span style="background-color: #fff0f0">&quot;button2&quot;</span> <span style="color: #0000CC">style=</span><span style="background-color: #fff0f0">&quot;display:none&quot;</span><span style="color: #007700">&gt;</span>
+
<div id="button2" style="display:none">
<span style="color: #888888">&lt;!-- CONTENT OF BUTTON 2 --&gt;</span>
+
<!-- CONTENT OF BUTTON 2 -->
     <span style="color: #007700">&lt;table</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">border=</span><span style="background-color: #fff0f0">&quot;1&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span><span style="color: #007700">&gt;</span>
+
     <table width="400" border="1" align="center">
       <span style="color: #007700">&lt;tr&gt;</span>
+
       <tr>
       <span style="color: #007700">&lt;td</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span> <span style="color: #0000CC">bgcolor=</span><span style="background-color: #fff0f0">&quot;#ffffff&quot;</span><span style="color: #007700">&gt;</span>
+
       <td width="400" align="center" bgcolor="#ffffff">
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
       <br /><br />
     
+
   
 
       Button 2 content. Put stuff here.
 
       Button 2 content. Put stuff here.
     
+
   
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
       <br /><br />
       <span style="color: #007700">&lt;/td&gt;</span>
+
       </td>
       <span style="color: #007700">&lt;/tr&gt;</span>
+
       </tr>
       <span style="color: #007700">&lt;/table&gt;</span>
+
       </table>
<span style="color: #007700">&lt;/div&gt;</span>
+
</div>
 
+
<span style="color: #007700">&lt;div</span> <span style="color: #0000CC">id=</span><span style="background-color: #fff0f0">&quot;button3&quot;</span> <span style="color: #0000CC">style=</span><span style="background-color: #fff0f0">&quot;display:none&quot;</span><span style="color: #007700">&gt;</span>
+
<div id="button3" style="display:none">
<span style="color: #888888">&lt;!-- CONTENT OF BUTTON 3 --&gt;</span>
+
<!-- CONTENT OF BUTTON 3 -->
     <span style="color: #007700">&lt;table</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">border=</span><span style="background-color: #fff0f0">&quot;1&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span><span style="color: #007700">&gt;</span>
+
     <table width="400" border="1" align="center">
       <span style="color: #007700">&lt;tr&gt;</span>
+
       <tr>
       <span style="color: #007700">&lt;td</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span> <span style="color: #0000CC">bgcolor=</span><span style="background-color: #fff0f0">&quot;#ffffff&quot;</span><span style="color: #007700">&gt;</span>
+
       <td width="400" align="center" bgcolor="#ffffff">
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
       <br /><br />
     
+
   
 
       Button 3 content. Put stuff here.
 
       Button 3 content. Put stuff here.
     
+
   
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
       <br /><br />
       <span style="color: #007700">&lt;/td&gt;</span>
+
       </td>
       <span style="color: #007700">&lt;/tr&gt;</span>
+
       </tr>
       <span style="color: #007700">&lt;/table&gt;</span>
+
       </table>
<span style="color: #007700">&lt;/div&gt;</span>
+
</div>
 
+
<span style="color: #007700">&lt;div</span> <span style="color: #0000CC">id=</span><span style="background-color: #fff0f0">&quot;button4&quot;</span> <span style="color: #0000CC">style=</span><span style="background-color: #fff0f0">&quot;display:none&quot;</span><span style="color: #007700">&gt;</span>
+
<div id="button4" style="display:none">
<span style="color: #888888">&lt;!-- CONTENT OF BUTTON 4 --&gt;</span>
+
<!-- CONTENT OF BUTTON 4 -->
     <span style="color: #007700">&lt;table</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">border=</span><span style="background-color: #fff0f0">&quot;1&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span><span style="color: #007700">&gt;</span>
+
     <table width="400" border="1" align="center">
       <span style="color: #007700">&lt;tr&gt;</span>
+
       <tr>
       <span style="color: #007700">&lt;td</span> <span style="color: #0000CC">width=</span><span style="background-color: #fff0f0">&quot;400&quot;</span> <span style="color: #0000CC">align=</span><span style="background-color: #fff0f0">&quot;center&quot;</span> <span style="color: #0000CC">bgcolor=</span><span style="background-color: #fff0f0">&quot;#ffffff&quot;</span><span style="color: #007700">&gt;</span>
+
       <td width="400" align="center" bgcolor="#ffffff">
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
       <br /><br />
     
+
   
 
       Button 4 content. Put stuff here.
 
       Button 4 content. Put stuff here.
     
+
   
       <span style="color: #007700">&lt;br</span> <span style="color: #007700">/&gt;&lt;br</span> <span style="color: #007700">/&gt;</span>
+
       <br /><br />
       <span style="color: #007700">&lt;/td&gt;</span>
+
       </td>
       <span style="color: #007700">&lt;/tr&gt;</span>
+
       </tr>
       <span style="color: #007700">&lt;/table&gt;</span>
+
       </table>
<span style="color: #007700">&lt;/div&gt;</span>
+
</div>
 +
 +
<!-- END OF BUTTONS -->
  
<span style="color: #888888">&lt;!-- END OF BUTTONS --&gt;</span>
+
</pre>
</pre></div>
+
</html>
+

Latest revision as of 15:11, 22 February 2014

For an easier to read version click here http://pastebin.com/sxnUe4cG

<!-- START OF BUTTONS -->
<!-- COLORS OF BUTTONS ARE SHOWN. WIDTH, BACKGROUND-COLOR, BORDER COLOR, AND JUST 'COLOR' (FOR TEXT COLOR IN BUTTON) ARE ALL EDITABLE. THEY USE HEX CODES. GOOGLE IT. -->
 
<!-- TO USE THIS CODE, YOU MUST DISABLE AUTO-FORMATTING. THIS MEANS YOU WILL HAVE TO CREATE NEW PARAGRAPHS/LINES WITH A SERIES OF <BR> TAGS INSTEAD OF SIMPLY PRESSING RETURN/ENTER. EACH <BR> TAG IS ONE PRESS OF 'RETURN' -->
 
 
<!-- YOU CAN HAVE AN INVISIBLE TABLE FOR THE BUTTONS IF YOU WANT. CHANGE BORDER="1" TO BORDER="0" -->
 
    <table width="1000" border="1" align="center">
      <tr>
     
     
        <td width="250" align="center" bgcolor="#000000">
       
        <!-- Button 1 -->
       
 
<button title="Button1" type="button" style="font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;"onClick="
{document.getElementById('button2') .style.display='none'}
{document.getElementById('button3') .style.display='none'}
{document.getElementById('button4') .style.display='none'}
{document.getElementById('default') .style.display='none'}
if(document.getElementById('button1') .style.display=='none') {document.getElementById('button1') .style.display=''}
else{{document.getElementById('button1') .style.display='none'}{document.getElementById('default') .style.display=''}}">
 
<!-- Name of button 1 -->
<b><u>- Button 1; -</u></b>
 
 
</button>
 
</td>
 
 
 
 
        <td width="250" align="center" bgcolor="#000000">
       
        <!-- Button 2 -->
       
 
<button title="Button2" type="button" style="font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;"onClick="
{document.getElementById('button1') .style.display='none'}
{document.getElementById('button3') .style.display='none'}
{document.getElementById('button4') .style.display='none'}
{document.getElementById('default') .style.display='none'}
if(document.getElementById('button2') .style.display=='none') {document.getElementById('button2') .style.display=''}
else{{document.getElementById('button2') .style.display='none'}{document.getElementById('default') .style.display=''}}">
 
<!-- Name of button 2 -->
<b><u>- Button 2; -</u></b>
 
 
</button>
 
</td>
 
 
 
        <td width="250" align="center" bgcolor="#000000">
       
        <!-- Button 3 -->
       
 
<button title="Button3" type="button" style="font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;"onClick="
{document.getElementById('button2') .style.display='none'}
{document.getElementById('button1') .style.display='none'}
{document.getElementById('button4') .style.display='none'}
{document.getElementById('default') .style.display='none'}
if(document.getElementById('button3') .style.display=='none') {document.getElementById('button3') .style.display=''}
else{{document.getElementById('button3') .style.display='none'}{document.getElementById('default') .style.display=''}}">
 
<!-- Name of button 3 -->
<b><u>- Button 3; -</u></b>
 
 
</button>
 
</td>
 
 
 
 
        <td width="250" align="center" bgcolor="#000000">
       
        <!-- Button 4 -->
       
 
<button title="Button4" type="button" style="font-size:12px; font-weight:bold; color:#d3d3d3; width:200px; background-color:#8702ca; border-style:outset; border-color:#8702ca;"onClick="
{document.getElementById('button2') .style.display='none'}
{document.getElementById('button3') .style.display='none'}
{document.getElementById('button1') .style.display='none'}
{document.getElementById('default') .style.display='none'}
if(document.getElementById('button4') .style.display=='none') {document.getElementById('button4') .style.display=''}
else{{document.getElementById('button4') .style.display='none'}{document.getElementById('default') .style.display=''}}">
 
<!-- Name of button 4 -->
<b><u>- Button 4; -</u></b>
 
 
</button>
 
</td>
</tr>
</table>
 
 
<!-- HERE ARE THE CONTENT OF THE BUTTONS. WHEN YOU PRESS A BUTTON, THE CORRESPONDING DATA WILL SHOW IN THE DIV TAG WITH THE APPROPRIATE ID. FEEL FREE TO MAKE A TABLE WITH A BORDER, USE FONT TAGS FOR FONT COLOR, BOLD, ITALIC, UNDERLINE. USE <BR> FOR LINE BREAKS. YOU CAN CHANGE THE BGCOLOR OF THE TABLE TOO. -->
 
 
<div id="default" style="display:inherit">
<!-- CONTENT OF DEFAULT. THIS SHOWS BY DEFAULT WHEN PAGE IS OPENED. PRESSING A BUTTON A SECOND TIME WILL CLOSE IT AND RE-SHOW DEFAULT -->
    <table width="400" border="1" align="center">
      <tr>
      <td width="400" align="center" bgcolor="#ffffff">
      <br /><br />
     
      Default content. Put stuff here.
     
      <br /><br />
      </td>
      </tr>
      </table>
</div>
 
 
<div id="button1" style="display:none">
<!-- CONTENT OF BUTTON 1 -->
    <table width="400" border="1" align="center">
      <tr>
      <td width="400" align="center" bgcolor="#ffffff">
      <br /><br />
     
      Button 1 content. Put stuff here.
     
      <br /><br />
      </td>
      </tr>
      </table>
</div>
 
<div id="button2" style="display:none">
<!-- CONTENT OF BUTTON 2 -->
    <table width="400" border="1" align="center">
      <tr>
      <td width="400" align="center" bgcolor="#ffffff">
      <br /><br />
     
      Button 2 content. Put stuff here.
     
      <br /><br />
      </td>
      </tr>
      </table>
</div>
 
<div id="button3" style="display:none">
<!-- CONTENT OF BUTTON 3 -->
    <table width="400" border="1" align="center">
      <tr>
      <td width="400" align="center" bgcolor="#ffffff">
      <br /><br />
     
      Button 3 content. Put stuff here.
     
      <br /><br />
      </td>
      </tr>
      </table>
</div>
 
<div id="button4" style="display:none">
<!-- CONTENT OF BUTTON 4 -->
    <table width="400" border="1" align="center">
      <tr>
      <td width="400" align="center" bgcolor="#ffffff">
      <br /><br />
     
      Button 4 content. Put stuff here.
     
      <br /><br />
      </td>
      </tr>
      </table>
</div>
 
<!-- END OF BUTTONS -->

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox