TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 05:31:12 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 190
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

Language Drop Down on Helios TP

Started by soMzE, February 08, 2007, 03:19:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

soMzE

Hello Folks :)

I was playing around a little with the DropDown Menu you see on the SMF site, but i can't seem to get it right..

This is the code i use:

<form action="http://www.thelivezone.net/forum/index.php" method="post" class="smalltext" style="float: right;">
<label for="language_select" class="smalltext">Select language:</label> <select id="language_select" name="language" onchange="this.form.submit()" class="smalltext">
<option value="dutch" selected="selected"></option>
<option value="english">English</option>
<option value="spanish">Spanish</option>
<option value="Italian">Italian</option>
</select> <noscript><input type="submit" value="Go" /></noscript>
</form>


It works fine in a Snippet, but in firefox it messes all up, so now i want to add it to the Index.template.php in the helios theme (view image)



And when i select English (or any language) the forum changes to that language but in the dropdown menu it still keeps showing "Dutch" on the top. How can i edit this so it will show the language selected?

Thnx!

p.s is this the right place to ask these questions, i mean on this forum?