Results 1 to 2 of 2

Thread: Image instead of a Font in Jump toTop

  1. #1
    Join Date
    Jun 2008
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Image instead of a Font in Jump toTop

    1) Script Title:
    Jump to Top
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamicindex5/jumptop.htm
    3) Describe problem:
    Can i just use an image instead of a text?

  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

    In the script, at the beginning, where it has:

    Code:
    //Specify the text to display
    var displayed="<nobr><b>[Top]</b></nobr>"
    You can put an image tag there like so:

    Code:
    //Specify the text to display
    var displayed='<nobr><img src="whatever.gif"></nobr>'
    - John
    ________________________

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

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
  •