Table of contents - alternating background colour

Hey all,
I'm trying to create a table of contents that has an alternating grey/white background for title. I have one level of headings
I worked out that you can apply alternating paragraph style groups to text blocks, but I'm not sure it's possible to do that with a table of contents.
Any ideas on how to do this would be very appreciated.
Thanks.

Peter's proposal is so simple and clever that it's a good way to play it! 
But need to play it again when update as said Ariel!
[Sample that works if max. 2 lines paras, using para rules]

Similar Messages

  • How to display smartforms table lines useing different background colour

    Hi all:
    How to display smartforms table lines useing different background colour .
    for example:
    line1:green
    line2:red
    line3:green
    line4:red
    line5:green
    line6:red
    line7:green
    line8:red
    Any help is highly appreciated!!
    启明星

    Hi,
    Create a two lines one for header and second for data in the table.
    1)In table painter we can find the pencil mark.
    2)select the pencil mark
    3)now select the line which you need to shade
    4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
    5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
    reward points if useful
    Thanks and Regards,
    Nishant

  • Alternating background colour for repeat region table

    Hey there,
    Have a table which is populated with info from a DB. I'd like
    the first row to have a background that's black and then the second
    row to have a white background and the third row to be black again.
    The repeat region behaviour has been applied, of course.
    Any way to do this in Dreamweaver?

    You do by setting the color in <TR> with a mod command
    to determine what row
    you are on. The exact code depends upon the server language
    used.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "myuill" <[email protected]> wrote in
    message
    news:e5r3bl$mva$[email protected]..
    > Hey there,
    >
    > Have a table which is populated with info from a DB. I'd
    like the first
    > row to
    > have a background that's black and then the second row
    to have a white
    > background and the third row to be black again. The
    repeat region
    > behaviour has
    > been applied, of course.
    >
    > Any way to do this in Dreamweaver?
    >

  • Dw Change table background colour from hex to rgb impossible

    If you want to change the background colour (properties) in a table from HEX to RGB, it is impossible, because the buttons are without function.
    Is this a bug? Or is this intended?

    Don't forget the A for alpha-transparency
    .your_table_rule { background-color: rgba(255,255,195,0.5); }
    Nancy O.

  • Change background colour of full screen slideshow when set to fit content proportionally

    I've signed up for a demo of Muse and must say I'm very impressed. Having used Dreamweaver in the past at Uni, often getting bogged down in code, Muse is a designers dream. I've even told some friends about it, describing it as "InDesign for web designers". The features, and tutorials on Adobes site, are fab however I'm now needing a bit of assistance.
    I'd like several images to fit the whole screen on a specific section of my Muse website, right under the navigation bar. I've noticed the easiest way to do this is create a full screen slideshow. With this option I can add one, or multiple, pictures to fade in and out - communicating various messages and selling points. By default the widget options are set to Fill Frame, which expands my graphic to completely fill the browser. Unfortunately with this selected the image loses some quality and seems to zoom in, getting cropped in the process. When changing the settings to Fit Content Proportionally everything looks great. The graphic is smack bang right under my navigation like I desire however there is also a ghastly grey box either side because the graphic is now it's original size. The grey on either side seems to be the slideshow background colour but I am unable to figure out a way to alter this - from grey to black. Please see the link for more info: https://dl.dropboxusercontent.com/u/50403221/Screen%20Shot%202014-08-14%20at%2018.00.34.pn g
    Would any fellow Musers know of a way to get round this? Or perhaps should this be an enhancement request?
    Thanks, Chris

    Hi Chris,
    Can you select the slideshow widget that you have added and check the fill color in control panel.
    Please refer to the following screenshot :
    Regards,
    Akshay

  • How to alternate background colour in table rows

    Hi,
    I have been trying to work out how to alternate the background colour for each row so that it made reading easier for people receiving the documents. Does anyone have any suggestions how this could be done?
    Thanks,
    Mark

    Please use the following code in the beginning of the loop:
    <?if@row:position() mod 2=0?>
    <xsl:attribute
    name="background-color"
    xdofo:ctx="incontext">lightgray
    </xsl:attribute>
    <?end if?>
    Thanks
    Bharat
    [email protected]

  • White text in table of contents thumbnail

    OK this has really got me stumped so I hope someone can help.
    I have written the first chapter of my new book. All the font, including section headings, is black.
    When I preview the book (on both iPad and my macbook) the thumbnail view of the table of contents has changed the text colour to white. So the text is now white on a white background and hard to read.
    I am using the latest version of ibooks 1.01 and ibooks author 2.2.
    I would be very grateful for any suggestions. This has not happened in any of my other books.
    Many Thanks
    Paul

    Mike,
    I also include overset text in my TOC that is actually off of the viewable spread. At first, it didn't work (even though I asked it to include the text). Then, I moved the field to be a few px within the viewable spread but left the text still off of the edge and it worked.
    I am doing this through Javascript with CS3.
    You may be having an entirely different problem... but I hope this helps :)
    Eric

  • White background colour in Iframe?

    Hi everyone
    I hope you are able to help me with this problem I am having:
    I am working with an Iframe, where I would like the
    background colour to be a specific colour, relating to the colour
    next to the Iframe.
    The colour sorounding the Iframe is this #E6E3D2, the
    background colour of the html-page to which I am linking in the
    Iframe is the same colour, but nonetheless, the Iframe keeps
    providing a white frame surrounding the content-html-page.
    I have tried to make the Iframe and content.html page the
    exact same width, but that just give me a vertical scroller + the
    white frame.
    This is what I mean:
    http://i439.photobucket.com/albums/qq112/GD-Klubben/Example.jpg
    Are there anyone out there, who can explane to me (in very
    slow and easily understanding phrases ;o)) how I can get rid of the
    annoying white background colour?

    No, I haven't uploaded it anywhere yet. Not before I can
    solve the problem.
    But the code to the index.html is this:
    <!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" />
    <title>Grand Danois Klubben i Danmark</title>
    <style type="text/css">
    BODY {
    SCROLLBAR-FACE-COLOR: #FFFFFF;
    SCROLLBAR-HIGHLIGHT-COLOR: #000000;
    SCROLLBAR-SHADOW-COLOR: #FFFFFF;
    SCROLLBAR-3DLIGHT-COLOR: #000000;
    SCROLLBAR-ARROW-COLOR: #6699FF;
    SCROLLBAR-TRACK-COLOR: #000000;
    SCROLLBAR-DARKSHADOW-COLOR: #990000;
    </style>
    <script type="text/javascript">
    <!--
    function DWUSER_scrollbarStyler() {
    // This is a stand in JavaScript function that interacts
    with the Dreamweaver Behavior Menu.
    // Do NOT remove this function
    //-->
    </script>
    <style type="text/css">
    <!--
    /* ScrollbarStyler - DO NOT MODIFY THIS CSS!!! */
    html,textarea{scrollbar-track-color: #C6C1A3;
    scrollbar-face-color: #C6C1A3; scrollbar-highlight-color: #C6C1A3;
    scrollbar-3dlight-color: #C6C1A3; scrollbar-shadow-color: #C6C1A3;
    scrollbar-darkshadow-color: #C6C1A3; scrollbar-arrow-color:
    #C6C1A3;}
    <!--
    body {
    background-image: url(Andet/forsidefaerdig.jpg);
    background-repeat: no-repeat;
    background-position:center;
    background-color: #C6C1A3;
    <br />
    body,td,th {
    font-family: Trebuchet MS;
    a:link {
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:hover {
    text-decoration: underline;
    color: #D32F12;
    a:active {
    text-decoration: none;
    .style16 {font-family: "Tw Cen MT Condensed", "Tw Cen MT
    Condensed Extra Bold"}
    .style17 {color: #E6E3D2}
    .style21 {
    font-family: "Tw Cen MT Condensed", "Tw Cen MT Condensed
    Extra Bold";
    color: #000000;
    .style23 {font-family: "Tw Cen MT Condensed", "Tw Cen MT
    Condensed Extra Bold"; color: #FFFFFF; }
    -->
    </style>
    </head>
    <body>
    <div align="center">
    <table width="1143" height="582">
    <tr>
    <th width="1135" height="24"
    scope="row"> </th>
    </tr>
    <tr>
    <th height="550" scope="row"><table width="1023"
    align="left">
    <tr>
    <th width="109" height="547" scope="row"><table
    width="100" cellpadding="5">
    <tr>
    <th class="style23" scope="row"><div
    align="right"></div></th>
    </tr>
    <tr>
    <th class="style23" scope="row"><div
    align="right"></div></th>
    </tr>
    <tr>
    <th class="style23" scope="row"><div
    align="right"></div></th>
    </tr>
    <tr>
    <th class="style23" scope="row"><div
    align="right"></div></th>
    </tr>
    <tr>
    <th class="style23" scope="row"><div
    align="right"></div></th>
    </tr>
    <tr>
    <th height="210" scope="row"> </th>
    </tr>
    </table>
    <p><br />
    </p>
    <p><br />
    <br />
    <br />
    </p></th>
    <td width="106"><br />
    <table width="102" align="center" cellpadding="5">
    <tr>
    <th width="86" scope="row"><div
    align="left"><span
    class="style23">Forside</span></div></th>
    </tr>
    <tr>
    <th scope="row"><div align="left"><span
    class="style21">Grand Danois</span></div></th>
    </tr>
    <tr>
    <th scope="row"><div align="left"><span
    class="style16">Klubben</span></div></th>
    </tr>
    <tr>
    <th scope="row"><div align="left"><span
    class="style16">Medlemskab</span></div></th>
    </tr>
    <tr>
    <th scope="row"><div align="left"><span
    class="style16">Hvalpe</span></div></th>
    </tr>
    <tr>
    <th scope="row"><div align="left"><span
    class="style16">Opdrættere</span></div></th>
    </tr>
    <tr>
    <th scope="row"><div align="left"><span
    class="style16">Udstilling </span></div></th>
    </tr>
    <tr>
    <th scope="row"><div align="left"><span
    class="style16">Champions</span></div></th>
    </tr>
    <tr>
    <th height="24" scope="row"><div
    align="left"><span
    class="style16">Links</span></div></th>
    </tr>
    <tr>
    <th height="32" scope="row"><div
    align="left"></div></th>
    </tr>
    </table>
    <br />
    <br />
    <br />
    <br />
    <br /></td>
    <td width="792"><div align="center">
    <br />
    <br />
    <br />
    <iframe src="Underside Grand Danois.html" width="785"
    height="495" scrolling="Auto" frameborder="0"</iframe>
    </div></td>
    </tr>
    </table></th>
    </tr>
    </table>
    </div>
    </body>
    </html>

  • Highlighting input field and  table cell column in red colour

    Hi,
           I have 4 input fields and a table in my screen. All the input fields are read only.
        I have a functionality where I have to highlight a input field with the red colour. In the sense, I have to put a thin Red border over the input field without thowing any errors or messages.
           Also, i have to highlight a particular cell in the table. i.e, i have to put Red colour border over the cell of the table for some rows only. Right now i have changed the background colour of the cell for required rows, but i need Red thin border rather than changing the entire background colour.
    Please guide me on achieving these functionalities..
    Thanks and Regards,
    -Shabir Rahim.

    Hi,
    The red thin lines border you are talking about comes from the framework during the exceptions. If this is the case then refer the following links, hope this will help you.
    [Re: Automatic message for inputfields with state=required]
    [Re: Validation of InputField]
    Well without exceptions, i dont think it will come.
    thanks & regards,
    Manoj
    Edited by: Manoj Kumar on Feb 7, 2008 12:09 PM

  • Can I create a custom table of contents and link to other .pdf files based on responses to a form?

    Hey Everyone! First post ever, so bear with me:
    I'm trying to create a streamlined method to use a form  to let myself and others add information and select certain options to put together a custom table of contents. Basically, I would like to have a form with a series of text fill and single/multiple choice options that will automatically populate a table of contents based on the selections and will link to other .pdf files that are associated with the selections. I was hoping this would be possible with a form, but I'm relatively new to the function of the software as a whole and my research came up short. Any suggestions on how to start are more than welcome, and if I wasn't quite clear enough I would be happy to elaborate.
    Thanks for your time!

    You would need to search for other PDF creation software that can accomplish what you desire.
    There are many cheaper  PDF creation alternatives other than Adobe's Acrobat Pro software.
    Also, try doing a web search under these terms to see if you can find an app/software/solution that may work for you.
    How to create table of contents in PDF files

  • How can I include, in the table of content, a title that I have put on a shape?

    Hello all,
    1. I have a table of content
    2. I have added shapes
    3. I wrote text (titles. subtitles) on the shapes
    4. They do not appear in the table of content.
    5. They only appear in the table of content if they are not on a shape.
    Pages 5.5.2
    Can you help?
    Law

    Hi Law,
    Text in a shape or a text box will not feature in the table of contents.
    To get a colour behind your titles, type them into your document (not a shape). Format as Heading or some other paragraph style the TOC will recognise.
    Select the title text and Format Panel > Text > Font > Gearwheel > Advanced Options.
    Choose Character Fill Color and choose a colour from the palette (left) or colour circle (right).
    Example Titles (all on the same page for a smaller screen shot).
    Chapter 3 (in a coloured Text Box or Shape) does not appear in the TOC:
    Hint for cheats :
    To give the titles a wider Character Fill Colour, add some Tab characters before and after.
    Regards,
    Ian.

  • Span columns problem with Table of Contents order

    Hello,
    I'm having a strange issue with headings that span columns and Table of contents order. My document has a heading paragraph in a coloured box, which is then inserted in-line into a 2-column text box. The paragraph style for the box (set to in-line) is set to span all columns, so that the 2-columned text doesn't get messed up.
    When I create a table of contents, the Heading style that is inside the coloured box is being picked up fine, but even though it is inserted before the headings below it, it is showing up after the level 2 headings, instead of before.
    I have confirmed that the insertion of the blue bar is before the text below it, as when I remove the span columns option, the TOC works as it is supposed to. Is this a bug?

    Hi there, thanks for the reply.
    The only way I could move the inline box to the left was to make a custom anchor and change the X value, this did not affect the TOC unfortunately. I also checked the location of the invisible marker indicating the location of the inline text box, and it is definitely before the heading that follows. I confirmed this by removing the span columns option for that paragraph, and the TOC displayed properly after doing that, meaning there is likely some problem with the span columns option not properly recognizing the order of content.
    Regards,

  • Adding annotations throws off Table of Contents links

    I asked this a month ago and got no responses...Help is critically needed. When annotations are added, the bookmarks seem OK on authoring machine, but once PDF is opened on another machine, everything thrown off!
    I'm involved in a paperless pilot project and am having a difficult time circumventing an issue in Preview.
    I'm re-formatting material for executive meetings from WordPerfect, Word, Excel and PowerPoint into bookmarked PDF format in Adobe Acrobat Pro X. When they are opened in Preview by senior management on MacBook Airs, the Table of Contents links everywhere correctly. However, the moment they add an annotation (in this case, notes), the table of contents is thrown one page off, regardless of their place in the document. Even after removing the note, the table of contents does not revert to the proper place. I'm assuming this occurs because the annotation throws off the markers from the imported bookmarks.
    Using Acrobat Reader on the Airs isn't an option since annotations aren't possible. We are also really trying to keep production of the PDFs limited to Acrobat Pro to ensure cross-platform compatibility of the Table of Contents.
    Has anyone else encountered these issues? Is there a potential workaround?

    A lightweight alternative to Acrobat Pro for creating table of contents for any PDF is PDFOutliner (only $5 on Mac App Store.) The TOC links generated by PDFOutliner don't have the problem you've described above. You could open your PDF in PDFOutliner and re-save it (the TOC will be rebuilt) for a quick test.
    Note: I'm the developer of PDFOutliner.
    Regards,
    Jose

  • Preview bug regarding Table of Contents and Annotations

    I'm involved in a paperless pilot project and am having a difficult time circumventing an issue in Preview.
    I'm re-formatting material for executive meetings from WordPerfect, Word, Excel and PowerPoint into bookmarked PDF format in Adobe Acrobat Pro X. When they are opened in Preview by senior management on MacBook Airs, the Table of Contents links everywhere correctly. However, the moment they add an annotation (in this case, notes), the table of contents is thrown one page off, regardless of their place in the document. Even after removing the note, the table of contents does not revert to the proper place. I'm assuming this occurs because the annotation throws off the markers from the imported bookmarks.
    Using Acrobat Reader on the Airs isn't an option since annotations aren't possible. We are also really trying to keep production of the PDFs limited to Acrobat Pro to ensure cross-platform compatibility of the Table of Contents.
    Has anyone else encountered these issues? Is there a potential workaround?

    A lightweight alternative to Acrobat Pro for creating a TOC is PDFOutliner ($5 on the Mac App Store.) Adding annotations later to the PDF does not affect the TOC generated by PDFOutliner.
    Note: I am the developer of PDFOutliner.

  • Add section titles to "table of contents".

    I am attempting to build a book from a Genealogical Generational listing that indicates the generation number at the beginning of each section. I also add that number along with the section page number at the bottom of each section. i.e. Generation 1  page  n.
    Is there any way to automatically pickup the section title to add into the "Table of Contents"?
    Using my present method, highlight the section title, click "Paragraph Style" (edit to my preference); will show only page 1 for all section beginning pages and seems unprofessional. alternatively, I could just leave out the page number somehow and attempt to "Tab" the first page of each section. Basically, what I would like is:
    "Generation 1
    Generation 2" etc.... or something similar without page numbers and the section name is the page link to the first page of that section.
    Tks
    Sparkgapper

    Hi Sparkgapper,
    Is this a Pages question? YOu are in the Numbers for Mac forum.
    From your profile, is this an iWork '09 question?
    quinn

Maybe you are looking for