Hello,
Don’t know javascript too well and can’t figure what should be a simple thing. I’ve included little javascript code to display a scrolling news item list which works great, but just trying to modify slightly. For the following code, simply want to have “What’s New?” written on screen and have the scrolling news appear on the SAME line after it.
document.write ('<ilayer id=tickernsmain visibility=hide width='+scroller_width+' height='+scroller_height+' bgColor='+bgcolor+'><layer id=tickernssub width='+scroller_width+' height='+scroller_height+' left=0 top=0>'+scrollercontent[0]+'</layer></ilayer>')
}
So, thought could put something like document.write (“What’s New?”, '<ilayer…), but that doesn’t seem to work.
Tried using something like:
whatsnew=“What’s New?”
and then writing document.write (whatsnew, '<ilayer id=…) but can’t get that to work either.
What am I doing wrong?
Thanks!