Raeschen's button layout
From Vulpine Hollow
(Difference between revisions)
(Created page with "For an easier to read version click here http://pastebin.com/sxnUe4cG <nowiki> <!-- START OF BUTTONS --> <!-- COLORS OF BUTTONS ARE SHOWN. WIDTH, BACKGROUND-COLOR, BORDER CO...") |
|||
(One intermediate revision by one user not shown) | |||
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 | ||
− | < | + | <pre> |
− | + | ||
<!-- START OF BUTTONS --> | <!-- 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. --> | <!-- 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' --> | <!-- 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" --> | <!-- 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"> | <table width="1000" border="1" align="center"> | ||
<tr> | <tr> | ||
− | + | ||
− | + | ||
<td width="250" align="center" bgcolor="#000000"> | <td width="250" align="center" bgcolor="#000000"> | ||
− | + | ||
<!-- Button 1 --> | <!-- 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=" | <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('button2') .style.display='none'} | ||
{document.getElementById('button3') .style.display='none'} | {document.getElementById('button3') .style.display='none'} | ||
{document.getElementById('button4') .style.display='none'} | {document.getElementById('button4') .style.display='none'} | ||
{document.getElementById('default') .style.display='none'} | {document.getElementById('default') .style.display='none'} | ||
− | |||
− | |||
if(document.getElementById('button1') .style.display=='none') {document.getElementById('button1') .style.display=''} | if(document.getElementById('button1') .style.display=='none') {document.getElementById('button1') .style.display=''} | ||
− | |||
else{{document.getElementById('button1') .style.display='none'}{document.getElementById('default') .style.display=''}}"> | else{{document.getElementById('button1') .style.display='none'}{document.getElementById('default') .style.display=''}}"> | ||
− | + | ||
<!-- Name of button 1 --> | <!-- Name of button 1 --> | ||
− | <b><u>- Button 1; -</u></b> | + | <b><u>- Button 1; -</u></b> |
− | + | ||
− | + | ||
</button> | </button> | ||
− | + | ||
</td> | </td> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<td width="250" align="center" bgcolor="#000000"> | <td width="250" align="center" bgcolor="#000000"> | ||
− | + | ||
<!-- Button 2 --> | <!-- 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=" | <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('button1') .style.display='none'} | ||
{document.getElementById('button3') .style.display='none'} | {document.getElementById('button3') .style.display='none'} | ||
{document.getElementById('button4') .style.display='none'} | {document.getElementById('button4') .style.display='none'} | ||
{document.getElementById('default') .style.display='none'} | {document.getElementById('default') .style.display='none'} | ||
− | |||
− | |||
if(document.getElementById('button2') .style.display=='none') {document.getElementById('button2') .style.display=''} | if(document.getElementById('button2') .style.display=='none') {document.getElementById('button2') .style.display=''} | ||
− | |||
else{{document.getElementById('button2') .style.display='none'}{document.getElementById('default') .style.display=''}}"> | else{{document.getElementById('button2') .style.display='none'}{document.getElementById('default') .style.display=''}}"> | ||
− | + | ||
<!-- Name of button 2 --> | <!-- Name of button 2 --> | ||
− | <b><u>- Button 2; -</u></b> | + | <b><u>- Button 2; -</u></b> |
− | + | ||
− | + | ||
</button> | </button> | ||
− | + | ||
</td> | </td> | ||
− | + | ||
− | + | ||
− | + | ||
<td width="250" align="center" bgcolor="#000000"> | <td width="250" align="center" bgcolor="#000000"> | ||
− | + | ||
<!-- Button 3 --> | <!-- 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=" | <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('button2') .style.display='none'} | ||
{document.getElementById('button1') .style.display='none'} | {document.getElementById('button1') .style.display='none'} | ||
{document.getElementById('button4') .style.display='none'} | {document.getElementById('button4') .style.display='none'} | ||
{document.getElementById('default') .style.display='none'} | {document.getElementById('default') .style.display='none'} | ||
− | |||
− | |||
if(document.getElementById('button3') .style.display=='none') {document.getElementById('button3') .style.display=''} | if(document.getElementById('button3') .style.display=='none') {document.getElementById('button3') .style.display=''} | ||
− | |||
else{{document.getElementById('button3') .style.display='none'}{document.getElementById('default') .style.display=''}}"> | else{{document.getElementById('button3') .style.display='none'}{document.getElementById('default') .style.display=''}}"> | ||
− | + | ||
<!-- Name of button 3 --> | <!-- Name of button 3 --> | ||
− | <b><u>- Button 3; -</u></b> | + | <b><u>- Button 3; -</u></b> |
− | + | ||
− | + | ||
</button> | </button> | ||
− | + | ||
</td> | </td> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<td width="250" align="center" bgcolor="#000000"> | <td width="250" align="center" bgcolor="#000000"> | ||
− | + | ||
<!-- Button 4 --> | <!-- 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=" | <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('button2') .style.display='none'} | ||
{document.getElementById('button3') .style.display='none'} | {document.getElementById('button3') .style.display='none'} | ||
{document.getElementById('button1') .style.display='none'} | {document.getElementById('button1') .style.display='none'} | ||
{document.getElementById('default') .style.display='none'} | {document.getElementById('default') .style.display='none'} | ||
− | |||
− | |||
if(document.getElementById('button4') .style.display=='none') {document.getElementById('button4') .style.display=''} | if(document.getElementById('button4') .style.display=='none') {document.getElementById('button4') .style.display=''} | ||
− | |||
else{{document.getElementById('button4') .style.display='none'}{document.getElementById('default') .style.display=''}}"> | else{{document.getElementById('button4') .style.display='none'}{document.getElementById('default') .style.display=''}}"> | ||
− | + | ||
<!-- Name of button 4 --> | <!-- Name of button 4 --> | ||
− | <b><u>- Button 4; -</u></b> | + | <b><u>- Button 4; -</u></b> |
− | + | ||
− | + | ||
</button> | </button> | ||
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </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. --> | <!-- 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"> | <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 --> | <!-- CONTENT OF DEFAULT. THIS SHOWS BY DEFAULT WHEN PAGE IS OPENED. PRESSING A BUTTON A SECOND TIME WILL CLOSE IT AND RE-SHOW DEFAULT --> | ||
Line 139: | Line 118: | ||
<td width="400" align="center" bgcolor="#ffffff"> | <td width="400" align="center" bgcolor="#ffffff"> | ||
<br /><br /> | <br /><br /> | ||
− | + | ||
Default content. Put stuff here. | Default content. Put stuff here. | ||
− | + | ||
<br /><br /> | <br /><br /> | ||
</td> | </td> | ||
Line 147: | Line 126: | ||
</table> | </table> | ||
</div> | </div> | ||
− | + | ||
− | + | ||
<div id="button1" style="display:none"> | <div id="button1" style="display:none"> | ||
<!-- CONTENT OF BUTTON 1 --> | <!-- CONTENT OF BUTTON 1 --> | ||
Line 155: | Line 134: | ||
<td width="400" align="center" bgcolor="#ffffff"> | <td width="400" align="center" bgcolor="#ffffff"> | ||
<br /><br /> | <br /><br /> | ||
− | + | ||
Button 1 content. Put stuff here. | Button 1 content. Put stuff here. | ||
− | + | ||
<br /><br /> | <br /><br /> | ||
</td> | </td> | ||
Line 163: | Line 142: | ||
</table> | </table> | ||
</div> | </div> | ||
− | + | ||
<div id="button2" style="display:none"> | <div id="button2" style="display:none"> | ||
<!-- CONTENT OF BUTTON 2 --> | <!-- CONTENT OF BUTTON 2 --> | ||
Line 170: | Line 149: | ||
<td width="400" align="center" bgcolor="#ffffff"> | <td width="400" align="center" bgcolor="#ffffff"> | ||
<br /><br /> | <br /><br /> | ||
− | + | ||
Button 2 content. Put stuff here. | Button 2 content. Put stuff here. | ||
− | + | ||
<br /><br /> | <br /><br /> | ||
</td> | </td> | ||
Line 178: | Line 157: | ||
</table> | </table> | ||
</div> | </div> | ||
− | + | ||
<div id="button3" style="display:none"> | <div id="button3" style="display:none"> | ||
<!-- CONTENT OF BUTTON 3 --> | <!-- CONTENT OF BUTTON 3 --> | ||
Line 185: | Line 164: | ||
<td width="400" align="center" bgcolor="#ffffff"> | <td width="400" align="center" bgcolor="#ffffff"> | ||
<br /><br /> | <br /><br /> | ||
− | + | ||
Button 3 content. Put stuff here. | Button 3 content. Put stuff here. | ||
− | + | ||
<br /><br /> | <br /><br /> | ||
</td> | </td> | ||
Line 193: | Line 172: | ||
</table> | </table> | ||
</div> | </div> | ||
− | + | ||
<div id="button4" style="display:none"> | <div id="button4" style="display:none"> | ||
<!-- CONTENT OF BUTTON 4 --> | <!-- CONTENT OF BUTTON 4 --> | ||
Line 200: | Line 179: | ||
<td width="400" align="center" bgcolor="#ffffff"> | <td width="400" align="center" bgcolor="#ffffff"> | ||
<br /><br /> | <br /><br /> | ||
− | + | ||
Button 4 content. Put stuff here. | Button 4 content. Put stuff here. | ||
− | + | ||
<br /><br /> | <br /><br /> | ||
</td> | </td> | ||
Line 208: | Line 187: | ||
</table> | </table> | ||
</div> | </div> | ||
− | + | ||
<!-- END OF BUTTONS --> | <!-- END OF BUTTONS --> | ||
− | </ | + | </pre> |
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 -->