Advertisement
Guest User

rae buttons profiles.

a guest
Feb 22nd, 2014
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 6.13 KB | None | 0 0
  1. <!-- START OF BUTTONS -->
  2. <!-- 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. -->
  3.  
  4. <!-- 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' -->
  5.  
  6.  
  7. <!-- YOU CAN HAVE AN INVISIBLE TABLE FOR THE BUTTONS IF YOU WANT. CHANGE BORDER="1" TO BORDER="0" -->
  8.  
  9.     <table width="1000" border="1" align="center">
  10.       <tr>
  11.      
  12.      
  13.         <td width="250" align="center" bgcolor="#000000">
  14.        
  15.         <!-- Button 1 -->
  16.        
  17.  
  18. <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="
  19. {document.getElementById('button2') .style.display='none'}
  20. {document.getElementById('button3') .style.display='none'}
  21. {document.getElementById('button4') .style.display='none'}
  22. {document.getElementById('default') .style.display='none'}
  23. if(document.getElementById('button1') .style.display=='none') {document.getElementById('button1') .style.display=''}
  24. else{{document.getElementById('button1') .style.display='none'}{document.getElementById('default') .style.display=''}}">
  25.  
  26. <!-- Name of button 1 -->
  27. <b><u>- Button 1; -</u></b>
  28.  
  29.  
  30. </button>
  31.  
  32. </td>
  33.  
  34.  
  35.  
  36.  
  37.         <td width="250" align="center" bgcolor="#000000">
  38.        
  39.         <!-- Button 2 -->
  40.        
  41.  
  42. <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="
  43. {document.getElementById('button1') .style.display='none'}
  44. {document.getElementById('button3') .style.display='none'}
  45. {document.getElementById('button4') .style.display='none'}
  46. {document.getElementById('default') .style.display='none'}
  47. if(document.getElementById('button2') .style.display=='none') {document.getElementById('button2') .style.display=''}
  48. else{{document.getElementById('button2') .style.display='none'}{document.getElementById('default') .style.display=''}}">
  49.  
  50. <!-- Name of button 2 -->
  51. <b><u>- Button 2; -</u></b>
  52.  
  53.  
  54. </button>
  55.  
  56. </td>
  57.  
  58.  
  59.  
  60.         <td width="250" align="center" bgcolor="#000000">
  61.        
  62.         <!-- Button 3 -->
  63.        
  64.  
  65. <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="
  66. {document.getElementById('button2') .style.display='none'}
  67. {document.getElementById('button1') .style.display='none'}
  68. {document.getElementById('button4') .style.display='none'}
  69. {document.getElementById('default') .style.display='none'}
  70. if(document.getElementById('button3') .style.display=='none') {document.getElementById('button3') .style.display=''}
  71. else{{document.getElementById('button3') .style.display='none'}{document.getElementById('default') .style.display=''}}">
  72.  
  73. <!-- Name of button 3 -->
  74. <b><u>- Button 3; -</u></b>
  75.  
  76.  
  77. </button>
  78.  
  79. </td>
  80.  
  81.  
  82.  
  83.  
  84.         <td width="250" align="center" bgcolor="#000000">
  85.        
  86.         <!-- Button 4 -->
  87.        
  88.  
  89. <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="
  90. {document.getElementById('button2') .style.display='none'}
  91. {document.getElementById('button3') .style.display='none'}
  92. {document.getElementById('button1') .style.display='none'}
  93. {document.getElementById('default') .style.display='none'}
  94. if(document.getElementById('button4') .style.display=='none') {document.getElementById('button4') .style.display=''}
  95. else{{document.getElementById('button4') .style.display='none'}{document.getElementById('default') .style.display=''}}">
  96.  
  97. <!-- Name of button 4 -->
  98. <b><u>- Button 4; -</u></b>
  99.  
  100.  
  101. </button>
  102.  
  103. </td>
  104. </tr>
  105. </table>
  106.  
  107.  
  108. <!-- 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. -->
  109.  
  110.  
  111. <div id="default" style="display:inherit">
  112. <!-- CONTENT OF DEFAULT. THIS SHOWS BY DEFAULT WHEN PAGE IS OPENED. PRESSING A BUTTON A SECOND TIME WILL CLOSE IT AND RE-SHOW DEFAULT -->
  113.     <table width="400" border="1" align="center">
  114.       <tr>
  115.       <td width="400" align="center" bgcolor="#ffffff">
  116.       <br /><br />
  117.      
  118.       Default content. Put stuff here.
  119.      
  120.       <br /><br />
  121.       </td>
  122.       </tr>
  123.       </table>
  124. </div>
  125.  
  126.  
  127. <div id="button1" style="display:none">
  128. <!-- CONTENT OF BUTTON 1 -->
  129.     <table width="400" border="1" align="center">
  130.       <tr>
  131.       <td width="400" align="center" bgcolor="#ffffff">
  132.       <br /><br />
  133.      
  134.       Button 1 content. Put stuff here.
  135.      
  136.       <br /><br />
  137.       </td>
  138.       </tr>
  139.       </table>
  140. </div>
  141.  
  142. <div id="button2" style="display:none">
  143. <!-- CONTENT OF BUTTON 2 -->
  144.     <table width="400" border="1" align="center">
  145.       <tr>
  146.       <td width="400" align="center" bgcolor="#ffffff">
  147.       <br /><br />
  148.      
  149.       Button 2 content. Put stuff here.
  150.      
  151.       <br /><br />
  152.       </td>
  153.       </tr>
  154.       </table>
  155. </div>
  156.  
  157. <div id="button3" style="display:none">
  158. <!-- CONTENT OF BUTTON 3 -->
  159.     <table width="400" border="1" align="center">
  160.       <tr>
  161.       <td width="400" align="center" bgcolor="#ffffff">
  162.       <br /><br />
  163.      
  164.       Button 3 content. Put stuff here.
  165.      
  166.       <br /><br />
  167.       </td>
  168.       </tr>
  169.       </table>
  170. </div>
  171.  
  172. <div id="button4" style="display:none">
  173. <!-- CONTENT OF BUTTON 4 -->
  174.     <table width="400" border="1" align="center">
  175.       <tr>
  176.       <td width="400" align="center" bgcolor="#ffffff">
  177.       <br /><br />
  178.      
  179.       Button 4 content. Put stuff here.
  180.      
  181.       <br /><br />
  182.       </td>
  183.       </tr>
  184.       </table>
  185. </div>
  186.  
  187. <!-- END OF BUTTONS -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement