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 LATEST > NEWS LATEST > NEWS LATEST > NEWS ....(lot more) ..LATEST > NEWS LATEST > NEWS 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 LATEST NEWS LATEST NEWS LATEST NEWS -- 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.