Results 1 to 3 of 3

Thread: Add text to up down arrows

  1. #1
    Join Date
    May 2008
    Posts
    91
    Thanks
    35
    Thanked 0 Times in 0 Posts

    Default Add text to up down arrows

    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.
    Last edited by printman55; 11-12-2009 at 05:59 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This part:

    Code:
    <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>
    </table>
    Is ordinary HTML, you may alter it however you like as long as the events are preserved, example:

    Code:
    <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
    </div> 
    </td></table>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    printman55 (11-12-2009)

  4. #3
    Join Date
    May 2008
    Posts
    91
    Thanks
    35
    Thanked 0 Times in 0 Posts

    Default

    Many thanks. I got it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •