Sprachauswahl modernen Optionsfeld

thehasso

Erfahrenes Mitglied
Hallo zusammen,

ich bin auf der suche nach einen modernen Optionsfeld für die Sprachauswahl. Ich bin auf http://www.muslima.com/ auf ein Sprachauswahl Feld gekommen, das mit gefällt.

Wüsste jemand wo man solch ein Skript herbekommt. Ein langweiliges html optionsfeld will ich vermeiden.


Viele Grüße
Hasso
 
klappt nicht:

HTML:
<style>
#util-int {
  z-index: 1000;
}
#util-regions {
  display: none; /* hidden by default, will be shown by jQuery */
  width: 948px;
  margin: 0 auto;
  height: 60px;
  position: relative;
}
#placeholder-regions {
  background: #666;
}
</style>
<script type='javascript'>
// scroll the page to display the international section
$('#util-int').toggle(function() {
  $("#util-regions").remove().prependTo("#placeholder-regions").slideToggle('swing');
}, function() {
  $("#util-regions").slideToggle('swing');
});
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
</head>

<body>
<div id="placeholder-regions"></div>
<div id="container">
  <ul id="utilities">
    <li><a href="#">Utility Link One</a></li>
    <li><a href="#">Utility Link Two</a></li>
    <li id="util-int"><a href="#">International</a>
      <div id="util-regions">
        <h4>Select Regional Site</h4>
        <ul>
          <li><a href="#">Europe</a></li>
          <li><a href="#">Australia</a></li>
          <li><a href="#">Deutchland</a></li>
        </ul>
      </div>
    </li>
  </ul>

</div>
</body>
</html>
 
Zuletzt bearbeitet von einem Moderator:
item: Bitte in Zukunft Code-Segmente in die entsprechenden Tags setzen (mindestens CODE-Tags)

item: Was geht nicht? Fehlermeldung? Fehlverhalten?
 
Hab den Iquery in den Javascript tag eingefügt, weil ich nicht wusste wie man das einbindet. Muss man den Iquery in einer Datei ablegen?
 

Neue Beiträge

Zurück