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
:)
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.
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 :)
Re: Animated gifs on a website :)
Holy mother of Kazan, how big are those gifs??? :eek:
I just checked. 253Kb... a little large for an index page opening graphic, don't you think? :rolleyes:
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? :D
Re: Animated gifs on a website :)
These are the days of our lives...
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
Re: Animated gifs on a website :)
Quote:
Originally Posted by
Big Frank
Holy mother of Kazan, how big are those gifs??? :eek:
I just checked. 253Kb... a little large for an index page opening graphic, don't you think? :rolleyes:
i hadn't really considered it until you said :rolleyes: ;) 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 :) :) :)
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.
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