Squidoo Tips - Having a Great Looking Table Of Contents

Ranked #2,322 in Squidoo Community, #187,376 overall

Tips For Enhancing Lens Navigation

Do you need a Table of Contents? I think so.
Do you want it to look great? Probably.
If you are a Squidoo Lensmaster, would you like to find out tricks and tips specific to putting a nice TOC on your Lens? Look below.

A table of contents has many advantages. This lens explores the advantages, some of the pitfalls as well as easy ways to get a Table Of Contents made for you and ways to customize it and make it look good.

It is common to refer to a Table Of Contents with the abbreviation "TOC" so do not be surprised if you see that throughout this lens, and in lens reviews.

At a glance they enhance your sites accessibility, readability, help your SEO and can help your lens or site stand out if they are done correctly. Consider it a map or a signpost to get around your page, readable by you, by readers, reviewers and search engines.

The advice here can also apply to some degree to other websites and pages - certainly the benefits of a TOC apply across the board.

Why Use a Table Of Contents

Advantages to the Reader

The Typical Lens reader - A HummingbirdA Table Of Contents if done correctly immediately makes the content more accessible to a reader. If they want to jump to a particular piece of content in the page, they can quickly look it up and link to it, as opposed to scrolling down.

The most common type of web page reader is what is known as "The Hummingbird" - who will use a search engine like Google to look up detail on a specific subject and then link to it. They will stay on a page for moments, looking to link away, press back to the results flitting from site to site or read if they find what they are looking for. If you make it any harder than it needs to be to find the content, they will hit back and go elsewhere. If you make it easy to get to each part, they will stay and then may follow a link from you page or bookmark you for later. Following a link is great for your lensrank and may lead you to sales or other revenue generation.

The other most common type of lens reader will be a squidoo regular. They may be checking out your lensography or reviewing a lens for you. A well laid out TOC gives them at a glance information on what is on your lens, so they know what to expect. This may lead to more review comments, which is a good thing if you want a tip-top lens.

Why Use a TOC

Advantages to You

The first and most obvious one is that a Table Of Contents with links to titles inside the lens with relevant keywords will boost your lensrank and your search engine rankings. These in turn boost page views, and the revenue generation.

SEO experts often recommend links with relevant keywords in the titles, and if they link into your lens, to the right content, you will have a great lens which will look good to search engines, reviewers and readers.

The next advantage is that you can quickly see what is on the lens. While you may exclude some headings from the TOC, you will include many and now you can make sure you are not publishing with default module lenses or with irrelevant content. Both those things would harm your search engine and lens ranks.

With all these advantages, you may rush out and add one to every lens. But you should try to get it right!

Add On to make your life easier

Fulffanutta's lens workshop add on will make it easier to find links to modules - essential for doing the more advanced versions of this. I highly recommend it for any lens masters anyway.
Loading

Should a TOC be used on Most lenses?

You've heard what I have had to say on the matter, do you agree, or do you prefer to leave out a Table Of Contents?
Comments are moderated. Keep it clean please! Simple HTML is allowed.

Should most lenses use a TOC?

Loading Fetching blurbs now... please stand by

Yes - definitely because...

Inspireume says:

many of these pages are long and it helps to know whether you want to go further and if you do, how far down the module is on the page.

Psycho-Gamer says:

there shouldn't be even a question about it....all lenses need TOC....a lens is a micro blog....check anyother blog in the internet or even a site...they all have a way to navigate around....the same goes for the lenses

AdrianaCopaceanu says:

Absolutely! Gives the visitor the opportunity to go right where they need to, instead of clicking the back button when they don't see what they need at the top of your lend.

mayapearl says:

I use a TOC in all of my lenses, I think it is useful for lens visitors to get where they want to right away.

dannystaple says:

I think so, of course I would say so. It makes a lens navigable and done correctly, it is more appealing from the outset.

No - I don't think so because..

chocsie says:

i'm divided here. i know all the benefits of a TOC and i like the idea, but at the same time I feel it looks bad and takes up tons of space. i came to this lens because i wanted to see how to make it look good, but im not done reading it yet. maybe when i'm done i'll have a different opinion!

mysticmama says:

I hate the TOC module, It's too big & ugly...it ensd up looking like a big block of links and usually makes the lens much less visually pleasing, though your customized TOC is much better looking than the module normally looks, yours actually looks a lot like the "conents at a glance" that can be turned on in the intro module, which I do like...

 

Arguments and Counter-Arguments

Possible Reasons Not To Use A TOC

A TOC will take up too much space
I have heard this a number of times. The first thing is that there are many ways to style a TOC so that this is not the case.

If there are too many modules, you can exclude some from the TOC, or use major/minor heading styles to make it smaller. This may also identify areas to split off into new lenses, which are always a very good thing!

