Hi all
I am about to create some sort of layout-maker and i would like to visualize a marquee which is available. I found that even tho i can create the element with builder node, it is not working. The marquee is not moving. It is in the dom and all the settings i wanted are in it, but it wont start to scroll.
I am working on Firefox.
// What i used to Test if its related to Builder.js
var m = document.createElement('marquee');
m.innerHTML = 'bla bla bla bla';
$('test').appendChild(m)
// What i have in my Code right now, using
Builder.js
var ticker = Builder.node('marquee', {id:'c'+unique, className:'compTicker', scrollamount:10, scrolldelay:5}, "+++ This is an example ticker +++ ");
$('test').appendChild(ticker)
Is this a limitation? Maybe related to the rendering of the browser?
But then again i've seen examples across the net using just what i wrote.
Any ideas ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---
- [Rails-spinoffs] Marquee and createElement / Builder... Kjell Bublitz
- [Rails-spinoffs] Re: Marquee and createElement ... Christophe Porteneuve
