View Full Version : Translucent Scroller - Justify
lizziebelle
03-27-2009, 11:02 AM
1) Script Title: Translucent Scroller
2) Script URL (on DD):http://www.dynamicdrive.com/dynamicindex2/translucentscroll.htm
3) Describe problem:
Does anyone know how I can justify the text that appears in the box?
Where you see this giant text blob:
document.write('<div style="text-align:center;position:relative;width:'+scroller_width+';height:'+scroller_height+';overflow:hidden"><div id="canvas0" style="position:absolute;background-color:'+bgcolor+';width:'+scroller_width+';height:'+scroller_height+';top:'+scroller_height+';filter:alpha(opacity=20);-moz-opacity:0.2;"></div><div id="canvas1" style="position:absolute;background-color:'+bgcolor+';width:'+scroller_width+';height:'+scroller_height+';top:'+scroller_height+';filter:alpha(opacity=20);-moz-opacity:0.2;"></div></div>')
else if (document.layers){
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>')
Add the highlighted (change center to which way it should be justified).
lizziebelle
03-30-2009, 09:22 AM
Thank you - that works brilliantly
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.