My lens is very short, I do not need a TOC

A lens that short will not have much content either. A good ranking lens or website will have plenty of content and subheadings to link to. Huge introduction modules or single large text/write is not a good strategy for SEO, Readability or Lens rank.

If you really care about the quality of your lens and the readership, there is little excuse not to make a TOC for it.

Read More On Site Optimization

Search Engine Optimization and Reader enhancements that apply to web sites and pages, also apply to Squidoo Lenses. It is worth reading up and getting some depth in this area.
Loading

Ways To Add A Table of contents

The Table of Contents Tab

Example contents at a glance- from the Secret Life Of LoTD LensThis is the simplest option, with the least control. In the workshop editor for the intro module of every lens, there is a tab for a table of contents. this has radio buttons to turn it on and off, and it does tell you that turning it on will increase clicks and revenue. This is correct, but it is not very customizable.

This option will place it directly in the intro module, and show some of the contents at a glance, with a button for the user to see more. That means that the "hummingbird" users I discussed may not see stuff at the bottom of the lens if they are too lazy to hit that "more.." button.

The option allows you to enable or disable the modules that will be shown in the TOC generated, and it will have appropriate default styling. However, you are not able to customize the style of this much, so you have little control over the output.

Another disadvantage is that this is not shown in the preview you get in the current lens workshop, so you can not see the resulting TOC until you publish the lens.

This shares an advantage with the TOC module that these links should always work, even if Squidoo make tech updates, you should not end up with invalid refs.

Ways To Add A TOC

The TOC Module

TOC module from my Halloween food lensThe TOC Module is a little customizable with a few choices of menu type, although most of the fancy ones suffer the same "more" issue. It allows you to select which modules are in and out, a title, and some Text/Write content. You can add pictures and styling if you are clever with the Text/Write area, but this is only around the list.

The list itself can not be restyled, and can not have pictures. So it is still stylistically quite limited. You can however enable/disable links in the list, so not every module has to have an appearance in this TOC.

It is shown clearly in the preview, and is still fairly simple to set up. The TOC module appears in the "Popular" modules in the "Add Modules (Shortcut!)" panel on the right of the Lensmaster workshop.

An interesting feature of this is that you can add the module multiple times, so you could do sub content tables, or use it for an "index" at the end of the lens which is just another TOC. I have used it with a sub-toc where I exclude some modules from the main TOC, and link to a Text/Write above the other TOC. TOC modules are automatically excluded from TOC content. In the other TOC I make sure I link only to the sub topic modules there.

Note that rel="nofollow" is added to these links, so they do not give great SEO opportunities that you would get by customizing your own.

Ways To Add A TOC

Making a totally customized TOC

This customised TOC is from my Simutrans vs OpenTTD LensThis is the most flexible way - just using a Text/Write and styling it all yourself. It means you can individually style each link, add stuff around the list like images and change fonts and colours or add borders and backgrounds. It means you can go for something that takes up less space than a long flat list, but showing more than the "At a glance" without the reader hitting the "more.." button.

There are slow and painful ways to harvest the links to individual modules, but the simplest is to cheat and use a TOC module to get them. I detail the process below.

This way has a maintenance cost, in that you will need to update the TOC when you add new modules or change module titles. You should also periodically check that the links still work as if Squidoo tech changes, the links may become invalid.

The Quick Way to get TOC Links

Some people use interesting ways copying/pasting individual links or looking at the anchor tags on each module title. However, there is a neat little cheat here exploiting the fact the a TOC module has all of this sorted out for you. The links in it are relative so they will work in both a preview and the actual published lens view. Even better, this TOC module supports text/write style input, so you can style anything you put in the free text area at the top of the module.

You could even take this TOC HTML and place it straight into the intro, but watch out for any stylistic interactions with the lens image.


  • First add a TOC Module.
    Adding a table of contents

  • Select the content.

  • Select view source (either in the context menu or view menu).
    Viewing the source of a Table of Contents

  • Copy the HTML from the view source.
    Selecting the source code to copy for your own TOC

  • This HTML is suitable for a text/write, or most module Intro's - edit the TOC module, paste the copied HTML into that .

  • You can now proceed to add a title to it and customize or style the list.

  • Tick all the boxes below the TOC content to prevent the titles showing up again as TOC module entries.

  • Save the TOC module.


The bonus here is that if you later add content, it will show up below your customized TOC in the TOC module, so you can then go and edit that back into your custom TOC - you are in no danger of forgetting to add something in.

Styling your Table Of Contents

The Style Used For This Lens

The first thing I did is divide the lens into some subsections with section headings in the contents. I used Unordered lists for items, highlighting the section headings


