View Single Post
  #10 (permalink)  
Old October 5th, 2009, 07:45 PM
semiotically semiotically is offline
Authorized User
Join Date: Aug 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Rakesh I tried (at least as far as I can imagine it might implement successfully)

so please!!!

I have this in script in head:
// function to start animation of sort on mouse over
function start() {
document.getElementById('hmenu').onmouseover = autoscroll(e);
// function to stop the move over event
function stop() {
document.getElementById('hmenu').onmouseover = null;
// initialize on page load
window.onload = init;

And this code at very end of <body>

<h1 id="hmenu" style="color:red;"></h1>
<input type="button" value="StartScroll" onclick="start()" />
<input type="button" value="StopScroll" onclick="stop()" />

I can see the way the buttons are not going to activate the script just I don't know the way to do this..?