[TYPO3] macina searchbox image ipv button

Rens Admiraal typo3 at ambitiondesign.nl
Thu May 10 19:16:14 CEST 2007


Nico,

Je kunt dit met Javascript in je template zetten. Bijvoorbeeld zoiets:

<img src="plaatje" onclick="document.forms['searchform'].submit()"  
alt="Zoek" />


Groetjes,
Rens

Op 10-mei-2007, om 19:10 heeft Nico Potvin het volgende geschreven:

> Hallo,
>
> een kleien vraag,
>
> ik gebruikde de macina searchbox als template voor de searchbox, maar
> hoe kan ik ipv een button om te submitten een gifje gebruiken?
>
> ik kan gewoon a tags gebruiken ipv input buitton, maar ken de exacte
> link niet om de parameter door te geven..
>
> Kan iemand me op weg helpen?
> dit is mijn huidige template:
>
> <p>
> <form action="###SEARCHPID###" method="post" name="searchform"
> id="searchform" style="margin:0px; padding:0px; ">
> 	<input name="tx_indexedsearch[sword]" type="text"
> class="searchbox_input" value="search" /><input name="tx_indexedsearch
> [submit_button]" type="submit" style="border:0" class="search_button"
> value="Submit" />
> 	<input type="hidden" name="tx_indexedsearch[_sections]" value="0" />
> 	<input type="hidden" name="tx_indexedsearch[pointer]" value="0" />
> 	<input type="hidden" name="tx_indexedsearch[ext]" value="0" />
> 	<input type="hidden" name="tx_indexedsearch[lang]"
> value="###ACTLANG###" />
> </form>
> </p>
>
>
>
> groeten
>
> Nico
> --
> Nico Potvin
>
> KAN Design
> Antwerpen - Belgium
> Phone: +32 (0)3 203 41 69
> Fax: +32 (0)3 225 14 05
> E-mail: nico.potvin at kandesign.com
> http://www.kandesign.com
>
>
>
>
> _______________________________________________
> 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