Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<style type="text/css">
/*<![CDATA[*/
.main-search {
background-color: #f0f0f0;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f0f0f0), color-stop(100%, #c9c9c9));
background-image: -webkit-linear-gradient(top, #f0f0f0, #c9c9c9);
background-image: -moz-linear-gradient(top, #f0f0f0, #c9c9c9);
background-image: -ms-linear-gradient(top, #f0f0f0, #c9c9c9);
background-image: -o-linear-gradient(top, #f0f0f0, #c9c9c9);
background-image: linear-gradient(top, #f0f0f0, #c9c9c9);
width: 892px;
padding: 6px;
height: 138px;
border: solid 1px #989393;
margin: 0 auto;
box-shadow: inset 0px 1px 1px 0px #fff, 0px 2px 2px 0px rgba(0,0,0,0.2);
position: relative;
margin-top: 15px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px
}
/*]]>*/
</style></head>
<body>
<a onclick ="javascript:ShowHide('HiddenDiv',500)" href="javascript:;" >More Options</a>
<button class="ui-button ui-button-big js-submit"><?php _e("Search", 'bender');?></button>
<br />
<div class="mid" id="HiddenDiv" style="DISPLAY: none;border:solid red 1px;overflow:hidden;" >
<div style="float: right; margin: 0 0 0 10px;">
<?php $doors = Params::getParam('doors') ; ?>
<input style="width:20px;" type="radio" name="doors" value="3" id="3" <?php if($doors == '3') { echo 'checked="yes"'; } ?>/> <label for="3"><?php _e('3 Doors', 'cars_attributes'); ?></label>
<input style="width:20px;" type="radio" name="doors" value="4" id="4" <?php if($doors == '4') { echo 'checked="yes"'; } ?>/> <label for="4"><?php _e('4 Doors', 'cars_attributes'); ?></label>
</div>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<input type="text" id="engine_size" name="engine_size" style="float: left;" placeholder="Engine Size"/>
<input type="text" name="extColr" id="extColr" style="float: left;" placeholder="Colour"/>
</div>
<script type="text/javascript">
function ShowHide(divId,ms){
var obj=document.getElementById(divId),o=ShowHide[divId];
if (!o&&obj){
ShowHide[divId]=o={
ud:obj.style.display=='none'
}
obj.style.display='block';
obj.style.overflow='hidden';
o.m=obj.scrollHeight;
o.a=[obj,'height',o.ud?0:o.m];
}
if (o){
ms=typeof(ms)=='number'&&ms>0?ms:500;
obj.style.display='block';
animate(o,o.a,o.a[2],o.ud?o.m:0,new Date(),ms);
o.ud=!o.ud;
}
}
function animate(o,a,f,t,srt,mS){
clearTimeout(a[4]);
var oop=this,ms=new Date()-srt,n=(t-f)/mS*ms+f;
if (isFinite(n)){
a[2]=Math.max(0,n);
a[0].style[a[1]]=a[2]+'px';
}
if (ms<mS){
a[4]=setTimeout(function(){ animate(o,a,f,t,srt,mS); },10);
}
else {
a[2]=t;
a[0].style[a[1]]=t+'px';
a[0].style.display=t==0?'none':'block';
}
}
</script>
</body>
</html>
Bookmarks