i have… gosh. so. many. questions. and SO many topics i want to post. i will do my best to refrain from spamming or exploding into a billion pieces for now but this is a burning question on my mind lately, i had to go digging!~
essentially, i am incredibly curious about the entire scope of iframes. sure, you provide a window into another world, some other url/webpage address, like a cure little terrarium, but WHAT ELSE? im SURE there are more cool things waiting to be done, for example- if i am not mistaken, cbox is an example of an iframe-based widget, right? thats cool!!
please tell me more ways to use iframes!! ignite my curiosity, set me ablaze~
ok wow that a really cool use case wow!!! i love that- how cute. i might have to “move in” haha. to be honest- i am looking for more ideas to add more little containers to nolove.neocities.com/gallery - perhaps it is time to get a gifypet? yes,…
For a little while on neocities people made “web gardens” which were little site snapshots made for other people to “plant” on a page using iframes. Here’s my collection of webgardens which includes my own and some other people made (a few are broken but the idea is there!)
Some people use iframes for more practical purposes, like making a site navigation/menu and putting on their pages via an iframe, so if they add a new page to their menu they only have to update one file rather than every page (this can be done other ways like static site generators, JavaScript, and server side includes, but iframes are particularly beginner friendly).
You can set the target attribute of an <a> tag to be the name of an <iframe>, which will cause the HTML to be loaded into the <iframe> instead of a new page. I discovered this on ribose’s microscopy site.
For instance: <iframe name=“scope”> and <a target=“scope”> will make the anchor target the “scope” iframe.
there’s a fair number of iframe widget type things! navlink ads (and similar indieweb ad things) are iframes cropped to a specific size with overflow hidden. this tarot widget is an iframe, and kp radio’s widget is an iframe as well! this increment counter is also an iframe widget, just a really small one!
zombiethederg’s sewer arcade has some games embedded via iframe, which i thought was fun and hadn’t occurred to me to do! the melonland surf club navigator is a fun way of using iframe navigation across different sites instead of just within one, i think it’d be interesting to play around with trapping people in iframe browsers like that.
also, this page on the melonland everyone site has a quite fun and interesting implementation of iframes + randomizing javascript i thought!
youtube embeds are iframes as well, which i didn’t realize before! i never looked that closely at it. same with google calendar embeds.
i think a fair number of people use status.cafe iframes on neocities, but you could do an iframe for other social media feed type things that don’t require a login to view! like a small “latest blog post:” box with an iframe pointed at a blog’s front page.