Yes, what you want can easily be done but we would need to see the HTML of your page so that a script can be written for your particular needs without someone wasting their time writing an example HTML document to demonstrate several lines of javascript...
Also, why would we need your eamil address? Forums are puplic and posting questions and solutions are meant for the benifit of everyone to learn from... If you wish to do this privately, you should post in the
Work Offers and Requests section of this board and indicate how much you are willing to pay for
private assistance.... And, in which case, I will provide you personal and private tuteledge for $125.00 US @ hour, two hours minimum....
.....Willy