Hi Group,
Im using Joe's IUI and I'd like to deliver search results 5 by a time
und use target="_replace" to load the next five. My problem in that
case is, that every search result is'nt only represented by an <li>
but by several <ul>'s containing <li>'s again.
I use the following template to show up my results:
<ul id="home" title="results" selected="true">
<% for result in @results %>
<li><a href="#<%= result.id %>"><%= h(result.title) %></a></li>
<% end %>
<li><%= link_to 'Next 5 ...', { :page =>
@result_pages.current.next, :kind => params[:kind], :type =>
params[:type] }, :target => "_replace" if @result_pages.current.next
%></li>
</ul>
# Then for every result I have sub-ul's that hold more specific info
but should be loaded in the very same moment
<% for result in @results %>
<ul id="<%= result.id %>" title="<%= h(result.title) %>">
<li><a href="#<%= 'desc'+result.id.to_s %>">Description</a></li>
<li><a href="#<%= 'recom'+result.id.to_s %>">Recommendations</a></
li>
<li><a href="#<%= 'pickup'+result.id.to_s %>">Pickup</a></li>
<li><a href="#<%= 'delivery'+result.id.to_s %>">Delivery</a></li>
<li><a href="#<%= 'bid'+result.id.to_s %>">Place Bid</a></li>
</ul>
<% end %>
# And then for every sub section i print another ul containing the
more specific info
<% for @result in @results %>
<ul id="<%= 'desc'[EMAIL PROTECTED] %>" title="Description">
<%= render :partial => 'shippings/'+partialidentifier %>
</ul>
<% end %>
## and so on for the other subs.
The problem now is, that the newly delivered ul's - after a klick on
"Next 5" - are inserted into the surounding parental ul and that
breaks optics and navigation. Is there any way to deliver more than
simple li's in a way that would suit my needs?
Thx in advance
jan.at.roesner.dot.it
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---