Home Events! Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
November 22, 2024 - @755.69 (what is this?)
Forum activity rating: Three Stars Posts: 37/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts    Start New Topic
News: :ha: :pc: Hello Melonland! :pc: :happy:

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


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


⛺︎ My Room

View Profile WWW

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

the end of an era, one starts anew
starbreaker
Sr. Member ⚓︎
****


What good is Heaven if we dare not storm it?

⛺︎ My Room
SpaceHey: Friend Me!

View Profile WWW

First 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 ⚓︎
***


⛺︎ My Room

View Profile WWW

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

the end of an era, one starts anew
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 #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, 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