Entrance Events! Chat Gallery Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 17, 2025 - @294.49 (what is this?)
Activity rating: Three Stars Posts & Arts: 48/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :4u: ~~~~~~~~~~~  :4u: Super News: Upload a banner!

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  Iframes


« previous next »
Pages: 1 [2] Print
Author Topic: Iframes  (Read 2436 times)
larvapuppy
Full Member ⚓︎
***


World's Worst Baby Seal

⛺︎ My Room
iMood: larvapuppy
RSS: RSS

View Profile WWWArt

A snowman for your woesGreat Posts PacmanSpheal, I Choose You!First 1000 Members!Joined 2023!
« Reply #15 on: January 09, 2024 @234.20 »

Iframes are generally not good for accessibility or performance. Are you using them for your nav bar and footer because you want them to be consistent across pages?

Yes, that's why I'm using them
Logged

starbreaker
Sr. Member ⚓︎
****


What good is Heaven if we dare not storm it?

⛺︎ My Room
SpaceHey: Friend Me!
RSS: RSS

View Profile WWW

Great Posts PacmanFirst 1000 Members!G4 Club Member!Joined 2023!
« Reply #16 on: January 09, 2024 @683.28 »

Your alternative would probably be to write some JavaScript that handles the window load event and uses the fetch API to pull snippets and insert them. However, if somebody has JS disabled or is using a browser that doesn't support JS, they won't get your nav bar and footer.

Something like this is better done with Apache's Server-Side Includes or PHP, but since you're on Neocities neither of these are available to you.
Logged

larvapuppy
Full Member ⚓︎
***


World's Worst Baby Seal

⛺︎ My Room
iMood: larvapuppy
RSS: RSS

View Profile WWWArt

A snowman for your woesGreat Posts PacmanSpheal, I Choose You!First 1000 Members!Joined 2023!
« Reply #17 on: January 09, 2024 @792.27 »

Your alternative would probably be to write some JavaScript that handles the window load event and uses the fetch API to pull snippets and insert them. However, if somebody has JS disabled or is using a browser that doesn't support JS, they won't get your nav bar and footer.

Something like this is better done with Apache's Server-Side Includes or PHP, but since you're on Neocities neither of these are available to you.

Thanks, I will try this! To make it as accessible as possible though, I might just be better off nailing down exactly what I want in the navbar and going back to individually placing the bar on each page...  :drat:
Logged

Melooon
Hero Member ⚓︎
*****


So many stars!

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

View Profile WWWArt

Hyperactive DonutGreat Posts PacmanOfficially DogThanks for being rad!a puppy for your travelsAlways My Pal
« Reply #18 on: January 09, 2024 @797.21 »

I might just be better off nailing down exactly what I want in the navbar and going back to individually placing the bar on each page
I think its worth noting that accessibility is meaningless if you don't actually have a site that you update and work on; and you'll only update and work on a site if its enjoyable and not a hassle for you to do; you are the important person, not your visitors.

So this is definitely an option, but it's also a lot of extra work; if you find that extra work is putting you off web design, then it's much better to take an easier approach like iframeing and accept that it won't suit everyone.

Screenreaders will always improve and there's no technical reason they can't be designed to understand iframe sites; but if you create a situation where your site is so much work that you give up, then the best screen reader in the universe will never be able to read it and that's much sadder :4u:
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
musicobsessed107
Casual Poster ⚓︎
*

⛺︎ My Room
PicMix: https://en.picmix.com/profile/xxDeadInside2006xx

View Profile WWW

Joined 2024!
« Reply #19 on: September 26, 2024 @179.95 »

Between my own website and SpaceHey, I use the iframe HTML code all the time. I haven't had any issues with iframes so far and I only use them to link videos or audio from YouTube, so there aren't really any cybersecurity threats I need to worry about there.

I'm also not really worried about mobile friendliness either, as my website is primarily designed and optimized for PC users (as many websites from back in the earlier days of the internet were, plus the purpose of my personal website makes it justifiable for a computer focused design along with SpaceHey, a clone of 2000s MySpace).
Logged



Pages: 1 [2] Print 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ 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