Home Events! Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
December 10, 2024 - @896.10 (what is this?)
Forum activity rating: Two Stars Posts: 21/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts    Start New Topic
News: :4u: Love is not possession  :4u:

+  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 848 times)
Yukari
Casual Poster ⚓︎
*


RISK IT for the BISCUIT

⛺︎ My Room

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

⛺︎ My Room
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 ⚓︎
***


very cool very swag i like it

⛺︎ My Room

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

:dog:
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

what game do u want to play but havent yet?

Started by 2010Board ♖ ∙ Video Games

Replies: 72
Views: 8718
Last post September 15, 2024 @201.20
by Memory
we built this city on stolen gifs

Started by luluBoard ✁ ∙ Web Crafting

Replies: 8
Views: 3348
Last post September 15, 2024 @553.15
by TheMessengerVEVO
Some of my GIFS

Started by DojidaveBoard ➶ ∙ Art Gallery

Replies: 2
Views: 1692
Last post March 16, 2022 @762.07
by Karius

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


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