[TYPO3-english] Clickable div button and mapping

Peter Kühnlein peter at function2form.net
Tue Feb 11 09:57:24 CET 2014


Am 11.02.2014 09:38, schrieb Brian Jensen:
> I'm trying to create a clickable div button. It is really a small text 
> area where I want the whole div to be clickable.
>
> I've tried different methods and mappings.
>
>
> <a>
> <div class="button_green">
>        <div class="button_text"></div>
>        <div class="button_green_text2"></div>     <div id="clear"></div>
> </div>
> </a>
> Mapping:
> I've selected <a> as root,
> 2 text divs as regular input and last div as link input.
>
> Input displays find in back-end but Link just don't work or appear on 
> front end div button
>
> Please help 

Hi Brian,

The a-tag obligatorily requires something like href as an attribute, cf. 
http://www.w3schools.com/tags/tag_a.asp

So, first your code isn't welformed.

What does "select <a> as root" mean?

Regards, Peter

-- 

http://function2form.net
http://peter-kuehnlein.net

"One should be careful and not say things that are likely to cause trouble at the time. [...] It is said that [...] it is better to stay at home and think of poetry."
(Hagakure)



More information about the TYPO3-english mailing list