View Full Version : Resolved Add text to up down arrows

11-11-2009, 07:50 PM
1) Script Title: Scrollable Content II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm

3) Describe problem: Is there a way to add actual text to the area that contains the up/down arrows? I was thinking something like "more info" or "scroll up / down". I could add the text to the actual image, but it would look better if the text were part of the bottomwrite () function.

11-12-2009, 03:38 PM
This part:

<table width="175px"><td><p align="right">
<a href="#" onMouseover="moveup()" onMouseout="clearTimeout(moveupvar)"><img src="up.gif" border=0></a> <a href="#" onMouseover="movedown()" onMouseout="clearTimeout(movedownvar)"><img src="down.gif" border=0></a></p></td>

Is ordinary HTML, you may alter it however you like as long as the events are preserved, example:

<table width="175px"><td>
<div style="float:right;text-align:center;margin-left:1em;font-size:68%;font-family:sans-serif;cursor:pointer;"
onmouseover="movedown();" onmouseout="clearTimeout(movedownvar);"><img src="down.gif" border=0><br>Move Down
</div><div style="float:right;text-align:center;font-size:68%;font-family:sans-serif;cursor:pointer;"
onmouseover="moveup();" onmouseout="clearTimeout(moveupvar);"><img src="up.gif" border=0><br>Move Up

11-12-2009, 05:58 PM
Many thanks. I got it.