Results 1 to 2 of 2

Thread: jump to top

  1. #1
    Join Date
    Aug 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default jump to top

    1) Script Title: Jump to top

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamicindex5/jumptop.htm

    3) Describe problem:

    Can you add a image with the jumptop.js ? right now this is the text.

    var displayed="<nobr><b>[Top]</b></nobr>"

    any suggestions

    Thanks

    jj

  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

    Code:
    var displayed='<nobr><b><img src="some.gif" border="0"></b></nobr>'
    In keeping with the absolute path used for the script call on the page(s) that use the script, it would be a good idea to use the absolute path to the image as well, ex:

    Code:
    var displayed='<nobr><b><img src="http://www.mydomain.com/images/some.gif" border="0"></b></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
  •