Announcement

Collapse
No announcement yet.

How to change 'language selector' to icons?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • How to change 'language selector' to icons?

    Hi,

    I want to change the drop down selector to two icons with links.
    Please advise me on the syntax so that it work on every page.
    from:
    Code:
     
    <select name="langid" onchange="switch_id(this, 'lang')">
        <optgroup label="Quick Language Chooser">
         <option value="1" class="" selected="selected">-- English</option>
    <option value="2" class="" >-- German</option>
        </optgroup>
       </select>
    to something like that:
    Code:
     
    <href="      x      &langid=1"><img src="flag1.gif"></a>
    <href="      x      &langid=2"><img src="flag2.gif"></a>
    Thanks
    André

  • #2
    The $languagechooserbits is set in the source code, and not in a template, so it will have <option..> tags around it. So you can't do this. At least, I couldn't figure it out.

    Comment


    • #3
      ok, so I will link the index with langID

      Thanks
      André

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