Results 1 to 7 of 7

Thread: stop and run the marque field....

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    stop and run the marque field....

    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


  2. #2
    Contributing Member
    Join Date
    Jun 2006
    Answers
    95

    Re: stop and run the marque field....

    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.

    Adding a Marquee


  3. #3
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: stop and run the marque field....

    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


  4. #4
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: stop and run the marque field....

    Hi All,

    I found the answer.....

    In that marque field put the following javascript built in function.....

    onMouseOver="javascript:stop();" onMouseOut="javascript:start();"

    ------------------
    suresh

    Last edited by psuresh1982; 01-04-2007 at 05:23 AM.

  5. #5
    Expert Member
    Join Date
    Oct 2005
    Answers
    383

    Re: stop and run the marque field....

    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!

    :)
    NEVER SAY DIE.

  6. #6
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: stop and run the marque field....

    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


  7. #7
    Expert Member
    Join Date
    Oct 2005
    Answers
    383

    Re: stop and run the marque field....

    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();"

    :)
    NEVER SAY DIE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact