Attention

TYPO3 v6 has reached its end-of-life April 18th, 2017 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

There is no further ELTS support. It is strongly recommended updating your project.

IMGMENU

Imagemaps are made by creating one large GIFBUILDER object based on the GIFBUILDER object ".main" and adding the properties of the GIFBUILDER objects for each item (NO, ACT, SPC... and so on).

Property

target

Data type

target

Description

Target of the menu links

Default

self

Property

forceTypeValue

Data type

integer

Description

If set, the &type parameter of the link is forced to this value regardless of target.

Property

noBlur

Data type

boolean

Description

Normally graphical links are "blurred" if the browser is MSIE. Blurring removes the ugly box around a clicked link.

If this property is set, the link is not blurred (browser-default) with "onFocus".

Note: This option and the JavaScript for blurring have been removed in TYPO3 6.0.

Property

wrap

Data type

wrap

Description

Wraps the whole image-map.

Property

params

Data type

<img>-params

Property

main

Data type

->GIFBUILDER

Description

Main configuration of the image-map! This defines the "underlay"!

Property

dWorkArea

Data type

offset + calc

Description

Main offset of the GIFBUILDER-items (also called the "distribution")

Property

[Common Item States, see above]

Data type

->IMGMENUITEM

+ .distrib

Description

This is the TMENUITEM-options for each category of menu item that can be generated.

Special:

The ->OptionSplit function is run on the whole GIFBUILDER- configuration before the items are generated.

.distrib is (x,y,v,h +calc) of the distribution of the menu items. This provides a way to space each item from the other. The codes "textX" and "textY" can be used for the width (X) and height (Y) dimension of each link.

This works by adding a WORKAREA-Gifbuilder Object between each of the IMGMENUITEM ("subset" of a GIFBUILDER object) and this work area defines where the text should be printed. As such the "x,y" defines the offset the next item will have (this should be the width of the previous in many cases!) and "v,h" defines the dimensions of the current item.

Consider this example taken from the static_template "template: MM":

NO.distrib = textX+10, 0, textX+10, textY+5

In the future TypoScript may provide better ways to position GIFBUILDER objects on the image-maps!

ImgMap is automatically used on the links! (Meaning the ".imgMap" property of the TEXT objects in the GIFBUILDER objects is set automatically, unless it is already set.)

Property

imgMapExtras

Data type

<area...>-tags

Description

Extra <area...>tags for the image-map

Property

debugRenumberedObject

Data type

boolean

Description

if set, the final GIFBUILDER object configuration is output in order for you to debug your configuration

[tsref:(cObject).HMENU.(mObj).IMGMENU]