diff options
-rw-r--r-- | common/header.inc | 1 | ||||
-rw-r--r-- | common/navigation.inc | 2 | ||||
-rw-r--r-- | lang.css | 6 | ||||
-rw-r--r-- | main.html | 3 |
4 files changed, 11 insertions, 1 deletions
diff --git a/common/header.inc b/common/header.inc index c54bba37..51f441de 100644 --- a/common/header.inc +++ b/common/header.inc @@ -8,6 +8,7 @@ <!-- Custom styles for this template --> <link href="justified-nav.css" rel="stylesheet"> + <link href="lang.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> diff --git a/common/navigation.inc b/common/navigation.inc index e12abb06..d538a4d3 100644 --- a/common/navigation.inc +++ b/common/navigation.inc @@ -1,3 +1,5 @@ + <button onclick="document.body.className='en'">english</button> + <button onclick="document.body.className='de'">deutsch</button> <div class="masthead"> <ul class="nav nav-justified"> <li class="active"><a href="/">Home</a></li> diff --git a/lang.css b/lang.css new file mode 100644 index 00000000..f0153e54 --- /dev/null +++ b/lang.css @@ -0,0 +1,6 @@ +body.en :lang(de) { + display: none; +} +body.de :lang(en) { + display: none; +} @@ -13,7 +13,8 @@ <!-- Jumbotron --> <div class="jumbotron"> <img src="images/logo.png"></img> - <h1>Finally: A currency without drawbacks!</h1> + <h1 lang="en">Finally: A currency without drawbacks!</h1> + <h1 lang="de">Endlich: Die optimale Währung ist gefunden!</h1> <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet.</p> <p><a class="btn btn-lg btn-success" href="#" role="button">Get started today</a></p> </div> |