Collapse-O-Matic – Table Test

Various ways the Collapse-O-Matic plugin may be used in conjunction with tables.

Expanding The Entire Table

This is straight forward. We simply wrap a table in an expand element:

<table>
   <tbody>
      <tr><td>One</td><td>Two</td></tr>
      <tr><td>Three</td><td>Four</td></tr>
   </tbody>
</table>
View Table
One Two
Three Four

Expanding A Row

This is a bit more tricky. Notice, what happens when we wrap to wrap a table row in a div:

<table>
   <tbody>
      <tr><td>One</td><td>Two</td></tr>
      <div style="border: 1px dotted blue">
         <tr><td>Three</td><td>Four</td></tr>
      </div>
   </tbody>
</table>
One Two
Three Four

Se how the div is rendered outside of the table? To place the div INSIDE of the table, the div needs to be wrapped in td tags like so:

<table>
   <tbody>
      <tr><td>One</td><td>Two</td></tr>
      <tr>
         <td colspan="2">
            <div style="border: 1px dotted blue">
               <table>
                  <tbody>
                     <tr><td>Three</td><td>Four</td></tr>
                  </tbody>
                </table>
            </div>
         </td>
      </tr>
   </tbody>
</table>
One Two
Three Four

Well, now the row we want to use as the target content is inside the table, but as you can see, the inner table is not matching the column layout. So what if we use the table’s TR as the collapse element:

<table>
   <tbody>
      <tr><td>One</td><td>Two</td></tr>
      <tr><td colspan="2" class="collapseomatic" id="singlerow">Trigger</td></tr>
      <tr class="collapseomatic_content" id="target-singlerow">
          <td>Three</td><td>Four</td>
      </tr>
   </tbody>
</table>
One Two
Trigger
Three Four

Perfect! This works well for expanding and collapsing a SINGLE Table Row.

Expanding Multiple Rows

Collapse-O-Matic only allows a trigger to control a single target area. One of the many features of the pro version, Collapse-Pro-Matic is the added ability to have a single trigger control multiple targets. To add extra targets to a trigger, the ID must be in the format of target[n]-id as follows:

<div id="monkey" class="collapseomatic">Trigger</div>
<div id="target1-monkey" class="collapseomatic_content">content</div>
<div id="target2-monkey" class="collapseomatic_content">content</div>

So in our example of the table, we would hook up multiple rows like so:

<table>
   <tbody>
      <tr><td>One</td><td>Two</td></tr>
      <tr><td colspan="2" class="collapseomatic" id="singlerow">Trigger</td></tr>
      <tr class="collapseomatic_content" id="target1-singlerow">
          <td>Three</td><td>Four</td>
      </tr>
      <tr class="collapseomatic_content" id="target2-singlerow">
          <td>Five</td><td>Six</td>
      </tr>
      <tr class="collapseomatic_content" id="target3-singlerow">
          <td>Seven</td><td>Eight</td>
      </tr>
   </tbody>
</table>
One Two
Trigger
Three Four
Five Six
Seven Eight

Collapse-O-Matic Snap Close Test

[expand title="The Big Lebowski" trigclass="snap-shut" rel="dude-highlander" tag="h2"]Target Content[/expand] [expand title="Walter" trigclass="snap-shut" rel="dude-highlander" tag="h2"]Target Content[/expand] [expand title="Donny" rel="dude-highlander" tag="h2"]Target Content[/expand]

The Big Lebowski

Target Content

Walter

Target Content

Donny

Target Content

Collapse-O-Matic Top & Bottom Trigger Test

This is how to place a trigger at the top and bottom of a expand element:

[expand title="Read more..." swaptitle="Read less..." id="swine"]...content...
<span class="collapseomatic colomat-close" id="bot-swine">Read less...</span>
[/expand]
Read more...
Swine frankfurter non in shoulder. Tri-tip boudin prosciutto pork ball tip elit flank. Incididunt id ex, fugiat cillum turducken andouille sirloin est.
Read less…

Dictionary test.

This is a test using twinpictures in the normal body of the content.

long text
Star Wars is an American epic space opera franchise that consists of a film series created by George Lucas. The film series has spawned a media franchise outside the film series called the Expanded Universe including books, television series, computer and video games, and comic books. These supplements to the film trilogies have resulted in significant development of the series’ fictional universe. These media kept the franchise active in the interim between the film trilogies. The franchise portrays a universe which is in a galaxy that is described as far, far away. It commonly portrays Jedi as a representation of good, in conflict with the Sith, their evil counterpart. Their weapon of choice, the lightsaber, is commonly recognized in popular culture. The fictional universe also contains many themes, especially influences of philosophy and religion.
The first film in the series was originally released on May 25, 1977, under the title Star Wars, by 20th Century Fox, and became a worldwide pop culture phenomenon, followed by two sequels, released at three-year intervals. Sixteen years after the release of the trilogy’s final film, the first in a new prequel trilogy of films was released. The three prequel films were also released at three-year intervals, with the final film released on May 19, 2005. Reactions to the original trilogy were mostly positive, with the last film being considered the weakest, while the prequel trilogy received a more mixed reaction, with most of the praise being for the final movie, according to most review aggregator websites. Some of the films in the series were also nominated for or won Academy Awards. A sequel trilogy was rumoured at one time but never materialised.
All of the main films have been a box office success, with the overall box office revenue generated by the Star Wars films (including the theatrical Star Wars: The Clone Wars) totalling $4.49 billion,[1] making it the third-highest-grossing film series,[2] behind only the Harry Potter and James Bond films. The success has also led to re-releases in theaters for the series.
click here to close
check me out
when twinpictures is used in an expand element, however, something wacky is happening. Why is this?
super sub
so twinpictures, when used in a sub-expand element, or nested element… what happens then?
click here to close

