The CSS tools (III): How to create your own frequent classes

Jun 04

2010

We know how to use the “frequent classes menu”, now we’re going to learn to define them in your etiquetags.js file (or quicktags.js file if you are working in WordPress).

  1. Open the etiquetags.js file with your favorite editor.
  2. Go to line 66 and look for the text:
    //************** CLASSES(CSS) ********//
    //******Create your own frequent classes**********//
  3. The classes are defined below this text.
  4. Change the classes already defined or create new ones easily copying and pasting the code of one of them.
  5. The first parameter, name, is the class name in your CSS Style sheet
  6. The second parameter, title, is the name of the class in the frequent classes menu.
  7. Save your changes and refresh the etiquetags page. Check that your changes appear in your frequent classes menu.

Related articles:

  1. The CSS Tool (I): the CSS button
  2. The CSS tools (II): How to use the frequent classes
  3. The CSS tools (III): How to create your own frequent classes

Note:

If you are not able to watch the video try to go to “options” and choose “Play with the Java plugin” .

4 responses so far

The CSS tools (II): How to use the frequent classes

Jun 04

2010

Probably you have classes in your style sheet that you use frequently, maybe in all your posts.
The work of including them each time you need it, can make you feel bored and annoyed.
That’s why we’ve included a “frequent classes menu” to make lighter this task.
First of all, you have to define your frequent classes in the etiquetags.js file. After this step, using them is very easy:

Related articles:

  1. The CSS Tool (I): the CSS button
  2. The CSS tools (II): How to use the frequent classes
  3. The CSS tools (III): How to create your own frequent classes

Note:

If you are not able to watch the video try to go to “options” and choose “Play with the Java plugin” .

2 responses so far

Next »