close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Display repeat region horizontally

Thread began 11/25/2009 10:29 am by ijk76319396 | Last modified 12/23/2019 11:37 am by Ray Borduin | 4349 views | 5 replies |

ijk76319396

Display repeat region horizontally

Is the only way for dreamweaver to display a repeat region vertically? Is there a way to set it to display records horizontally?

Sign in to reply to this post

Ray BorduinWebAssist

DataAssist includes a repeat selection server behavior that you can apply inside a repeat region in order to get it to display both vertically and horizontally.

Sign in to reply to this post
Did this help? Tips are appreciated...

anonymous

Horizontal Looping issue

This generates 4 columns in the first row. But, only 3 columns and a blank column at the end of each of the following rows till the end of the recordset. Am I missing something?

<div class='section group' style="background:#FFFFFF;">
<?php
$wa_startindex = 0;
while(!$Recordset1->atEnd()) {
$wa_startindex = $Recordset1->Index;
?>
<div class="col span_1_of_4" align="center" style="background-color: #fff;">
<div class="storebox"> <a href="furnituredetail.php?prodID=<?php echo($Recordset1->getColumnVal("prodID")); ?>"><img src="storepix/<?php echo($Recordset1->getColumnVal("prodID")); ?>.jpg" alt="" style="border:solid #333 0px; max-width:14.0625em; max-height:14.0625em;"></a><br />

<span class="bodytext"> <b><a href="<?php echo($Recordset1->getColumnVal("prodName")); ?>"><?php echo($Recordset1->getColumnVal("prodName")); ?></a></b><br>
<?php echo($Recordset1->getColumnVal("prodPricedesc")); ?></span><br />
</div></div>
<?php
$Recordset1->moveNext();
}
$Recordset1->moveFirst(); //return RS to first record
unset($wa_startindex);
unset($wa_repeatcount);
?>

</div>



What is DataAssist.

Sign in to reply to this post

Ray BorduinWebAssist

Please post a URL so I can view the page. It may be a CSS issue or something with the content, or even something in the database. If you could provide a URL and FTP information then I could fully debug this issue. I don't see any problems with the code you have provided.

Sign in to reply to this post
Did this help? Tips are appreciated...

dinohorn397192

So if I had 10 items to display, I could have 2 rows of 5? I have tried this and only get the top row back.

Sign in to reply to this post

biz295654WebAssist

See Tom Muck's solution: index.cfm
disclaimer: only a user

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...