IDXINSERTHTML
From Wikanual
Contents |
insert any HTML in between content listings
Sometimes it can be desirable to separate items on a page.
INTERDUBS allows this via notes that start with the keyword:
IDXINSERTHTML
Everything after this keyword will be inserted in HTML before the actual item in the listing.
This also happens if the actual file has been hidden via the
hide file
function. In this case ONLY the HTML from IDXINSERTHTML will be on the page.
Seperation Example
A common implementation is to separate listings. For a quickReel or gallery Look#image_gallery_01 look you can for instance insert the following
IDXINSERTHTML<div style="clear: both;"> </div>
the clip that you do this to will start on a new line.
Spacing Example
A note like
IDXINSERTHTML<tr style="height: 50px;"><td> </td></tr>
would insert a 50 pixel high blank space before the item that has this note.
Use of file title in inserted HTML
In case of a hidden file you can use the title of this file in the actual note via the
IDXFILETITLE
keyword.
Example
The following example will illustrate this:
1. Upload a dummy file, like an image. For instance:You can obtain this via [http://doc01.interdubs.com/fic/dummyfileforheading.png 2. Hide it via
3. Add the following note: IDXINSERTHTML<div style="clear: both;">IDXFILETITLE</div> 4. Rename the file to what the heading should say.
You can copy this file as often as you need it. To change the displayed text of the heading simply change the title of the dummy file that you used.