Home Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
May 10, 2024 - @93.07 (what is this?)
Forum activity rating: Four Star Posts: 51/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
| |-+  ✁ ∙ Web Crafting
| | |-+  Iframes


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



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


is it any wonder that my mind's on fire?

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


rock operatic science fantasy and more...
(...all opinions mine unless attributed, and free to a good home...)
larvapuppy
Jr. Member ⚓︎
**



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!

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

View Profile WWW

Always My PalFirst 1000 Members!spring 2023!Squirtle!!!!MIDI WarriorMIDI Warrior1234 Posts!OzspeckCool Dude AwardRising Star of the Web AwardMessage BuddyPocket Icelogist!OG! Joined 2021!The Smallest Ozwomp Known To ManBug!
« 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
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 | 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