Home Events! Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
November 21, 2024 - @983.77 (what is this?)
Forum activity rating: Three Stars Posts: 29/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts    Start New Topic
News: :4u: :transport: More is More :transport: :4u:

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  HELP: gifs stop working after clicking iframe link?


« previous next »
Pages: [1] Print
Author Topic: HELP: gifs stop working after clicking iframe link?  (Read 753 times)
debleb
Full Member ⚓︎
***


He/him, scaley tailey dragon

⛺︎ My Room

View Profile WWW

First 1000 Members!Goose!Pocket Icelogist!High Speed Ozwomp!Joined 2022!
« on: March 25, 2023 @472.85 »

so i'm working on changing my site to display content in an iframe instead of updating a billion and one different pages to change the navbar, but i just noticed that when i click the links that change what's in the iframe 2 of my gifs stop working?

you can see what i mean here

other gifs on the page seem to be fine it's just the lace and cloud ones on the top and bottom of the page. the way i set these up is that they're two background images of a div which covers the entire middle section and also provides the border for it. the gifs also stop in the iframe after clicking the link. anyone know why it does this?
Logged

"I would have thought you to be above something so banal as despair. Am I mistaken?"

Cele
Sr. Member
****

any way the wind blows

⛺︎ My Room

View Profile

First 1000 Members!Joined 2022!
« Reply #1 on: March 25, 2023 @582.07 »

If it's just about the navbar, I suggest only making the navbar be in an iframe, not the content. This way, you only need to edit the navigation file, and the change appears everywhere on the site.

An issue here seems to be that if you wanted to display the content pages in an iframe, you'd have to make them so they don't have all those things at the side there, like the lace and the chocobo images etc. If you look at the image in my attachment, notice how it has the sides of the page twice? Not only around the content area as it should, but also inside the content box, before having another content box finally with the content. If you make your content in an iframe, only the index page has those sides defined, the content pages only have the content text, basically. I hope I explained that in a way that makes sense.

The reason why I'm explaining this although you might know it already (since you have parts of the site which display this correctly), is that the gifs only stop moving when I enter a page that displays the sides twice, and then click out of it. Other than that, the gifs move fine for me.


* 43567543.jpg (483.82 kB, 1298x896 - viewed 40 times.)
Logged
debleb
Full Member ⚓︎
***


He/him, scaley tailey dragon

⛺︎ My Room

View Profile WWW

First 1000 Members!Goose!Pocket Icelogist!High Speed Ozwomp!Joined 2022!
« Reply #2 on: March 25, 2023 @641.55 »

If it's just about the navbar, I suggest only making the navbar be in an iframe, not the content. This way, you only need to edit the navigation file, and the change appears everywhere on the site.

An issue here seems to be that if you wanted to display the content pages in an iframe, you'd have to make them so they don't have all those things at the side there, like the lace and the chocobo images etc. If you look at the image in my attachment, notice how it has the sides of the page twice? Not only around the content area as it should, but also inside the content box, before having another content box finally with the content. If you make your content in an iframe, only the index page has those sides defined, the content pages only have the content text, basically. I hope I explained that in a way that makes sense.

The reason why I'm explaining this although you might know it already (since you have parts of the site which display this correctly), is that the gifs only stop moving when I enter a page that displays the sides twice, and then click out of it. Other than that, the gifs move fine for me.

oh yeah the pages are just like that bc i haven't finished yet lol
i did notice that they work more reliably on the formatted pages so it's probably something to do with that. if all else fails i'll try making the navbar into an iframe after i think.
Logged

"I would have thought you to be above something so banal as despair. Am I mistaken?"

Melooon
Hero Member ⚓︎
*****


So many stars!

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games

View Profile WWW

Thanks for being rad!a puppy for your travelsAlways My PalFirst 1000 Members!spring 2023!Squirtle!!!!MIDI WarriorMIDI Warrior1234 Posts!OzspeckCool Dude AwardRising Star of the Web AwardMessage BuddyPocket Icelogist!OG! Joined 2021!...
« Reply #3 on: March 25, 2023 @708.98 »

Have you fixed this already? Based on your description it sounded like your browser was switching into power-saving mode and stopping animated backgrounds that it thinks are hidden behind a div! (It's a big issue I often have with my site too) However I can't replicate your stopped gifs in any of my browsers, so I dunno  :tongue:
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
debleb
Full Member ⚓︎
***


He/him, scaley tailey dragon

⛺︎ My Room

View Profile WWW

First 1000 Members!Goose!Pocket Icelogist!High Speed Ozwomp!Joined 2022!
« Reply #4 on: March 25, 2023 @751.00 »

Have you fixed this already? Based on your description it sounded like your browser was switching into power-saving mode and stopping animated backgrounds that it thinks are hidden behind a div! (It's a big issue I often have with my site too) However I can't replicate your stopped gifs in any of my browsers, so I dunno  :tongue:

yeah it seems like it's basically completely fixed itself now that i've started changing the pages to work with the new layouts, so i suspect that's what it was. im glad because that looked like it was gonna be annoying to fix otherwise  :omg:
Logged

"I would have thought you to be above something so banal as despair. Am I mistaken?"

Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

LinxMax Link Directory

Started by easy_breezyBoard ☆ ∙ Showcase & Links

Replies: 3
Views: 2084
Last post March 13, 2022 @178.02
by easy_breezy
GUIDE: How to fix links on a frame site! - MK Frame-Link System

Started by MelooonBoard ✁ ∙ Web Crafting

Replies: 9
Views: 10320
Last post March 10, 2024 @777.40
by Salty
HELP: troubles in implementing iframe to my existing layout

Started by morrysillusionBoard ☔︎ ∙ I need Help!

Replies: 8
Views: 2181
Last post June 07, 2022 @522.55
by Melooon

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