Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 6th, 2012  |  syntax: None  |  size: 1.86 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. page is reloaded on button click
  2. <div style="width:300px; height:250px; float:left; position:absolute; z-index:4">
  3.     <form style="width:100%;">
  4.         <fieldset style="width:250px; height:210px;">
  5.         <legend><b>Authors</b></legend>
  6.         <div id="authors" style="width:250px; height:150px; position:absolute; overflow:scroll">
  7.             <div style="white-space: nowrap;">
  8.                 <button class="button removeclick" style="display:block; float:left;"><img src="img/list-remove.png" alt="remove" /></button>
  9.                 <button class="button upclick" style="display:block; float:left;"><img src="img/arrow-up.png" alt="arrow-up" /></button>
  10.                 <button class="button downclick" style="display:block; float:left;"><img src="img/arrow-down.png" alt="arrow-down" /></button>
  11.                 <input  class="resizable" type="text" style="height:29px"/>
  12.             </div>
  13.             <div style="white-space: nowrap;">
  14.                 <button class="button removeclick" style="display:block; float:left;"><img src="img/list-remove.png" alt="remove" /></button>
  15.                 <button class="button upclick" style="display:block; float:left;"><img src="img/arrow-up.png" alt="arrow-up" /></button>
  16.                 <button class="button downclick" style="display:block; float:left;"><img src="img/arrow-down.png" alt="arrow-down" /></button>
  17.                 <input  class="resizable" type="text" style="height:29px"/>
  18.             </div>
  19.         </div>
  20.         <div style="position:absolute; top:180px;"><button id="add" class="button" style="display:block; float:right;"><img src="img/add_new.png" alt="add new" /> Add New</button></div>
  21.         </fieldset>
  22.     </form>
  23.     </div>
  24.        
  25. <form style="width:100%;" onsubmit="return false;">
  26.        
  27. <form style="width:100%;">
  28.        
  29. </form>
  30.        
  31. $("#buttonID").click(function(e){
  32.  
  33.     e.preventDefault();
  34.  
  35. });
  36.        
  37. type="button"