im using this to scroll some text in the small box
Dynamic Drive DHTML Scripts- Pausing up-down Scroller
and im trying to get it to pass Validation, i have tried to redo this several ways but it still says.
character "'" is not allowed in the value of attribute "id"
So i thought about converting this to innerHTML, splitting it up into several vars instead of document write then use innerHTML but i thought i would ask here first to see if its just a simple placing of extra quotes along the way.
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content+'</div></div>');