This is an example of Special Characters such as umlauts and accents in a Collapse-O-Matic Shortcode:
Roll-your-own:
A Pluginoven Test Site
This is an example of Special Characters such as umlauts and accents in a Collapse-O-Matic Shortcode:
Roll-your-own:
This is a test that features a table of content from the Table of Content plugin as well as a collapse-o-matic expand element AND a collapse-commander element.
[toc wrapping=”right”]
This is the content area and it has a collapse element in it:
[expand title="This is the expand element"]...and this is the target content[/expand]
This is an expand element element from Collapse Commander:
[expand cid="1398"/]
This is a quick test of the trigpos attribute.
Normally, an expand element shortcode looks and works like this:
[expand title="trigger"]hidden content[/expand]
now we are going to add the trigpos attribute:
[expand title="trigger" trigpos="below"]hidden content[/expand]
And this works exactly the same way for collapse-pro-matic, of course.
A: This is a question we get quite often. The plugin does not work with hover. We have created custom versions for clients in the past that does this, however you really need to think through how you will deal with touch devices that do not have a ‘hover’ state.
Also, when you hover over and item, how will your user close it? On mouse HoverOut is the easy answer, but then the user can never select or click on anything in the target area.
In short, it can be done but it’s a complex interaction that needs to be well planned out.
Here is an example of a plugin we custom built for a client.
Note: Currently de-activated to test Table of Content plugin.
This is a test that features a table of content from the Table of Contents Plus plugin as well as a collapse-o-matic expand element AND a collapse-commander element.
[toc wrapping=”right”]
This is the content area and it has a collapse element in it:
[expand title="This is the expand element"]...and this is the target content[/expand]
This is an expand element element from Collapse Commander:
[expand cid="1398"/]
Way to omit weeks from the countdown:
a) Add the omitweeks=”true” attribute to your shortcode (if using a shortcode)
not working
b) tick the omitweeks box in the widget settings (if using a sidebar widget)
c) tick the omitweeks box in the T(-) Countdown Control options page.
This is a test of the changes with version 1.2.8 of Collapse-Pro-Matic.
First up: some basic improvements to Accessibility. For example, when an expand element has focus, it’s the same as if the element is being hovered over.
[expand cid="2039"/]
Alt Test
First make sure Font Awesome is installed.
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
Or use a plugin such as Font Awesome Icons to have it installed for you.
We are going to use the following two Font Awesome Arrows:
<i class="fa fa-arrow-circle-down"></i>
<i class="fa fa-arrow-circle-up"></i>
Next we want to create a new class for these arrows. We are going to use the name awesomearrows. The class definitions need look like so:
.collapseomatic.awesomearrows {
background-image: none;
}
.collapseomatic.awesomearrows:before {
font-family: FontAwesome;
content: "\f0ab";
}
.colomat-close.awesomearrows {
background-image: none;
}
.colomat-close.awesomearrows:before {
font-family: FontAwesome;
content: "\f0aa";
}
Now we need to assign the trigclass attribute our value of ‘awesomearrows’
[expand title="Trigger Text" trigclass="awesomearrows"]Target Content[/expand]
This is a test of a countdown that only launches Monday to Friday… excluding Weekends.