Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer night - @878.85
Activity rating: Four Stars Posts & Arts: 84/1k.beats Random | Recent Posts | Guild Recents
News: There's a great big indie web tomorrow! :smile: 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 5001 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²
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²
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:
Bug!You're a Star!Flinstone VitaminI got robbed by Dan Q on Melonland!Always working hard!Known Apple shill
« 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 TulipLurby?here comes the bapSmile on, rainbow flower!Plank
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 Editor Recent Edits Tenement Arcade Want to Login or Join ? Forum Art Hub Chat Webring 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 Frutiger Aero Forum Onio Club m15o's Web Services 32Bit Cafe iMood Webrings Internet Phone Book HTML Energy Declarations Hackers & Designers
Zap!
Minecraft: Online
Who: lithiumgamma