[haml] Re: How to write this tag in Haml ?

Tue, 10 May 2011 07:10:54 -0700

Thanks a lot ...  did it , but I also send this link to some people in
the company ( no name .. but it's an old fashion mktg manager .... )
http://www.mcli.dist.maricopa.edu/tut/tut17.html   sent by
chadoh ....


On 7 mai, 08:51, Kit <kit.sa...@gmail.com> wrote:
> 2011/5/7 kadoudal <kadou...@gmail.com>:
>
>
>
>
>
> > I am re-writing a piece of html code from an old site, written by a
> > 3rd -party and there is a specific <marquee> tag to handle a
> > 'scrolling text'.. I don't have any clue on how to rewrite it using
> > Haml ?  can you help me ?  thanks
>
> > <div id='latestnews_ticker' style='padding:0 10px;white-space:nowrap'>
>
> >     <marquee onMouseOver='this.stop();' onMouseOut='this.start();'
> > scrolldelay='10' scrollamount='4' behavior='scroll';>
> > LATEST NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LATEST
> > NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LATEST
> > NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LATEST
> > NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;....(lot more) ..LATEST
> > NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LATEST
> > NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LATEST NEWS
> > </marquee>
>
> > </div>
>
> #latestnews_ticker{:style=>"padding:0 10px;white-space:nowrap"}
>   %marquee{:onMouseOver=>"this.stop();", :onMouseOut=>"this.start();",
>     :scrolldelay=>10, :scrollamount=>4, :behavior=>"scroll"}
>     LATEST NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>     LATEST NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>     LATEST NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>     LATEST NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> --
> Kit

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to