Zoltán wrote:
> I'm using iui.js, works fine, but I have a little problem.
> Now my page contains links, the links are sliding fine, but I need a
> better solution.
>
> I want to use this instead of <a href>s:
>
> <select id="biz" onChange="loadThisPage(this)">
>   <option value="sel.php?id=1">First</option>
>   <option value="sel.php?id=2">Second</option>
> </select>
>
> I have the value of the new page, I can alert() it :), I can put into
> an <a> elements href, but I don't know how to tell to this iui
> framework to slide it. :(
>   


Try using iui.showPageByHref(this.value, null, "GET", false, null)

That should load your page fragment via ajax and then perform the slide.

-- Sean

--

You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.


Reply via email to