Toby's Development Blog Just another PHP / Javascript Developer

27Nov/093

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.

Here is it in action.

Is twitter up?

Cool, huh?

  • Digg
  • Delicious
  • Facebook
  • Reddit
  • Ping
  • Twitter
  • Share/Save/Bookmark

Related Posts

  1. Adding jQuery to Wordpress
  2. jQuery Rollover
  3. Acronym and Abbreviation Tags
  4. Robin Christopherson – Accessibility in Web Design
  5. @tosbourn
Tagged as: , ,
Comments (3) Trackbacks (0)
  1. You jerk! Your link for “Vile Work’s inFrame” is tying to download all sorts of viruses. Nice!
  2. Hey,

    The site doesn’t try and download anything when I go on it and I cannot control the content of other people’s websites.

  3. I have updated the post with a warning based on your feedback ‘God’.

Leave a comment


No trackbacks yet.

Hello

I am a PHP and JavaScript developer who works for Team Solutionz.

This website is what I use to talk about things most of my friends don't want me to talk about to them! For some reason they find coding alien and boring... I have strange friends.

Subscribe via RSS

New Posts

Old Posts

Categories

Links

Other Links

Sign Up and Comment!

What I talk about