close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Alternate Colors in Repeat Region

Thread began 5/20/2009 12:14 am by fragop363190 | Last modified 5/21/2009 7:40 am by Ray Borduin | 3331 views | 3 replies |

fragop363190

Alternate Colors in Repeat Region

I want my results page , Public page using Public DataAssists template with single record per row, to have alternate color on repeat.

DataAssist is using Alternate Colors only for Admin template. Shouldn't it add it to Public template too?

I tried applying it through the behaviors panel but it says it can be added only with DataAssist Wizzard....

How can i addit to the repeat region of the page that was constructed by DataAssist?

Sign in to reply to this post

Ray BorduinWebAssist

You would have to add the code manually. A description is offered here: showthread.php?t=1136

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

fragop363190

1. Do i need to create my own styles for even and odd number of rows? Which styles are the defaults of WebAssist in case i want to use those?

2. This is the code i suppose for the colors/different class applied. Please verify it and give me an example where to put the class names (2 one for even numbers one for odd) so it works properly. Thank you in advance.

$WARRT_AltClass1 = new WA_AltClassIterator(explode("|", "prod-a|prod-b|prod-c"));

Cause here if i am correct i see 3 different styles and i need 2. Unless your class/iterator takes unlimited arguements of styles and just apply them in order and round round it goes again. Please explain a bit further.

Sign in to reply to this post

Ray BorduinWebAssist

That is exactly how it works. If you want two, just pass two.

$WARRT_AltClass1 = new WA_AltClassIterator(explode("|", "prod-a|prod-b"));

it takes unlimited arguments and applies them in order and around it goes.

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

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