InFrame - Dynamic iFrame creation with jQuery

jQuery spends a lot of time impressing the shit out of me, one example of it doing it recently is with Vile Work's inFrame (one person has reported an issue with this site and viruses, I cannot replicate though.).

What this plugin does is capture any links containing a certain class and instead of having them display in the current window it will create an iFrame on the fly for the content to display into.

We all know that iFrames are bad because they hide stuff from crawlers and different accessibility tools, however one of the really smart things about this is that because it looks for links of a certain class anyone coming along without JavaScript installed (say, a search engine for example) will just follow the link as normal with no negative effect.

I can see loads of potential uses for this tool and look forward to playing with it in an actual project.

Recent posts View all

Ruby

Ruby Conferences

Ruby conferences are a chance for the Ruby community to come together and share what we have learned recently

Mac

TextExpander snippets I like

These are some of my favourite Text Expander snippets that help me do my work and have some fun.