View Single Post
  #3 (permalink)  
Old January 11th, 2005, 03:54 AM
vinod_yadav1919 vinod_yadav1919 is offline
Friend of Wrox
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919

HI Interrupt,
Try this
<input type=text id="myid" STYLE="position:relative; bottom:0px">

var obj = document.getElementById('myid');
var newposition = parseInt(;

function ScrollInput() {
  newposition -= 5;
  document.getElementById('myid').style.bottom=newpo sition + "px";



offcourse now you can stop the textbox at particular location, by using onfocus(),onblur() methods.
Also we can stop the textbox at the left bottom,by taking the screen size,isn't it ?
Hope this will help you !!

Cheers :)