design on
a plate

 

website
design

EXAMPLES
dental practice in Berlin

website design & photographs
BACK

NEXT

dental practice in Berlin

website design & photographs

BACK

NEXT

dental practice in Berlin

website design & photographs

BACK

TOP

FAQ test

click me

Windows Server 2008

  • How do I add an “Open Command Prompt here” entry to the right-click menu in Windows 2008?
  • Problem:

    Is there anyway to add an “Open Command Prompt here” entry to the right-click menu in Windows 2008?

    Resolution:

    You don’t have to.  Simply hold the SHIFT key down before you right-click and you’ll see the “Open command window here” menu option appear on the right-click menu.

    If you want to make this more permanent to save you having to hold the SHIFT key down then you need to edit the Registry:

    1. Start Regedt32
    2. Navigate to HKEY_CLASSES_ROOT\Directory\shell\cmd
    3. Rename or delete the Extended key and hey presto it’s there all the time.
  • This is a sub expand test
  • this is some sub expand action
    Close
  • How do I install the Server Management Tools on Windows 2008?
  • Problem:

    I need to access Active Directory Users and Computers on my Windows 2008 ConfigMgr Site Server to create the various Accounts and Groups for ConfigMgr to use but when I look in the “Start” menu none of the AD Tools are there?

    Answer:

    On Windows 2008 the Admin Tools aren’t installed by default (they are now known as the “Remote Server Administration Tools” (RSAT) in Windows 2008).

    Probably the easiest way to install RSAT is through Server Manager:

    1. Load Server Manager (Start | Administrative Tools | Server Manager).
    2. Click “Features” in the left hand pane.
    3. Click “Add Features” in the middle pane.
    4. Expand the “Remote Server Administration Tools” option.
    5. Review the options and place a tick in the tick-box beside any options you want to install.NOTE: Although you can just select the “Remote Server Administration Tools” tick-box to install all options there are probably tools you don’t need.
    6. Click the “Add Required Role Services” button on the “Add Features Wizard” screen if prompted.
    7. Click “Next >”.
    8. If you had to add a role such as IIS click “Next >” on the introductory screen for the component.
    9. Select the services for the additional role you require then click “Next >”.
    10. Click “Install” on the “Confirm Installation Selections” screen once you’ve reviewed the roles, role services and/ or features that are going to be installed.The installation will proceed.
    11. Review the “Installation Results” screen for any errors.  If no errors are displayed click “Close”.

    You can also install RSAT through PowerShell or the Server Manager command line both of which are explained in the following article which also provides more information on RSAT:

    http://technet.microsoft.com/en-us/library/cc731209.aspx

    Close

Collapse-O-Matic Spacing Test

Here is some text at the top.

Star Wars
Star Wars is an American epic space opera franchise that consists of a film series created by George Lucas. The film series has spawned a media franchise outside the film series called the Expanded Universe including books, television series, computer and video games, and comic books. These supplements to the film trilogies have resulted in significant development of the series’ fictional universe. These media kept the franchise active in the interim between the film trilogies. The franchise portrays a universe which is in a galaxy that is described as far, far away. It commonly portrays Jedi as a representation of good, in conflict with the Sith, their evil counterpart. Their weapon of choice, the lightsaber, is commonly recognized in popular culture. The fictional universe also contains many themes, especially influences of philosophy and religion.
Star Wars
The first film in the series was originally released on May 25, 1977, under the title Star Wars, by 20th Century Fox, and became a worldwide pop culture phenomenon, followed by two sequels, released at three-year intervals. Sixteen years after the release of the trilogy’s final film, the first in a new prequel trilogy of films was released. The three prequel films were also released at three-year intervals, with the final film released on May 19, 2005. Reactions to the original trilogy were mostly positive, with the last film being considered the weakest, while the prequel trilogy received a more mixed reaction, with most of the praise being for the final movie, according to most review aggregator websites. Some of the films in the series were also nominated for or won Academy Awards. A sequel trilogy was rumoured at one time but never materialised.
Star Wars
Alliance to Restore the Republic vs. Galactic Empire
Star Wars
Alliance to Restore the Republic vs. Galactic Empire
Here is some text in the middle.
Expand for more information
Test
and this is some other text with a span element.
Here is some text at the bottom.