HTML5 Data Bindings Extended Repeater Support Product Page

Answered

horizontal navigation

Asked 22 Sep 2014 20:51:59
1
has this question
22 Sep 2014 20:51:59 manuel pinto posted:
I'm triyng to copy/reproduce the video tutorial and got all working, excepto for the fact the navigation is displayed verticaly and not horizontal ... any help please. Here's the code on my page:

<div class="list-group" data-binding-id="repeat3" data-binding-repeat-size="5" data-binding-repeat-children="{{ordenacao.data}}"><a href="#" class="list-group-item">{{data}} - {{ordem1}}</a></div>
<p>&nbsp;</p>
<div data-binding-id="paging" data-binding-repeat-children="{{repeat3.$totalPages}}">
<p><a href="#" onClick="dmxExtendedRepeaterAction('setPage','repeat3','{{$number}}')">{{$number}}</a></p>
</div>

Replies

Replied 23 Sep 2014 07:38:54
23 Sep 2014 07:38:54 Teodor Kuduschiev replied:
Hello Manuel,
This all depends on your layout and styles. The extension only repeats the element you placed there... and you are repeating the <p> element, which is a block-level element. You should either style your <p> element to be displayed as an inline block , or just remove it and repeat the <a> elements.
Replied 23 Sep 2014 15:07:36
23 Sep 2014 15:07:36 manuel pinto replied:
Perfect. That's it!
Thanks

Reply to this topic