Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer day - @632.26
Activity rating: Four Stars Posts & Arts: 56/1k.beats Random | Recent Posts | Guild Recents
News: :ha: :pc: Hello Melonland! :pc: :happy: Guild Events: There are no events!

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  Iframes


« previous next »
Pages: 1 [2] Print Embed
Author Topic: Iframes  (Read 4848 times)
larvapuppy
Sr. Member ⚓︎
****
View Profile WWWArt


World's Worst Baby Seal
⛺︎ My Room
iMood: larvapuppy
RSS: RSS

Guild Memberships:
Artifacts:
Visited on Melon's 10th Anniversary!CubesealSpheal, I Choose You!Wave MailsealFirst 1000 Members!
« Reply #15 on: a Winter night » Embed

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


Artifact Swap: loadsamoneycup 4 uStripe²hold it!
starbreaker
Hero Member ⚓︎
*****
View Profile WWW


What good is Heaven if we dare not storm it?
⛺︎ My Room
StatusCafe: starbreaker
RSS: RSS

Artifacts:
Visited on Melon's 10th Anniversary!Great Posts PacmanFirst 1000 Members!G4 Club Member!Joined 2023!
« Reply #16 on: a Winter day » Embed

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

https://starbreaker.org/assets/buttons/starbreaker-88x31.avif

as all kingdoms fall, let my will be done on earth, and heaven be damned
larvapuppy
Sr. Member ⚓︎
****
View Profile WWWArt


World's Worst Baby Seal
⛺︎ My Room
iMood: larvapuppy
RSS: RSS

Guild Memberships:
Artifacts:
Visited on Melon's 10th Anniversary!CubesealSpheal, I Choose You!Wave MailsealFirst 1000 Members!
« Reply #17 on: a Winter night » Embed

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


Artifact Swap: loadsamoneycup 4 uStripe²hold it!
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


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

Guild Memberships:
Artifacts:
You're a Star!I got robbed by Dan Q on Melonland!Flinstone VitaminAlways working hard!Known Apple shillcoolest melon on the web!
« Reply #18 on: a Winter night » Embed

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

Artifact Swap: Red TulipMellohi?
Pages: 1 [2] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ 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
@000 MelonLand Zap! Want to Login or Join ? Forum Art Hub Chat Webring Editor Recent Edits Tenement Arcade Web Guides Graphics Catalogue Wiki Newsletters Image Stream
Melon's Sites TamaNotchi Textures PixelSea GifyPet MoMG Ozwomp Online Loom Videos Leaky Webring Melonking
Tools Melon Software ArtHub Embed Maker ML Passports
Outlinks Webrings Internet Phone Book HTML Energy Declarations Hackers & Designers Frutiger Aero Forum m15o's Web Services 32Bit Cafe iMood
Minecraft: Online
Join: craft.melonking.net