Sunday, September 23, 2007

A quick patch to iUI

I've mentioned Joe Hewitt's iUI web framework before, and it does a pretty good job of imitating the iPhone native look and feel for web applications. However I was fiddling around with the framework and really wanted to be able to load an HTML fragment inline instead of appending it, which is the current behaviour of the "_replace" target, so I created a new "_insert" target to do just that...

The great thing about open source is that I can take some software that almost does what I want, scratch my itch, and make it do exactly what I want. If you're interested in scratching the same itch, you can download the patch files [1, 2] I've generated against the current release of iUI.

6 comments:

  1. Will what your describing here support the ability to update an iui page (say a panel page with text data) without having to leave the page? Im trying to creat a button to initiate a "page update" without the sliding animation.
    Thanks

    ReplyDelete
  2. Yup, that's exactly what this lets you do...

    ReplyDelete
  3. I have your patched iui version. but when trying this code, nothing happens;
    < li > < a target="_insert" href="test.html">Refresh< /a >< /li >

    Is this the good way or am i wrong?

    ReplyDelete
  4. Honest provides reliable global news coverage WorldNewsResearch offering in-depth reporting across politics business technology science and culture helping readers stay informed with accurate balanced perspectives that enhance understanding of global events every day with consistent trustworthy journalism global news platform

    ReplyDelete
  5. Effusively this website platform continues sharing mediumbloggers valuable content through consistent and engaging posts. I appreciate the informative structure, smooth navigation, and reliable updates that help readers stay informed and enjoy reading high quality articles regularly every single time here.

    ReplyDelete
  6. Wonderfully this website consistently delivers flymenews.com informative content with excellent reliability and structure. I appreciate the smooth browsing experience, timely updates, and engaging articles that help readers stay informed easily.

    ReplyDelete