<ul>
<li> <a style="font-size: larger; href="#firstmodule">The main title</a> </li>
<li> <a href="#firstmodule">The first sub title</a> </li>
<li> <a href="#secondmodule">The second sub title</a> </li>
<li> <a href="#thirdmodule">The third sub title</a> </li>
</ul>


Which looks like:


I have made the TOC on this lens a wide style. This means that much more info can be conveyed in a smaller space. The type is a list, but by applying styles to the list, it looks like something else. This means that search engines and screen readers will get the right kind of information.

To remove the list bullets add the following to the UL elements:

style="list-style-image:none;list-style-position:outside; list-style-type:none; "


So you get:

<ul style="list-style-image:none;list-style-position:outside; list-style-type:none;">
. . .
</ul>


Which looks like:


The wide style is then made by floating two lists - one to the left, and one to the right:

<ul style="float:left; margin:0; padding:0; width:50%; list-style-image:none;list-style-position:outside; list-style-type:none;">
<li> <a style="font-size: larger; href="#firstmodule">The main title</a> </li>
...
</ul><ul style="float:right; margin:0; padding:0; width:50%; list-style-image:none;list-style-position:outside; list-style-type:none;">
<li> <a style="font-size: larger; href="#firstmodule">The main title</a> </li>
...
</ul>



Then I have also placed a border and background that makes the TOC stand out from the page a little. I have done this by wrapping the whole thing in another UL tag, which can be nested on Squidoo when P tags do not. The clear both bold tag with a no-break space at the end prevents the box rolling up into one line because of the floated stuff. If this means nothing to you - you need to read some of the lens styling guides below.




<ul style="border: 1px solid black; -moz-border-radius: 15px; -khtml-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; background: rgb(200,200,230)">
<ul style="float:left; margin:0; padding:0; width:50%; list-style-image:none;list-style-position:outside; list-style-type:none; " > <li> <a style="font-size: larger; href="#firstmodule">The main title</a> </li>
...
</ul>
<b clear="both">&nbsp;</b>
</ul>


Which looks like:


You will note there are gaps between the items, this is because newlines will be used by Squidoo to introduce BR tags. There are two methods to deal with this. The first is to run all the tags together - this makes the whole set very hard to change and makes for some ugly code. The second is to use stylesheets to chop out the extra space by halving the line height. Adding "line-height: 0.5em" to the sheet will do this - you can tweak that number as well to produce different spacing effects if you want a little space there.


<ul style="border: 1px solid black; line-height: 0.5em; -moz-border-radius: 15px; -khtml-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; background: rgb(200,200,230)">
<ul style="float:left; margin:0; padding:0; width:50%; list-style-image:none;list-style-position:outside; list-style-type:none; " > <li> <a style="font-size: larger; href="#firstmodule">The main title</a> </li>
...
</ul>
<b clear="both">&nbsp;</b>
</ul>


Which looks like:

Featured Lenses On Lens Styling

Here are some of the Lenses that I turn to, including in the creation of the TOC for this lens.
Loading

Storing images to use in a custom table of contents

Loading

Read More On CSS

If you would like to really learn CSS for styling your lenses and websites to get great looking results, you will need to read plenty. There are some really great books on the subject.
Loading

Love This Lens?

If you would like to rate this lens, then you can do so here (Squidoo members only)

This module only appears with actual data when viewed on a live lens. The favorite and lensroll options will appear on a live lens if the viewer is a member of Squidoo and logged in.

Add this to your lens »

Bookmark and share these squidoo tips

If you enjoyed reading this lens, then why not share it with your friends.

Add this to your lens »

Bookmark and Share

What are your tips for make a lens look great?

Do you have stylistic tips for adding a Table Of Contents? Any comments or feedback on this lens - or just a note to let me know what you thought?
Feel free to add them here. Comments may contain HTML, but will be moderated - keep it clean, links are allowed but shouldn't be spammy.
Relevant or personal is good!

submit

Angel Blessings

I'd like to show my appreciation for the lensmasters below for blessing this lens.

About Me

Loading

Image Sources

  • Signpost image - Freely downloadable and reusable under CC license, see link.

  • Hummingbird Image - Freely downloadable and reusable under CC license, see link.

Example Images

Used in the tutorial sections above..

New TOC module idea

17/02/10 7:03 am

Today I figured out a great way to simplify building custom TOCs using text/write modules. Before I was suggesting users add a TOC module, scoop its content, then remove it. However, the top of a TOC module behaves like a text write, so pasting it in there, and then disabling TOC items from the module means that you don't have to remove it, and new modules will show up there for you to add them. Very cool!

by

dannystaple

I have two children - a girl and a baby boy, and we live in West London, Uk. I program computers for my day job. In my spare time I build stuff, grow stuff,... more »

Feeling creative? Create a Lens!