Custom dsIDXpress form


/ Published in: HTML
Save to your folder(s)

This is some functional code. I just wanted to make a backup.


Copy this code and paste it in your HTML
  1. <div <?php /*?>class="dsidx-search-widget dsidx-widget"<?php */?> id="search" style="width:563px; height:50px; color:#FFF;background: url(<?php bloginfo('template_directory'); ?>/images/bg_black.png); padding: 20px; float:right;">
  2.  
  3. <form action="http://www.reifhomes.com/demo/idx/" method="get">
  4.  
  5. <?php /*?><select name="idx-q-PropertyTypes" class="dsidx-search-widget-propertyTypes">
  6. <option value="">- All property types -</option>
  7. <option value="1030">Residential / All</option>
  8. <option value="1031">Residential / Condo</option>
  9. <option value="1032">Residential / Single Family</option>
  10. </select> <?php */?>
  11.  
  12. <div class="dsidx-search-button" style="float:right">
  13. <button type="submit" style="border: 0; background: transparent; cursor:pointer;" />
  14. <img src="<?php bloginfo('template_directory'); ?>/images/search.png" width="90" heght="50" alt="submit" />
  15. </button>
  16. </div>
  17.  
  18.  
  19. <label for="idx-q-Cities">City</label>
  20.  
  21. <select id="idx-q-Cities" name="idx-q-Cities">
  22. <option value="">- Any -</option>
  23. <option value=""></option>
  24. </select>
  25.  
  26. <label for="idx-q-ZipCodes">Zip</label>
  27. <input id="idx-q-ZipCodes" name="idx-q-ZipCodes" type="text" />
  28.  
  29. <?php /*?><select id="idx-q-ZipCodes" name="idx-q-ZipCodes">
  30. <option value="">- Any -</option>
  31. <option value="94928">94928</option>
  32. </select><?php */?> <br />
  33.  
  34. <label for="idx-q-PriceMin">Price Range:</label>
  35.  
  36. <select id="idx-q-PriceMin" name="idx-q-PriceMin" class="dsidx-price" />
  37. <option value="300,000">$300,000</option>
  38. <option value="400,000">$400,000</option>
  39. <option value="500,000">$500,000</option>
  40. <option value="600,000">$600,000</option>
  41. <option value="700,000">$700,000</option>
  42. <option value="800,000">$800,000</option>
  43. <option value="900,000">$900,000</option>
  44. <option value="1,000,000">$1,000,000</option>
  45. </select>
  46.  
  47. <label for="idx-q-PriceMax">to</label>
  48.  
  49. <select id="idx-q-PriceMax" name="idx-q-PriceMax" class="dsidx-price" />
  50. <option value="500,000">$500,000</option>
  51. <option value="600,000">$600,000</option>
  52. <option value="700,000">$700,000</option>
  53. <option value="800,000">$800,000</option>
  54. <option value="900,000">$900,000</option>
  55. <option value="1,000,000">$1,000,000</option>
  56. <option value="1,500,000">$1.5m</option>
  57. <option value="2,000,000">$2m</option>
  58. <option value="3,000,000">$3m</option>
  59. <option value="4,000,000">$4m</option>
  60. <option value="5,000,000">$5m</option>
  61. <option value="10,000,000">$10m</option>
  62. </select>
  63.  
  64. <label for="idx-q-BedsMin">Bedrooms:</label>
  65.  
  66. <select id="idx-q-BedsMin" name="idx-q-BedsMin" class="dsidx-beds" />
  67. <option value="2">2</option>
  68. <option value="3">3</option>
  69. <option value="4">4</option>
  70. <option value="5">5</option>
  71. <option value="6">6</option>
  72. </select>
  73.  
  74. <label for="idx-q-BathsMin">Bath:</label>
  75.  
  76. <select id="idx-q-BathsMin" name="idx-q-BathsMin" class="dsidx-baths" />
  77. <option value="2">2</option>
  78. <option value="3">3</option>
  79. <option value="4">4</option>
  80. <option value="5">5</option>
  81. <option value="6">6</option>
  82. </select>
  83.  
  84.  
  85. </form>
  86. </div>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.