Home Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 28, 2024 - @740.80 (what is this?)
Forum activity rating: Four Star Posts: 72/1k.beats Unread Topics | Unread Replies | Own Posts | Own Topics | Random Topic | Recent Posts
News: :dive: Are u having fun?? :dive:

+  MelonLand Forum
|-+  World Wild Web
| |-+  ☆ ∙ Showcase & Links
| | |-+  Freezeframe.js - pause n play gifs


« previous next »
Pages: [1] Print
Author Topic: Freezeframe.js - pause n play gifs  (Read 547 times)
Yukari
Casual Poster ⚓︎
*


RISK IT for the BISCUIT


View Profile WWW

First 1000 Members!Joined 2023!
« on: July 29, 2023 @948.75 »

It is what it sounds like. Github repo is here, and you can see it in action here.

Bechnokid on Neocities has their own tutorial for implementing it on a personal website.

I'm going to be honest. I have this on like every page of my website but I executed it in the most convoluted way possible. The problems I ran into are:
- The gifs will scale into the size of the container. This is because the default CSS uses "responsive: true"
- The gifs will be aligned weirdly when they aren't being played. Similarly, the default CSS uses "vertical-align: top"

So to fix them, I set responsive to false, and vertical-align to initial. But I'm pretty certain there's a better way to deal with this. I'm of the church of "as long as it works" :ok:
Logged

pinkvampyr
Jr. Member ⚓︎
**


Claire (he/him) pink/black color combo enjoyer

SpaceHey: Friend Me!
StatusCafe: pinkvampyr
iMood: pinkvampyr
XMPP: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #1 on: August 17, 2023 @76.37 »

I got it working but some people in the 32 bit cafe discord had to do some similar tweaking.
Logged


devils
Full Member
***


Oh? What's that?


View Profile WWW

First 1000 Members!Joined 2023!
« Reply #2 on: August 17, 2023 @659.81 »

This is a really cool tidbit of JS! Might be useful for rapidly-flashing GIFs as well.
Logged



Remember to eat dessert <3
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

Ozwomps Voyage - Playable edition development journal!

Started by MelooonBoard ⚛︎ ∙ MelonLand Projects

Replies: 21
Views: 5212
Last post February 27, 2022 @128.44
by ellievoyyd
What are you playing (or have finished)?

Started by ObspogonBoard ♖ ∙ Video Games

Replies: 145
Views: 13461
Last post July 01, 2023 @725.98
by shevek
Iconic Video Game Songs [Player's Choice Award]

Started by NightdriftBoard © ∙ Music Room

Replies: 24
Views: 3903
Last post March 21, 2024 @26.45
by konamiesque

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies Forum Guide | Rules | RSS | WAP2


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi