[Proto-Scripty] Re: marquee in JavaScript (using Prototype)
On Aug 27, 5:43 am, Johan Arensman johanm...@gmail.com wrote: I'm fully against marquee's in the first place but you also have an option to add the attribute data-duration to your element. If you're making a class to replace a depricated functionality you shouldn't use this way to add features or configuration to it. I'm not sure I understand? Isn't data- the new HTML5 way to do custom element configuration? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] marquee in JavaScript (using Prototype)
For those that miss 1998 when the marquee element was still valid I got a quick script I put together yesterday which does similar functionality. It moves the content using scrollLeft instead of CSS which I believe results in smoother animation on less desirable browsers such as IE. http://gist.github.com/548690 The gist includes an example usage HTML document. Although marquee is a bad thing in most situations there are a few valid use cases. So for people looking for something like this it is free for all to use however they see fit. Eric -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.