Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 08-28-2003, 09:21 AM Freezing Images
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
Trades: 0
I have an animation that I want to use for a part of my webpage, but after the animation runs, I want it to switch from an animation, and freeze on a still image. I'm not quite sure of the code, but is this it:

<img src="animation URL" lowsrc="still image URL">
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
 
Register now for full access!
Old 08-28-2003, 11:22 AM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
That code will display another image if browsers are set to use the low resolution versions. I'm not quite sure of the implementation of this (does the browser load the lowsrc first then overlay the high quality one? anyone?).

To do what you are looking for you need to change the 'looping' setting in the animated gif itself. The standard setting is forever, which is used for most images, but you can set it to a number (all programs have different ways of setting this, in Fireworks it's in the 'frames' section at the bottom where there is an icon that looks like a loop). If you set it to 1, the animation will play, and then stop on the final frame, leaving this displayed.
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Old 08-28-2003, 04:00 PM
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
Trades: 0
Okay, thanks!
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
Reply     « Reply to Freezing Images
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.17125 seconds with 12 queries