[TYPO3] include id= in image

Bas van der Togt b.vandertogt at profinit.com
Sat Apr 1 15:34:21 CEST 2006


thanks it works!

Christian Vetter schreef:
> Hi Bas,
> I guess the answer to your question is 'imgParams', which is a  
> params-property of the GMENU states.
> More about it at  
> http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/10/4/ 
> 
> 
> Hope this helps,
> Christian
> 
> 
> Am 01.04.2006, 11:37 Uhr, schrieb Bas van der Togt  
> <b.vandertogt at profinit.com>:
> 
>> Dear list,
>>
>> Is it possible to include an id= tag into my image file?
>> I tried it with allWrap but than the id tag is placed around the image
>> instead of into the image tag.
>>
>> This is what i want:
>> <img src="fileadmin/templates/images/img-nl.gif" id="img-nl">
>>
>> This is my code:
>>
>> # Language
>> temp.Language = HMENU
>> temp.Language.special = language
>> temp.Language.special.value = 0,1
>> temp.Language.wrap = <table border=0 cellspacing=0 cellpadding=0><tr><a
>> href=""><td><img src="fileadmin/templates/images/home.gif" alt="home"
>> border="0" id="img-home"/></a></td><td><a href=""><img alt="shop"
>> border="0" id="img-shop"
>> src="fileadmin/templates/images/shop.gif"/></a></td>|</tr></table>
>> temp.Language.1 = GMENU
>> temp.Language.1.NO {
>>    XY = 28,28
>>    #ATagParams = id="img-nl" || id="img-uk"
>>    allWrap = <td><div id="img-nl">|</div><td> || <td><div    
>> id="img-uk">|</div></td>
>>    5 = IMAGE
>>    5.file = fileadmin/templates/images/lang-nl.gif ||                
>> fileadmin/templates/images/lang-uk.gif
>>    5.width = 28
>>    5.height = 28
>> }
>>
>> temp.Language.1.RO < temp.Language.1.NO
>> temp.Language.1.RO = 1
>> temp.Language.1.RO {
>>    XY = 28,28
>>    #ATagParams = id="img-nl" || id="img-uk"
>>    allWrap = <td><div id="img-nl">|</div><td> || <td><div
>>   id="img-uk">|</div></td>
>>    5 = IMAGE
>>    5.file = fileadmin/templates/images/lang-nl-o.gif ||                
>> fileadmin/templates/images/lang-uk-o.gif
>>    5.width = 28
>>    5.height = 28
>> }
>>
>> temp.Language.1.ACT < temp.Language.1.NO
>> temp.Language.1.ACT = 1
>> temp.Language.1.ACT {
>>    XY = 28,28
>>    #ATagParams = id="img-nl" || id="img-uk"
>>    allWrap = <td><div id="img-nl">|</div><td> || <td><div      
>> id="img-uk">|</div></td>
>>    5 = IMAGE
>>    5.file = fileadmin/templates/images/lang-nl-o.gif ||                
>> fileadmin/templates/images/lang-uk-o.gif
>>    5.width = 28
>>    5.height = 28
>> }
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> 
> 
> 



More information about the TYPO3-english mailing list