How to do a  vertical or horizontal repeat region

The default repeat region reads all the data until its finished in a simple vertical manner. Is there a way to do a horizontal or more complex vertical repeat.

Well i figured this out from a spry image gallery tutroial. Simple declare a css rule, something similar to this and call it as needed:
.horizontalrepeat{
width: 100px;
height: 100px;
float:left;
margin: 5px;
/*any other thing you want to add*/
the key is the width and the float left.

Similar Messages

  • Horizontal Repeat Region

    How do I create a horizontal repeat region that drops to the
    next row when the width of the data exceeds the table width?
    Something like this:
    01 02 03 04 05
    06 07 08 09 10
    11 12 13 14 15
    Each would represent a thumbnail with a title under it

    AngryCloud wrote:
    > How do I create a horizontal repeat region that drops to
    the next row when the
    > width of the data exceeds the table width?
    Try the horizontal looper from www.tom-muck.com. The Adobe
    Dreamweaver
    Developer Toolbox (formerly Kollection) also has this
    feature.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Proper syntax for email function including a repeat region

    Hey Guys, a fellow ADDT developer and myself ran into a odd challenge recently and was wondering if someone knew a shorter answer.
    LET ME BE CLEAR..I’m not looking for a suggestion, we have resolved the problem..we ARE LOOKING FOR PROPER or shortest FORMAT.
    (we used a submit redirect to a php page that used the “Send Page Section”  and then redirected back..the email looks great)
    This may be a mood point since ADDT is going away but, until then, we feel this will be an useful post because quite often you may have multiple products to email from your SQL statement.
    With that said. We used the send email function on submit.
    1.       Our email content was a HTML content file. Since it was not a php file our repeat region obviously did not work.
    2.       We substituted the HTML file for PHP (just for giggles)..no joy
    3.       We tried regular content as a string..no joy
    We know how to get single rows with the  {table.column} format…but we need to list all undetermined number of products/rows.
    So how would the string or function re-write look  if you needed a repeat region.
    EX:
    emailContent (“ this” . ‘does’. “work”);  regular string
    emailContent (“ this” . $var   . “work”);  regular string
    emailContent (“ this” .   do{  $row; } while( xxx = xxx)  . “work”);  DOES NOT WORK
    emailContent (“ this” .   while( xxx = xxx)  {  $row; }   . “work”);     DOES NOT WORK
    I assume the conflict is you can’t have a function like DO or While in the string….but I also can’t use a php include file.
    There must be a shorter, cleaner syntax that won’t require an advanced set of arrays or for each???
    so  how would a nice clean example of  repeat region results  inside email content, or include file for email contnent, look?
    Thanks

    David, in theory I agree with you, but to a large degree I am completely changing the logic of my human interface. My existing code pre-processes the raw data and saves the results to disk for any future usage. 
    It can then rapidly rebuild all pages for the entire Intranet site when your personal view of the data is changed. 
    After the full creation of all pages, the fixed pages can be viewed using your browser. 
    When you want to change your view, you run the code which completely rebuilds every Intranet page.
    My new software will approach the data differently.  My raw data will be stored with no pre-processing. The pre-processing will occur as the user changes dates and the pages will be built individually on demand, one at a time.
    The second phase of my Windows Form app will be to create pop-up windows that allow the users to modify the definitions for their custom views of the market. 
    When a view is changed, the software will be able to pre-process, as needed, the current date’s data and rebuild the current page with any new changes.
    I intend to create a Refresh.cpp file.  The various segments of the Form’s code will set variable such as date change, view changed, watch list changed, etc. and then call Refresh(). 
    The refresh code will then be able to do the minimum recalculation necessary to rebuild the proper HTML stream. 
    This is another reason to break up the code into various cpp segments such as: LoadRawData, RecalculateViews, BuildPage, etc.
    PS: David, I tried to send you a personal e-mail using your home page link. 
    Hope that was OK and not against forum rules!

  • PhP/MySQL Horizontal/Vertical Repeat Region

    Hi Guys,
    I'm pretty sure this question would have been asked many times before. If so, first of all my apologies for re-posting this.
    Anyway, what I'm trying to do is create a repeat region that spans for 4 columns and then repeats the rest in rows. For example, if I have 100 records in my table (MySQL), then I want to display this in a table of 4 columns and and 25 rows (in reality, the number of records would be unspecified, of course, but still the records need to be displayed on a 4 column, X row table). For example:
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    name
    comment
    At the moment, I have no issue with displaying the records either horizontally or vertically (explicitly) using the built in "repeat region" behavior. However, where I'm having the problem is with displaying the records in a table as the one I described above.
    I'm using DW CS5 with PhP/MySQL.
    Can I still do this using the built in "repeat region" server behavior, if so how?
    Otherwise, how else could I achieve this (ideally without using any extensions)?
    Thanks in advance for any help and support,
    Cheers

    I'm believe you should be able to modify the repeat region code to do what you want it to do.  With that said we will need 2 things:
    1.  To see the code from the page.
    2.  To know the order of the results is it:
    Horizontal: 1 2 3 4
                    5 6 7 8
    Or Vertical:
    1 5
    2 6
    3 7
    4 8

  • How to make server behaviors repeat region vertical?

    I have done many "Server Behavior, Repeat Region" showing vertical list without any other setup, now I’m doing a new one and is showing horizontal which doesn't make any sense. Does anybody know why and how to fix this “bad behavior”?

    This is very simple page no external or internal css is for internal use only to retrieve data base information. I currently have to more from different sites working fine without any third party app or any extra coding effort.  here are codes.
    Thank you guys for your prompt response.
    <?php require_once('Connections/customers.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    mysql_select_db($database_customers, $customers);
    $query_Recordset1 = "SELECT * FROM customers";
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $customers) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table width="158%" border="1">
      <tr>
      <th scope="col">ID</th>
        <th scope="col">Name</th>
        <th scope="col">Last Name</th>
        <th scope="col">Address</th>
        <th scope="col">City</th>
        <th scope="col">State</th>
        <th scope="col">Zip Code</th>
        <th scope="col">E-mail</th>
        <th scope="col">Phone</th>
        <th scope="col">Username</th>
        <th scope="col">Password</th>
        <th scope="col">Role</th>
      </tr>
      <tr>
        <?php do { ?>
          <td align="left"><?php echo $row_Recordset1['id']; ?></td>
          <td align="left"><?php echo $row_Recordset1['name']; ?></td>
          <td align="left"><?php echo $row_Recordset1['lname']; ?></td>
          <td align="left"><?php echo $row_Recordset1['address']; ?></td>
          <td align="left"><?php echo $row_Recordset1['city']; ?></td>
          <td align="left"><?php echo $row_Recordset1['state']; ?></td>
          <td align="left"><?php echo $row_Recordset1['zip']; ?></td>
          <td align="left"><?php echo $row_Recordset1['email']; ?></td>
          <td align="left"><?php echo $row_Recordset1['phone']; ?></td>
          <td align="left"><?php echo $row_Recordset1['username']; ?></td>
          <td align="left"><?php echo $row_Recordset1['password']; ?></td>
          <td align="left"><?php echo $row_Recordset1['role']; ?></td>
          <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
      </tr>
    </table>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>

  • How can I make a title (text) on a postcard vertical not horizontal text?

    How can I make a title (text) on a postcard layout vertical not horizontal text?

    Insert it in a Text Box then rotate this one.
    Yvan KOENIG (VALLAURIS, France) lundi 13 juin 2011 16:20:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own
    before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How do I change the reading pane or preview pane from vertical to horizontal in Mail?

    How do I change the reading pane or preview pane from vertical to horizontal in Mail?

    From the Mail menu bar click Mail > Preferences then select the Viewing tab.
    Select:  Use classic layout

  • How can I get my display to change orientation vertical to horizontal

    How can I get orientation of display (vertical to horizontal) to change with phone position

    It should change automatically when you turn the phone but note that there are some screens such as the home screen that do not rotate and some apps that don't support rotation. Also the orientation can be locked. You can turn the lock on or off by opening Control Center (while on the home screen swipe up with one finger starting from below the bottom of the screen). The orientation lock control is on the right end of the top row in Control Center and looks like a lock inside a partially circular arrow. When on, the same icon displays in the menu bar.

  • How do I flip a photo horizontally or vertically in iPhoto?

    How do I flip a photo horizontally or vertically in iPhoto. I can rotate but can't figure out how to flip them.
    Thanks

    You will have to use another application. Preview will do it. Set up iPHoto to use Preview as the editor of choice. Then double click on the thumbnail to open it in Preview, flip the image and save.
    Using 2 Image Editors in iPhoto
    If you want to use both iPhoto's editing mode and a 3rd party editor without having to go back and forth to the Preference pane, once you've selected the 3rd party editor as your editor of choice, reset the Preferences back to "Open in main window". Then when you Control-click on an image, you can select "Edit in external editor" in the Contextual menu to edit in your selected editor.

  • HT4528 I recently downloaded ios7 and I'm getting the hang of it. However, my gyroscope stopped working.  I can't flip an image from vertical to horizontal. How do I fix this?

    My phone gyro stopped working.  How do I flip an image from vertical to horizontal?

    Hey Bill Seiden,
    Thanks for the question. I understand you are experiencing issues with the orientation of your iPhone. Let's check to make sure orientation lock is not enabled, you can do so from the Control Center:
    Lock the screen in portrait orientation - Control Center
    http://support.apple.com/kb/TI152#TI152
    Lock the screen in portrait orientation.
    Swipe up from the bottom edge of any screen to reveal Control Center.
    Tap to lock the screen in portrait orientation.
    Thanks,
    Matt M.

  • HT4972 How can I zoom the web page only vertically or horizontally ,i.e.,wThen I want to read the web page can I enlarge the page so that the font only increases size ?

    How can I zoom the web page only vertically or horizontally ,i.e.,wThen I want to read the web page can I enlarge the page so that the font only increases size ?

    You can't.  (Fonts increase in size like everything else, not in height alone).

  • IFrame - How to keep the vertical scrollbar, but NOT the horizontal one?

    I have the iFrame set-up fine in the site - http://www.pebbleplace.com/Personal/Start.html
    And it works as expected in Safari, but in Firefox a horizontal scrollbar shows up... How can I can keep the horizontal scrollbar from showing up? It's not needed - the content is skinnier the iFrame. This is the code currently being used -
    <iframe src=
    "http://www.pebbleplace.com/Personal/StartLatest_EntriesList.html"
    style="width:728px; height:408px;
    border-color:#990033;
    border-style:none;
    border-width:1px"
    scrolling="yes" >
    </iframe>
    I've seen some parameters such as "overflow-x:hidden" when Googling this topic, but I'm not sure where to place that command. Nor did it sound like it should be used in-line the code shown above. Coding is NOT my thing, so I really appreciate the help.
    Thanks

    Thank you. Unfortunately I had to pull the iFrame. It was on the front page and displayed all the "Latest Entries" list. I was using the iFrame as scrolling list box - this way I could keep all the entries on the front page. Right now there is only room ~10 entries.
    Anyway, I pulled the code because when I clicked on it, it opened the page inside the iFrame. That wasn't what I expected. I wanted it to open the page in the same Safari tab, not in the tiny iFrame. I'm kind bummed because it looked good and would have worked nicely - if it didn't open the links in the iFrame.
    I think I could trick it by linking to my pages as an external reference and forcing them to be opened in a NEW browser window. I may try that next weekend when I have more time to work on this again.
    Thank you for the response.
    John

  • Can anyone tell me how to stop my iPad screen changing from vertical to horizontal display

    Can anyone help me stop my iPad mini screen jumping from vertical to horizontal display, have just downloaded ios7 and this has just started

    Sometimes the Rotation Lock can be in the Control Center.

  • How do i get sections in horizontal pos af

    how do i get sections in horizontal pos after applying section on particular table. I mean one after another.

    sections can repeat vertically only. you can use a crosstab table instead of section.

  • How to display TEXT vertically in SMART FORM

    Hai,
    I need to display the column name of a table vertically (readable from bottom to top) in smart form.
    Could any one please tell me how to do this?
    Thanks & Best Regards,
    Maniyam Bhaskar.

    Hi,
    Go through these threads for the discussions happened on similar issue... hope it helps you..
    how to print text vertically in smart forms
    vertical and horizontal printing in same page with smartforms or sapscript
    Good luck
    Narin

Maybe you are looking for

  • Internal Hard Drive Won't Load

    Specs: iMac Mid 2007 OSC 10.9.4 Processor: 2.8 GHz Intel Core 2 Duo Memory: 4 GB 667 MHz DDR2 SDRAM 500 GB Hard Drive So, my hard drive began acting funky about a year ago (would freeze at startup or freeze when trying to click on the Desktop). I res

  • Want to reserve Windows 10 but don't see the icon on the taskbar possible solution

    One of my laptops did not show the get windows 10 in the taskbar and the required microsoft update KB3035583 was installed, this article gave the solution by running CMD as administrator and the command to run also how to save it on your computer.Art

  • Question about JS code hinting

    When dreamweaver codehints javascript the code options have a little icon to the left i have seen red squares, hollow green circles, and yellow squares balanced on on it's its corners. what do these symbols mean?

  • Please help - keyboard backlight not working properly

    The keyboard backlighting on my 15in early 2008 macbook pro stopped working properly about two weeks ago. I opened it at night to find that only the middle keys were lighting up. No spills, no drops or anything out of the ordinary. I have already res

  • Enhanced receiver determination - Idoc 2 Idoc scenario

    Hi, I am trying Enhanced receiver determination - in an Idoc 2 Idoc scenario. But when I selected Enhanced receiver determination in ID, it is asking for interface mapping.As it is an Idoc 2 Idoc scenario, I did not create any mapping objects in IR.