Jump to content

I am not sure how to change the seleted boxes into a drop down manu


Recommended Posts

Hi I have been working on this task for two days and I am at the dead end.

I have a selected boxes for currency, but I want to change them into a drop down manu.  I am so sorry to ask this question as I know it may be too easy for you.  But I really don't know how to begin.  Thankss

 

 

My tpl is as follow:

 

<script type="text/javascript" src="{$module_dir}blockcurrencies.js"></script>

<div id="currencies_block_top">

<form id="setCurrency" action="{$request_uri}" method="post">

<ul>

{foreach from=$currencies key=k item=f_currency}

<li {if $id_currency_cookie == $f_currency.id_currency}class="selected"{/if}>

<a href="javascript:setCurrency({$f_currency.id_currency});" title="{$f_currency.name}">{$f_currency.sign}</a>

</li>

{/foreach}

</ul>

<p>

<input type="hidden" name="id_currency" id="id_currency" value=""/>

<input type="hidden" name="SubmitCurrency" value="" />

{l s='Currency' mod='blockcurrencies'}

</p>

</form>

</div>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.