HTML5 Data Bindings Support Product Page

Answered

Repeat Region or Repeat Children

Asked 20 Sep 2013 13:00:29
2
have this question
20 Sep 2013 13:00:29 Andre Bender posted:
What is the difference between Repeat Region and Repeat Children?

Replies

Replied 20 Sep 2013 13:10:16
20 Sep 2013 13:10:16 Teodor Kuduschiev replied:
Hello Andre,
Please go to the product page and under videos section www.dmxzone.com/go/21863/html5-data-bindings#videos you will find two videos:
- Using Repeat Region in HTML5 Data Bindings
- Using Repeat Children Region in HTML5 Data Bindings

Replied 20 Sep 2013 13:13:01
20 Sep 2013 13:13:01 Andre Bender replied:
I followed the videos but still don't understand the difference
Replied 20 Sep 2013 13:23:33
20 Sep 2013 13:23:33 Teodor Kuduschiev replied:
Well the Repeat Region repeats the element that is marked as repeat region adding an id to it. Example:
<div id="repeat1">Result1</div>
<div id="repeat2">Result2</div>
<div id="repeat3">Result3</div>
<div id="repeat4">Result4</div>

The Repeat children element can be used in a ul > li, ol >li or ANY Parent container > Children container structure. Example:
<ul id=repeat1">
  • Result1
  • Result2
  • Result3
  • [/list]
    Replied 20 Sep 2013 13:44:25
    20 Sep 2013 13:44:25 Andre Bender replied:
    Ah, I see thx.
    Replied 10 Oct 2013 20:35:51
    10 Oct 2013 20:35:51 Brad Lawryk replied:
    So when would you use each one?
    Replied 11 Oct 2013 07:04:51
    11 Oct 2013 07:04:51 Teodor Kuduschiev replied:
    Hello,

    It depends on the situation. As i expained - if you have an element that is not in a parent-child structure, you use the repeat region.
    If you want to repeat a child element in a parent-child structure you can apply the Repeat Children on the Parent element.
    Replied 13 Oct 2014 18:45:28
    13 Oct 2014 18:45:28 Joe Villanova replied:
    I have this code:
    <ul id="images">
    <li class="revealFX revealFX1" data-delay="100ms"><img src="../img/self-portrait.jpg" width="580" height="383" alt="Grass Blades" />
    <p class="blogtext">Self-portrait</p>
    </li>
    <li class="revealFX revealFX1" data-delay="100ms"><img src="../img/Landscape.jpg" width="580" height="432" alt="Stones" />
    <p class="blogtext">Landscape</p>
    </li>
    <li class="revealFX revealFX1" data-delay="100ms"><img src="../img/Flower.jpg" width="580" height="576" alt="Sea Mist" />
    <p class="blogtext">Flower</p>
    </li>
    <li class="revealFX revealFX1" data-delay="100ms"><img src="../img/billboard.jpg" width="580" height="778" alt="Pier" />
    <p class="blogtext">Billboard </p>
    </li>
    </ul>

    Where would I select the element to assign a repeat region? I have tried the UL, the LI and no matter what element I select, the only repeat region that gets created is a separate DIV.
    Replied 13 Oct 2014 20:33:44
    13 Oct 2014 20:33:44 Joe Villanova replied:
    OK I selected the UL and inserted repeat children of the UL. That worked. I think going forward, the tutorials should include accessing and configuring a SQL database since much work is still done with SQL.
    Replied 14 Oct 2014 07:07:13
    14 Oct 2014 07:07:13 Teodor Kuduschiev replied:
    Hello Joe,
    What exactly do you mean by: "the tutorials should include accessing and configuring a SQL database since much work is still done with SQL"? Which part of using DMXzone Database Connector is done with SQL and not through the UI of the extension?

    Reply to this topic