I have a marque field in my html...If i mouseover the marque it will be stop. After release the mouse it will run...Is there any function in javascript?
If anybody knows plz post here ASAP..
---------------
suresh
Printable View
I have a marque field in my html...If i mouseover the marque it will be stop. After release the mouse it will run...Is there any function in javascript?
If anybody knows plz post here ASAP..
---------------
suresh
The marquee tag allows you to scroll some text of your choice accross the screen, and it doesn't need a JavaScript to make it work. The only problem with using it is that the marquee tag only works in Internet Explorer. Netscape will just show the text you wanted to scroll as plain text on the screen.
[url=http://www.pageresource.com/html/marquee.htm]Adding a Marquee[/url]
Thanks Jim....i know what is marque field. i want to implement the stop and run functionality in marque field...that is my question...
Once again thanks for your reply and waiting for the same...
-------------------
suresh
Hi All,
I found the answer.....
In that marque field put the following javascript built in function.....
onMouseOver="javascript:stop();" onMouseOut="javascript:start();"
------------------
suresh
hi suresh
it is good!
i found mouseover working,
but it wasnot restarting!
i.e on mouseout it was not continuing!hop getting me
please tell the correct one!
hi vmshenoy,
Lookout my javascript code...onmouseout i stop the marquee. Then how it is working ? If you mouseover again then it will run. If you want all the time the marquee field running then why should you these functions ? It will automatically running if you are not using functions.
Suppose if you want marquee run all the time after you mouseover the field then remove my onMouseOut javascript function.
-------------------
suresh
hi suresh
no i framed my question wrong!
i got the solution too!
there should not be semicolon ; after MouseOver:javascript()
the code which works
is
onMouseOver="javascript:stop() " onMouseOut="javascript:start();"