Server, Data Center
Let's customize a set of tabs by changing the active tab's color.
- First of all, create a set of three tabs as instructed in the Creating Tabs with Composition Server.
- The first line allows you to customize a tab so it will have a border that is 2 pixels thick, is black and is also a dotted line.
The second line allows you to customize a tab so it will have a background color with a bright shade of fuchsia (
#ff0055), in case your readers are complaining they aren't able to see where certain content is.
- Click Save and you should have something that looks like this:
- Congratulations, you now have some garish looking tabs.
There are more properties available with Composition Setup for customization of tabs. Refer to the Composition Setup macro page for all available properties.
Let's create some cloaked content but change the default arrow icon with one of our own choosing.
- Create some cloaked content as instructed in the Creating Cloaked Content.
Now attach two images to the page that can be used to replace the right and down arrows used for the cloak. You may also use these following images (save them and upload them to your own server):
Now, in the Composition Setup macro that you created for the tabs above, add in these lines to the already existing lines in the macro:
(Remember to change the above image URLs to your image URLs.)
- You should now have a Composition Setup macro that looks like this:
- As documented in the Composition Setup, the first line is the property that determines what sort of toggle to display. Since we want to use our own images, we use
The second and third lines are the properties that determines what images we'll use for the
Remember to replace the two URLs with the proper location of your images.
- Click Save and you should now have something that looks like this:
Cloaking text is fun!
It sure is!