This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes problem with animation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "problem with animation" Watch "problem with animation" New topic

problem with animation

smriti singla

Joined: Nov 14, 2000
Posts: 18
I want to embed .gif animation in html page as background.I used normal <body background> tag for this but problem is that when i open explorer to view page animation works only once.However it runs fine in image viewer "Irfan view".should I use any script for this purpose?What is the problem and how can i rectify it?Please help.
Maky Chopra
Ranch Hand

Joined: Apr 11, 2001
Posts: 149
your gif creator should have the option to make your image "loop forever" (or for 20 times... as u want).. what gif animator do you use ?
smriti singla

Joined: Nov 14, 2000
Posts: 18
i am using Gypsee pro as an GIF Animator.I selected loop forever option but still it is not working.I constructed five frames and i added these frames one after another in a sequence.After that i created .gif animation file and save it in a file folder.From there i embed it in a web page created in internet explorer.I also checked option playing animations in explorer properties and it is selected.But in web page, animation works only from frame1 to frame5.Loop is not working.Please suggest me some other good animation software available in the market as i want to create musical .gif animations.and please tell me should i use java script for this purpose or this problem can be solved with "img src" tag in html only. any help will be highly appreciated.
I agree. Here's the link:
subject: problem with animation
It's not a secret anymore!