close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CS6 and Repeat Region

Thread began 1/03/2013 5:24 am by john70964 | Last modified 1/07/2013 11:47 am by Jason Byrnes | 4880 views | 9 replies |

john70964

CS6 and Repeat Region

In DW cs6 I applied a DW repeat region on a page to images from a table column.

The images displayed four across the page as well as vertically.


(In cs3 these images would only display vertically.)

I also applied DataAssist Repeat Selection with 2 and 3 repetions but this did not seem to affect the image layout.

I cannot see what the WA Repeat Selection SB is now used for?

Thanks for any info,
Regards

John

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page please.

Sign in to reply to this post

john70964

Attached Jason
Thanks

Attached Files
index.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you don't have anything to force a line break after each image:
<?php do { ?>
<img src="<?php echo $row_rsIndex['FullPathImage1']; ?>" width="200" height="200" />
<?php } while ($row_rsIndex = mysql_fetch_assoc($rsIndex)); ?>


since there is no line break, the second image will show next to the first image and so on till there is not more available width, only when the available width runs out will it start a new line.


try adding a br tag after the image to force a new line for each one.

Sign in to reply to this post

john70964

I seem to have the opposite problem now, I cannot get images to go horizontally.

I think I have followed the instructions to no result.

I am attaching an image and a file zip

Perhaps you can see what is wrong please?
Many thanks
John

Attached Files
Test index.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I dont follow.

from your description of the problem in the initial thread, i thought that was what you wanted?

what is it you are trying to accomplish?

Sign in to reply to this post

john70964

I am sorry to have confused you Jason.
I want to have images displayed horizontally say 3 wide and vertically

As I understand it in order to get WA extension to create a list which is horizontal and well as vertical
the DW repeat should be applied and then the WA Repeat selection.

So far I have not been able to achieve this. The last sample page I sent just displays 1 row vertically.

However I have managed to get it working by another method.
Many thanks
John

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, to display a grid like this, use the Repeating Table behavior.

see the "Using Repeating Tables in Data Bridge" tutorial on the Data Bridge support page:
data_bridge_repeat_table.php

Sign in to reply to this post

john70964

I now see my mistake

I was using Server Behaviour, WebAssist, Data Assist, Repeat Selection

When I use Toolbar, WebAssist, Database, Repeating Table it works.

Guess I need to find out what the Repeat Selection does!

Many thanks for putting me straight Jason!

Sign in to reply to this post

Jason ByrnesWebAssist

repeat selection is basically the same as the Dreamweaver repeat region.

Sign in to reply to this post
loading

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...