Alternation of colors in the expandable table

Hi all, I was wondering if it is possible to have more than two colors in a repeat of the table line. I have about six different background colors, it comes up with an error if I add more than two for the code of repeat region:

<!-TemplateBeginRepeat name = "RepeatRegion1"->
< tr bgcolor = "@ (_index & 1? '#E5D9DB': '#C5D3D8': '#DBCBBE') @" >

If we can not do, other ways can I add repetitive code blocks with several alternating colors?

See you soon

cozzabags wrote:

> Thanks for your help, Jscript is the answer. I just thought that
> Dreamweaver would have this built-in if you can already choose 2 colors in one
> Alternating table. Does anyone know if it is possible to get the Dreamweaver
> Working with more than two colors alternating Table script?
>
> Thanks again
>
Yes, you can modify the script of DW, or write your own extension, or
write a standalone function:
http://teamwhite.us/js/altRows2.php

Mick

Tags: Dreamweaver

Similar Questions

  • Set the color of the element table (active/inactive)

    Hello

    I have an array whose elements are in the date format. is it possible to programmatically change the color of the elements for the active/inactive States?

    Thank you

    Hello labviewette,

    If you mean the colors of the elements in a simple constant table in the active/inactive case you cannot change the colors.

    In Active mode, the text is always black with white background and in idle mode it's the two grey-white.

    I hope I have understood you.

    Kind regards

    Stefan

  • Color of the dynamic lines in &lt; af:table &gt;

    Hello
    I need these examples to set the line color of the < af:table > that will rely on its value by programmetic way.
    Can you please help me with this result.

    Thank you.
    Zed
    ===

    Hi Zaza,

    You can try something like that. Some things to note:

    (1) the getColStyle() method will be called for each table column visible on each line displayed on the screen. That's why you need the int index = total / #, where # is the total number of columns on a line that is associated with this attribute.
    (2) the getYourVisibleTableRows (...) method must return only the visible set of lines that are displayed on the screen, not the entire recordset.

    /** Jspx page **/
    
            ....
        
        
            ....
        
        
            ....
        
    
    
    /** backing bean **/
    private String colStyle;
    private int total = 0;
    
    public void setColStyle(String colStyle) {
        this.inlineStyle = inlineStyle;
    }
    
    public String getColStyle() {
        colStyle = "";   // default background-color
        List rows = getYourVisibleTableRows(.......);
        int index = total / 3;  // Assuming 3 visible columns have their inlineStyle binded to this method.
    
        Row row = rows.get(index);
        if (row != null) {
            ...
            if (... // your condition) {
                colStyle = "background-color: #C0C0C0";
            }
        }
        total++;
    
        return colStyle;
    }
    

    Kind regards
    Amélie Chan

  • Is it possible to create a spreadsheet Numbers alternating line colors I choose (rather than just a line alternating color)?

    Is it possible to create a spreadsheet Numbers alternating line colors I choose (rather than just a line alternating color)?

    Hi tochan,.

    No, but it is possible to create this look.

    Procedure:

    Open a table.

    Format > table

    Check the alternative line color. The yellow value.

    Click the form button, select the rectangle.

    Click the shape to select it.

    Format > Style

    Set the fill color to green.

    The border value without border.

    Move the shape to align with the upper left corner of the table.

    Drag the handle at the bottom right of the form to the lower right of the table.

    Go to organize > Send to back (or backward and repeat until the form is behind the table, and the Green shape is visible through the non colored lines).

    Note that the form is independent of the table. If the lines are added to the table, alternating lines will continue to have the yellow filling, as it has been applied to the table itself, but the lines between indicate white background, until the shape is expanded to match the size of the table.

    Select the Table (by clicking on the 'target' at the top left.

    Go arrange > Send backward. (Repeat if necessary until the form is in the front of the table)

    Select the shape.

    Resized according to the table.

    Go arrange > Send backward.

    Kind regards

    Barry

  • Alternating line colors

    Hi all

    OK, I ticked the box of alternating line colors, selected my color, but you want to color the other lines, I'm sure it's easy but I'm stuffed if I know how to do this. It may be down manually, but I want to do this automatically because it is a spreadsheet live transaction that will evolve over time.

    I tried color all of the table 'Cell' and then 'Fill', and then clicked on the box of the alternating line colors, but the color stays the same in every other row according to the shade was selected in the option ' Cell ' / ' fill ', regardless of me dirty around with the shade etc.!

    Of course possible to choose what color I want when you select the line alternating color option, but is it possible to choose what color goes in the other lines?

    Thank you

    Graeme

    the background color of cell goes too spare line color.

    The only way I could achieve this goal is to leave the the cell fill color 'NONE' then turn the color of line replacing in table formatter then add a rectangle filled with the color I want and place it behind the table.

    Like this:

    Select the green rectangle, put in the background by using the menu item "organize > background.

    Now drag the rectangle behind the table:

  • How to change the color of the elements of a digital picture (separately) programmatically by using the property node?

    For example, I have 3 digital controls, controlling 3 digital array elements (digital control is connected directly to the indicator). So if I change value in digital control 1, then the table item # 1 of the digital table should blush when the value is greater than 5. Similarly when I change NUM controls 2 item 2 of the table should turn red when the value control num 1 exceeds 10. Similarly for the 3rd element. In other words, I want to control the ownership of the elements of the array individually through the digital command separated.

    I did it for unique digital indicator.i.e. When I change the values of the control, then a single digital indicator changes color (text digital property BG) and with table values, changes the color of the entire table, but I want to change the color of the singles of the table element.

    Please help thanks.

    I hope you do well! You cannot change the properties of elements of an array. What you could do instead is probably using a table where you can change the background color of a cell?

  • Expanded tables

    I've created tables and I have Dreamweaver cs6 and I can't find the expanded tables mode button.

    To change in Mode of extended Tables of the Design view, right-click in the table, and then choose table > expanded Tables Mode

    The Live view, you can edit tables much more easily in the latest versions of...
    1. turn the table highlight

    2. click the 3 horizontal bar to the left of the word "table" in the light blue tab that appears

    3. highlight cells and right click for the editing options in a pop-up

  • Expanded Tables mode?

    I try to enter the expanded Tables Mode, but when I click to view the context menu table I do not get the option to select. Am I missing something?

    Turn off Live View if it is active.

  • Cannot extend the color of the body/behind a table

    I need the body height to be extended to encompass the two tables. I expanded the first table to put an additional image down. That has worked, but then I had to compensate by changing the height of the body. When I increased the height, it moves only the second table down and the color of the body off the coast.

    nanskasolomon45 published in macromedia.dreamweaver

    > Right to Mark... I need a good base.

    Credit where it's due-> Walt.

    And I agree. I can see where my post may have been a little
    overwhelming for you right now.

    > I changed the type of the HTML 4.01 Transitional, but he always
    > does not open online.

    Now, you seem to be missing the very basic knowledge
    to change the Web sites. You must learn to crawl before you can walk, then
    You can learn to run.

    I'm not going to take very long to get the basics, but it is too
    expect from a discussion forum. Please follow the links provided and
    pick up a book or two before you get too frustrated by the task.

    --
    Mark A. Boyd
    Keep-on-Learnine :)

  • Change the color of the content area of a table

    Is there a way to change the color of the content area of a table? I want to set the table to be transparent, but I don't know how to do this.

    I'm not exactly clear on what you're trying to reach. However, I tried to adjust the table to transparent body with the Brush tool, and it's not enough. Then I did the following:

    (1) emphasize the table (i.e., border of crawling ants)

    (2) in the menu bar, select Edition > control to customize...

    (3) in the new window pop up, go to the menu bar and click on the key icon to make a pair of tweezers.

    (4) pull out control and use the Brush tool to make the body of the table and below transparent location plan.

    (5) save it as you see fit, as the Type Def or Strict Type def.

    A gross example is attached.

  • color of the table does not reset

    My table (TABLE of SUM AVG) is supposed to show entries below zero in red. He has a little problem. The first time that it works, but the second time that the color of the text will not return to black when I run again.

    He remembers the entries that were red on front. Based on my wiring below, the second time I run it, it must set the background color to the light yellow and black text, then make loops for.

    BTW, I also used a sequence flat to force this order, but that did not help.

    Hi murchak,

    What can be seen in your picture you

    -only value a "yellow light" cell background: ActiveCell = (2, 2)

    -and then you assign the first 3 lines "light green" background

    -then you set some cells, according to their value to red. (Btw. There is a special ' ")<0" function="" in="" the="" comparison="">

    There is no place where set you a black background for all cells.

    Maybe you should try ActiveCell (-2; -2) instead?

  • How programmatically change the color of the text in each cell in a table

    Assuming that if I have an array of 20 elements, table data type can be assumed for integer type string or, if it is possible to change the color of the text in a table running?

    The final result should be similar to this model: 0 to 5 in green, 6 to 10 items in orange, 11 and 19 elements in black color

    Items in a table share all properties except the 'value '. As a result, all the elements will always have the same color of the text/context...

    You can use a table instead for this purpose, but you'll have some overhead in order to create the layout you want to have (coloring, distribution, "work tables with strings, not numbers",...)

    hope this helps,

    Norbert

  • Table of standard color for the graph of the intensity

    Hi all

    I am trying to change the color table of a graph of intensity of some tables in color standard, such as 'rainbow', 'gray', 'seismic', 'waves of lava","hot metal","purple haze", etc.. I can't find not "Rainbow" and "grey" somewhere for the examples, but not others. I tried to generate these color tables myself using the example «...examples\general\graphs\intgraph.llb\Create Table.vi IntGraph color, but the result was far from good.

    Can someone teach me how to generate these color tables? Thank you in advance.

    Kind regards

    Mario

    Hi GerdW,

    I'm not sure of the exact way to do it, but I did a simple vi based on your idea. The vi to retrieve the color table I want in the table format, subject me to load the bitmap file that contains only the color scale. Some raster color table constants are included in the VI for those in need. Please see the attachments and give me your comment.

    Kind regards

    Mario

  • Change the fonts of the Table header, background color of the property node?

    Can I change the font size, color and the background color of the cell for any cell in a table, however, I can't seem to do it for the headers.   Is it possible to do this?

    have you tried to use an index of-1?

    Ben

  • How can I remove the imported tables frame color?

    Hello. I imported my Word document that has a table. Everything looks great, but when I export to PDF format, the table box is gray. I want the table to show.

    I don't want to have to re - create the entire table with text boxes, so I wonder if I can just remove the color of the frame?

    Thank you!

    You are welcome.

    Please remove your personal information when you respond by e-mail. Thank you.

Maybe you are looking for