Need Help (WEB Design)

Malinga

Well-known member
  • Jul 20, 2006
    61,301
    1,013
    113
    ransing said:
    Machan text web page eke ekak kotasaka text eka ihalata yanawa mouse eka
    text eka udata giyagaman scroll wena eka nawathinawa

    oyaa kiyanne scroll box ekaka thiyana ekak gana da? Java Script bavitha karanna vai godak vita :D
     

    nismok

    Well-known member
  • Jun 27, 2008
    9,377
    672
    113
    this will make the marquee stop on mouse over and begin again on mouse out

    <marquee id="test" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2" onMouseOver="document.all.test.stop()" onMouseOut="document.all.test.start()">

    This is my test

    </marquee>

    Note: If you change the marquee id="test" statement, then you will have to change the mouse over and mouse out statements to match (IE: onmouseover="document.all.test.stop()"

    For mouse down include this line within <marquee>

    onMouseDown="document.all.test.start()"
    OR
    onMouseOut="document.all.test.stop()"

    Here is an example -

    <marquee id="test" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2">

    <a href="index.html" onMouseOver="document.all.test.stop()" onMouseOut="document.all.test.start()">This is my test</a>

    </marquee>