Results 1 to 4 of 4

Thread: Image Trail Script Responsive Image

  1. #1
    Join Date
    May 2014
    Posts
    203
    Thanks
    28
    Thanked 5 Times in 5 Posts

    Default Image Trail Script Responsive Image

    1) Script Title: Image Trail Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex13/trailer.htm

    3) Describe problem: The script actually generates little colored circles that follow the cursor around. I decided to instead only have one image of my own, follow the cursor. However, it's not responsive. is there a little snippet of javascript that could be added to make the image/images be responsive?

    Thanks in advance.

    oh and by the way. what part of the script tells the browser to display the first circle x amount of pixels away from the cursor?

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,035
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Not responsive? I think, to be more precise, you meant that it doesn't respond to touch, which makes sense because this script is around 14 years old.

    This is a really old novelty script and not something you tend to see on the web today. You might be able to search for something like "touch friendly custom cursor" and see if anything comes up from that.

    Alternatively you could try hiring a developer to write such a script for you. http://www.dynamicdrive.com/forums/f...ipts-Paid-Help or http://www.dynamicdrive.com/forums/f...-Work-Requests
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,035
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    oh and by the way. what part of the script tells the browser to display the first circle x amount of pixels away from the cursor?
    Code:
    var offsetx=15 //x offset of trail from mouse pointer
    
    var offsety=10 //y offset of trail from mouse pointer
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  4. The Following User Says Thank You to Beverleyh For This Useful Post:

    jundo12 (01-20-2016)

  5. #4
    Join Date
    May 2014
    Posts
    203
    Thanks
    28
    Thanked 5 Times in 5 Posts

    Default

    thanks bev. what i meant by not responsive is, when i resize the browser window, it doesn't resize like the rest of the images on the page. i have everything, even the text on the page, resizing according to browser size. but the image following the cursor in the script, stays the same size. just wasnt sure how to modify it to resize like the rest of the images on the page. i'm using percentages of course, to keep the layout the same regardless of resolution (well standard resolution sizes anyway). everything scales down nicely but the cursor image(s) don't.
    Last edited by jundo12; 01-20-2016 at 01:01 AM.

Similar Threads

  1. Image trail script mixed with other script problem. Pls. Help
    By twinkle.star in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 09-06-2007, 02:59 PM
  2. Problem with Image Trail Script
    By jenncuthbertson in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-19-2007, 12:08 AM
  3. Image Trail Script and XHTML
    By lloyd_borrett in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 06-01-2006, 07:07 PM
  4. Kissing Trail script - no image on web site
    By Grandma Lois in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 09-05-2005, 09:22 PM
  5. Image Trail script
    By Firewalker in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-25-2004, 01:40 PM

Tags for this Thread

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
  •