PDA

View Full Version : dynamic fader



xxm0ntyxx
12-23-2005, 12:59 PM
script: dynamic fader
http://www.dynamicdrive.com/dynamicindex2/fader.htm

pls tell me how to put the dynamic fader on the right side of the page.
thx!

jscheuer1
12-23-2005, 11:28 PM
There are many ways to position this script. All you need to do is put an element around it and it will assume that element's positioning. For example, surround the HTML code with right aligned div tags:


<div align="right">
<DIV id="containerarea">
<SCRIPT LANGUAGE="JavaScript1.2" SRC="textfader.js"></SCRIPT>
</DIV></div>

Also, as a nice touch, to get it as far to the right as possible, set its width to as narrow a size as possible (from the configuration area in the head of the page):


//2) Configure fader width and colors:
var TS_scrollwidth=300 //configure fader width

The smaller the red number, the narrower it will get. Make sure it is still wide enough for the content.

xxm0ntyxx
01-04-2006, 03:39 AM
thanks again john! =)