Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7

Thread: scrolling image

  1. #1
    Regular Coder
    Join Date
    Sep 2012
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    scrolling image

    i'm trying to add another image to the front page of a site. i can't remember how i built this part of the page. i have the following images in a folder now.

    roll.gif
    1.jpg
    2.jpg
    3.jpg
    4.jpg
    5.jpg
    6.jpg
    7.jpg
    roll2.gif
    roll.png

    http://www.rendemolition.com/

  • #2
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    From the source it just seems to be a gif

    Code:
    <tr>
        <td>
           <div align="center"><img src="images/roll/roll2.gif" width="600" height="450"></div>
        </td>
    </tr>
    Do you want to add a picture to that gif or another picture under the one that's on the page now?

  • #3
    Regular Coder
    Join Date
    Sep 2012
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i think there is 7 scrolling pictures. i'd like to add another one, and maybe more later on.

  • #4
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could use a free image editing program like GIMP to to add another image to that gif, there are also some online image editors that might be able to do that for you. You also might want to check out some of the free image gallery/slideshow scripts out there, they are made for this type of thing.

    http://www.1stwebdesigner.com/css/fr...lay-solutions/

  • #5
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    I assume you are doing the scrolling via javascript. Can we see the code?
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #6
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    something like this?

    http://jsfiddle.net/54fUH/

  • #7
    Regular Coder
    Join Date
    Sep 2012
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    I like this. I'm gonna try it right now. I think the only thing i have to figure out is, how to make it only show one frame at a time.


  •  

    Posting Permissions

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