A Heart in Love with Beauty Never Grows Old...!




News Update :

Scrollbar in Select option

Below is code to add scrollbar in option select dropdown...
I use it for html pages to show them in a frame...


<html>
<head>
<title>Dreamland</title>
<style type="text/css">
html,body{background:#97C8FF;

}#left{width:115px;float:left;height:75px;overflow:hidden;}

#right{width:150px;float:right;height:75px;overflow:hidden;}
</style>

<script language="JavaScript" type="text/javascript">
<!--
function Size(obj,s){

Obj=obj;
obj.size=s;
setTimeout('document.onclick=function(){ Obj.size=1; document.onclick=null; }',1000);
}
//-->
</script>
</head>
<body>

<div style="width:270px; height:185px; overflow: hidden;">
<div id="left">
<form action="../">
<select onChange="window.open(this.options[this.selectedIndex].value,'wid')" onclick="Size(this,4);" class="select" style="width:115px;">
<option value="">Select</option>
<option value="http://a.html">a</option>
<option value="http://b.html">b</option>
<option value="http://c.html">c</option>
<option value="http://d.html">d</option>
<option value="http://e.html">e</option>
<option value="http://f.html">f</option>
<option value="http://g.html">g</option>
<option value="http://h.html">h</option>
<option value="http://i.html">i</option>
</select>
</form>
</div>

<center>
<iframe id="wid" frameborder="0" height="100" width="230" scrolling="no" src="asdfghjkl.html"></iframe>
</center>
.

Comments:

No comments :

You are the essence of essence....
Be sure of what you look for...!
It is you... It is in you...!

Online Radio...!