Welcome to TalkGraphics.com
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37
  1. #1
    Join Date
    Oct 2006
    Location
    UK
    Posts
    216

    Default Animated gifs on a website :)

    hi all, i've made an animated gif of subarus in xtreme to add to the index page of my website.
    The idea i was hoping to get, was the cars would be random whenever anyone looked at the site but it always starts from the first cars (frame) and each set of cars is displayed after that at the time frame i've set

    is there anyway to get it so instead of the first frame always showing, it might happen to come in on the third frame or any other frame ..........as if the animated gif was working all the time and it just depended on when the site come up on your browser as to what frame it fell on. hope that makes sense http://i47.photobucket.com/albums/f1...acing/ets1.gif
    http://i47.photobucket.com/albums/f1...acing/ets2.gif
    http://i47.photobucket.com/albums/f1...acing/ets3.gif


  2. #2

    Default Re: Animated gifs on a website :)

    An animated gif file will always start with the 1st frame so it will always look the same.
    You probably need to find a java script or applet that will display random images.
    Bruce
    ----------------------------------------------------------
    Happiness is free for the taking, Please take some for yourself
    Artist For Hire

  3. #3
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Animated gifs on a website :)

    I don't know of a way to get a single animated gif start on a random frame.

    I do know that you can use javascript and using multiple animated gif files you can randomly select a file to start and randomly select another one to begin when the first and subsequent files end.

    I don't have any sample code for that at this time.

    A search on google will probably return several results about how to do that.

    EDIT: Looks like Bruce where there with good advice before I was
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  4. #4
    Join Date
    Dec 2000
    Location
    Hautes Pyrénées, France
    Posts
    5,083

    Default Re: Animated gifs on a website :)

    Holy mother of Kazan, how big are those gifs???

    I just checked. 253Kb... a little large for an index page opening graphic, don't you think?
    Last edited by Big Frank; 10 October 2006 at 06:26 PM.
    If someone tried to make me dig my own grave I would say No.
    They're going to kill me anyway and I'd love to die the way I lived:
    Avoiding Manual Labour.

  5. #5
    Join Date
    Oct 2006
    Location
    UK
    Posts
    216

    Default Re: Animated gifs on a website :)

    thanks guys, i don't have the first clue about java script so i'll have to leave it as is for now


    is it too big for you big frank?

  6. #6

    Default Re: Animated gifs on a website :)

    These are the days of our lives...

  7. #7

    Default Re: Animated gifs on a website :)

    If the gif files are as big as Frank said then that is too big. Most people will never hang around long enough to see the 2nd frame.

    Here is a link to a java script. If you need help you can email me here.
    http://javascript.internet.com/misce...e-rotator.html
    Bruce
    ----------------------------------------------------------
    Happiness is free for the taking, Please take some for yourself
    Artist For Hire

  8. #8
    Join Date
    Oct 2006
    Location
    UK
    Posts
    216

    Default Re: Animated gifs on a website :)

    Quote Originally Posted by Big Frank View Post
    Holy mother of Kazan, how big are those gifs???

    I just checked. 253Kb... a little large for an index page opening graphic, don't you think?
    i hadn't really considered it until you said i haven't got the fastest broadband connection but the page loads within a few seconds

    your pelican jpeg is 212kb so i'd thought for an animated gif the size 252kb was ok but i take your point and i'm now trying it again

    Thanks very much A4Hire, i really appreciate the link and the offer of help if needed

  9. #9
    Join Date
    Dec 2005
    Location
    Greenfield, WI USA
    Posts
    3,444

    Default Re: Animated gifs on a website :)

    How are you coming up with 253? I rightclick on the images and properties tells me a figure totally different.
    -=Bob=-

  10. #10
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Animated gifs on a website :)

    You can use flash and start it with a different frame, or you can just make random frames appear each time you enter your website.
    Try the Kirupa tutorials

 

 

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
  •